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: add SigningKey::as_nonzero_scalar/VerifyingKey::as_affine #528

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Sep 7, 2022

Adds borrowing accessors for the inner NonZeroScalar and AffinePoint within SigningKey and VerifyingKey respectively.

These mirror the corresponding inherent methods on SecretKey and PublicKey as defined in the elliptic-curve crate.

Adds borrowing accessors for the inner `NonZeroScalar` and `AffinePoint`
within `SigningKey` and `VerifyingKey` respectively.

These mirror the corresponding inherent methods on `SecretKey` and
`PublicKey` as defined in the `elliptic-curve` crate.
@tarcieri tarcieri force-pushed the ecdsa/borrowing-inner-accessors branch from 294a050 to a075d7e Compare September 7, 2022 01:32
@tarcieri tarcieri merged commit 32c6632 into master Sep 7, 2022
@tarcieri tarcieri deleted the ecdsa/borrowing-inner-accessors branch September 7, 2022 01:48
@tarcieri tarcieri mentioned this pull request Sep 7, 2022
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