LFDT-Lockness / generic-ec

Generic elliptic curve cryptography in Rust
Apache License 2.0
2 stars 2 forks source link

Add `Scalar::is_zero` #32

Closed survived closed 4 months ago

survived commented 5 months ago

scalar.is_zero() is nicer to write than scalar == Scalar::zero()