mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +00:00
2.5 KiB
2.5 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Rust's notion of Semantic Versioning.
[Unreleased]
Added
- Add
repr-ccargo feature to facilitate FFI by conditionally addingrepr(C)attribute to point structures.
Changed
- Add
repr(transparent)attribute to Fp/Fq structures. - Omit 'infinity' field from affine coordinates structures and use (0, 0) to denote the identity points.
[0.3.0] - 2022-01-03
Added
- Support for
no-stdbuilds, via two new (default-enabled) feature flags:allocenables thepasta_curves::arithmetic::{CurveAffine, CurveExt}traits, as well as implementations of traits likegroup::WnafGroup.sqrt-tabledepends onalloc, and enables the large precomputed tables (stored on the heap) that speed up square root computation.
pasta_curves::arithmetic::SqrtRatiotrait, extendingff::PrimeFieldwith square roots of ratios. This trait is likely to be moved into theffcrate in a future release (once we're satisfied with it).
Removed
pasta_curves::arithmetic:Fieldre-export (pasta_curves::group::ff::Fieldis equivalent).FieldExt::ROOT_OF_UNITY(useff::PrimeField::root_of_unityinstead).FieldExt::{T_MINUS1_OVER2, pow_by_t_minus1_over2, get_lower_32, sqrt_alt,sqrt_ratio}(moved toSqrtRatiotrait).FieldExt::{RESCUE_ALPHA, RESCUE_INVALPHA}FieldExt::from_u64(useFrom<u64> for ff::PrimeFieldinstead).FieldExt::{from_bytes, read, to_bytes, write}(useff::PrimeField::{from_repr, to_repr}instead).FieldExt::rand(useff::Field::randominstead).CurveAffine::{read, write}(usegroup::GroupEncoding::{from_bytes, to_bytes}instead).
[0.2.1] - 2021-09-17
Changed
- The crate is now licensed as
MIT OR Apache-2.0.
[0.2.0] - 2021-09-02
Changed
- Migrated to
ff 0.11,group 0.11.
[0.1.2] - 2021-08-06
Added
- Implementation of
group::WnafGroupfor Pallas and Vesta, enabling them to be used withgroup::Wnaffor targeted performance improvements.
[0.1.1] - 2021-06-04
Added
- Implementations of
group::cofactor::{CofactorCurve, CofactorCurveAffine}for Pallas and Vesta, enabling them to be used in cofactor-aware protocols that also want to leverage the affine point representation.
[0.1.0] - 2021-06-01
Initial release!