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

p521: switch to upstream RFC6979-based ECDSA #1016

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jan 16, 2024

Now that RustCrypto/signatures#773 and RustCrypto/signatures#774 have landed it should be possible to use the upstream RFC6979 implementation from the ecdsa crate in conjunction with p521, which uses a Digest with a 64-byte output, but uses 66-byte field elements.

This required some upstream changes to the rfc6979 crate but is now working: RustCrypto/signatures#781

Now that RustCrypto/signatures#773 and RustCrypto/signatures#774 have
landed it should be possible to use the upstream RFC6979 implementation
from the `ecdsa` crate in conjunction with `p521`, which uses a Digest
with a 64-byte output, but uses 66-byte field elements.
@tarcieri tarcieri force-pushed the p521/use-upstream-rfc6979-ecdsa branch from abb2ecb to 0adb2d0 Compare January 17, 2024 04:32
@tarcieri tarcieri changed the title [WIP] p521: switch to upstream RFC6979-based ECDSA p521: switch to upstream RFC6979-based ECDSA Jan 17, 2024
@tarcieri tarcieri marked this pull request as ready for review January 17, 2024 04:33
@tarcieri tarcieri merged commit 9fcdd71 into master Jan 17, 2024
130 checks passed
@tarcieri tarcieri deleted the p521/use-upstream-rfc6979-ecdsa branch January 17, 2024 04:41
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.

1 participant