Skip to content

p521: switch to upstream RFC6979-based ECDSA#1016

Merged
tarcieri merged 1 commit into
masterfrom
p521/use-upstream-rfc6979-ecdsa
Jan 17, 2024
Merged

p521: switch to upstream RFC6979-based ECDSA#1016
tarcieri merged 1 commit into
masterfrom
p521/use-upstream-rfc6979-ecdsa

Conversation

@tarcieri

@tarcieri tarcieri commented Jan 16, 2024

Copy link
Copy Markdown
Member

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
@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