Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Dec 3, 2021

Provides an impl of the ReduceNonZero trait added in RustCrypto/elliptic-curves#827, which provides a reduction from a 512-bit (64-byte) input, i.e. a "wide" reduction from an integer twice the size of the curve's order, to a Scalar which is guaranteed to be non-zero.

Based on @fjarri's work in #432

@tarcieri tarcieri requested a review from fjarri December 3, 2021 20:47
@tarcieri tarcieri force-pushed the k256/reduce-non-zero branch from 69929df to 2af0212 Compare December 3, 2021 20:51
Provides an impl of the `ReduceNonZero` trait added in
#827, which provides a reduction from a
512-bit (64-byte) input, i.e. a "wide" reduction from an integer twice
the size of the curve's order, to a `Scalar` which is guaranteed to be
non-zero.

Based on @fjarri's work in #432
@tarcieri tarcieri force-pushed the k256/reduce-non-zero branch from 2af0212 to 95d595c Compare December 3, 2021 21:13
@tarcieri tarcieri merged commit 6942b22 into master Dec 3, 2021
@tarcieri tarcieri deleted the k256/reduce-non-zero branch December 3, 2021 21:23
This was referenced Dec 14, 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.

3 participants