chancehudson / scalarff

Simple scalars in prime fields
https://docs.rs/scalarff
0 stars 0 forks source link

Curve25519 element crashes when deserializing with leading zeroes #4

Closed chancehudson closed 2 months ago

chancehudson commented 2 months ago

e.g. Curve25519FieldElement(Scalar::from_str_vartime("000").unwrap()) fails