Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Oct 9, 2021

The previous impl wrote 0, which violates NonZeroScalar's invariant that the inner scalar value must be non-zero.

This commit changes the impl to write 1 instead.

The previous impl wrote `0`, which violates `NonZeroScalar`'s invariant
that the inner scalar value must be non-zero.

This commit changes the impl to write `1` instead.
@tarcieri tarcieri merged commit 97fe329 into master Oct 9, 2021
@tarcieri tarcieri deleted the elliptic-curve/fix-nonzero-scalar-zeroize branch October 9, 2021 16:48
@tarcieri tarcieri mentioned this pull request Nov 20, 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.

2 participants