All notable changes to this library will be documented in this file.
The format is based on Keep a Changelog, and this library adheres to Rust's notion of Semantic Versioning.
- MSRV is now 1.63.0.
- Migrated to
ff 0.14,rand_core 0.9. group::Group::random(rng: impl RngCore) -> Selfhas been changed toGroup::random<R: RngCore + ?Sized>(rng: &mut R) -> Self, to enable passing a trait object as the RNG.group::Group::try_from_rngis a new trait method that must be implemented by downstreams.Group::randomnow has a default implementation that calls it.
- Bumped
ffto0.13
group::{WnafBase, WnafScalar}structs for caching precomputations of both bases and scalars, for improved many-base many-scalar multiplication performance.impl memuse::DynamicUsage for group::{Wnaf WnafBase, WnafScalar}, behind the newwnaf-memusefeature flag, to enable the heap usage of these types to be measured at runtime.
- Removed temporary allocations from
Wnafinternals for improved performance.
- MSRV is now 1.56.0.
- Bumped
ffto0.12
- The affine scalar multiplication bounds on the following traits had typos that
prevented multiplying by
&Self::Scalar, which has now been fixed:group::cofactor::{CofactorCurve::Affine, CofactorCurveAffine}group::prime::{PrimeCurve::Affine, PrimeCurveAffine}
Copy + Send + Sync + 'staticbounds ongroup::GroupEncoding::Repr.
- Bumped
ffto 0.11.
group::ff, which re-exports theffcrate to make version-matching easier.
- MSRV is now 1.51.0.
- Bumped
ffto 0.10.
group::cofactor::CofactorGroup::is_torsion_freeprovided implementation (trait implementors must now implement this method themselves). This avoids a hard dependency on theff/bitsfeature flag.
- Bumped dependencies to
ff 0.9,rand_core 0.6,rand 0.8.
no_stdsupport.
- MSRV is now 1.44.0.
- Bumped
ffto 0.8. group::{wnaf, Wnaf, WnafGroup}are now gated behind the (default-enabled)allocfeature flag. Thebyteorderdependency is now optional.group::testsis now gated behind thetestsfeature flag. Therandandrand_xorshiftdependencies are now optional.
fmt::Displaybound from the following traits:group::Groupgroup::cofactor::CofactorCurveAffinegroup::prime::PrimeCurveAffine