Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ext/crypto): initial support for p521 in generateKey and importKey #21815

Merged
merged 3 commits into from
Jan 6, 2024

Conversation

littledivy
Copy link
Member

@littledivy littledivy commented Jan 5, 2024

Part 1 of a potential 3 part series. Ref #13449

The current implementation passes key material back and forth RustCrypto group of crates and ring. ring does not implement p521 yet.

This PR adds support for P521 named curve in generateKey and importKey where we use RustCrypto. Other parts should be moved over to the RustGroup group of crates for consistency and my own sanity :)

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool

@littledivy littledivy merged commit bfd5f15 into denoland:main Jan 6, 2024
14 checks passed
@littledivy littledivy deleted the p521_part1 branch January 6, 2024 11:18
bartlomieju pushed a commit that referenced this pull request Jan 12, 2024
…rtKey` (#21815)

Part 1 of a potential 3 part series. Ref #13449 

The current implementation passes key material back and forth RustCrypto
group of crates and ring. ring does not implement p521 yet.

This PR adds support for P521 named curve in `generateKey` and
`importKey` where we use RustCrypto. Other parts should be moved over to
the RustGroup group of crates for consistency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants