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

ecdsa: make Signature::normalize_s infallible #780

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

tarcieri
Copy link
Member

Unconditionally returns a normalized signature, regardless of whether the signature was normalized to begin with.

Closes #736

Unconditionally returns a normalized signature, regardless of whether
the signature was normalized to begin with.

Closes #736
@tarcieri tarcieri force-pushed the ecdsa/infallible-normalization branch from e2e70e8 to e0870f7 Compare January 17, 2024 01:29
@tarcieri tarcieri merged commit 32edd0d into master Jan 17, 2024
8 checks passed
@tarcieri tarcieri deleted the ecdsa/infallible-normalization branch January 17, 2024 01:33
tarcieri added a commit to RustCrypto/elliptic-curves that referenced this pull request Jan 17, 2024
It's now infallible and always returns a normalized signature regardless
of if the original one was normalized or not:

RustCrypto/signatures#780
tarcieri added a commit to RustCrypto/elliptic-curves that referenced this pull request Jan 17, 2024
It's now infallible and always returns a normalized signature regardless
of if the original one was normalized or not:

RustCrypto/signatures#780
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.

ecdsa: make Signature::normalize_s() infallible
1 participant