Closed rozbb closed 1 year ago
This removes all uses of Scalar::[from_bits, from_bits_clamped}. Some comments inline.
Scalar::[from_bits, from_bits_clamped}
I'll update the git dependency once https://github.com/dalek-cryptography/curve25519-dalek/pull/519 drops.
@tarcieri Ok one last look. I changed all the constructors to not clamp the inputs (this is what age does). Clamping is always done when doing scalar-point multiplication.
This removes all uses of
Scalar::[from_bits, from_bits_clamped}
. Some comments inline.I'll update the git dependency once https://github.com/dalek-cryptography/curve25519-dalek/pull/519 drops.