betrusted-curve25519-dalek-.../src/backend
Michael Rosenberg f460ae149b
Make scalars always reduced (#519)
* Removed Scalar::{from_bits, from_bytes_clamped}; all constructible scalars are now reduced mod l

* Made Scalar::reduce() not pub; fixed test warning

* Added benches for scalar add/sub/mul

* Docs

* Added EdwardsPoint::mul_base_clamped and gated Scalar::from_bits behind legacy_compatibility

* Added unit test for Mul impl on unreduced Scalars

* Added Montgomery::mul_base_clamped

* Added BasepointTable::mul_base_clamped

* Removed invalid scalar arithmetic test; this functionality is no longer supported

* Made clamp_integer() const

* Updated readme and changelog

* Added BasepointTable::mul_base_clamped to tests

* Added proper deprecation notice to Scalar::from_bits; added legacy_compatibility to Makefile and docsrs flags
2023-03-28 18:12:24 -04:00
..
serial Make scalars always reduced (#519) 2023-03-28 18:12:24 -04:00
vector Fix docsrs build (#505) 2023-02-02 04:06:14 -05:00
mod.rs Use --cfg curve25519_dalek_backend to select backend (#455) 2022-12-09 03:42:52 -05:00