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 non-mutating #355

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Sep 3, 2021

Changes the low-S normalization APIs to return Option<Self> rather than mutating Signature in-place.

This allows for more functional patterns when working with these APIs.

Changes the low-S normalization APIs to return `Option<Self>` rather
than mutating `Signature` in-place.

This allows for more functional patterns when working with these APIs.
@tarcieri tarcieri merged commit 969e9e7 into master Sep 3, 2021
@tarcieri tarcieri deleted the ecdsa/make-normalize-low-non-mutating branch September 3, 2021 01:26
tarcieri added a commit to RustCrypto/elliptic-curves that referenced this pull request Sep 3, 2021
tarcieri added a commit to RustCrypto/elliptic-curves that referenced this pull request Sep 3, 2021
@tarcieri tarcieri mentioned this pull request Nov 21, 2021
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