2021-01-22 23:54:31 +00:00
|
|
|
# Changelog
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
|
|
and this project adheres to Rust's notion of
|
|
|
|
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
|
|
|
|
|
## [Unreleased]
|
2022-04-18 22:12:55 +00:00
|
|
|
### Added
|
|
|
|
|
- Add `repr-c` cargo feature to facilitate FFI by conditionally adding
|
|
|
|
|
`repr(C)` attribute to point structures.
|
|
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
- Add `repr(transparent)` attribute to Fp/Fq structures.
|
2022-01-03 13:57:42 +00:00
|
|
|
|
|
|
|
|
## [0.3.0] - 2022-01-03
|
2021-09-20 19:02:57 +00:00
|
|
|
### Added
|
2022-01-03 13:51:04 +00:00
|
|
|
- Support for `no-std` builds, via two new (default-enabled) feature flags:
|
|
|
|
|
- `alloc` enables the `pasta_curves::arithmetic::{CurveAffine, CurveExt}`
|
|
|
|
|
traits, as well as implementations of traits like `group::WnafGroup`.
|
|
|
|
|
- `sqrt-table` depends on `alloc`, and enables the large precomputed tables
|
|
|
|
|
(stored on the heap) that speed up square root computation.
|
2021-09-20 19:02:57 +00:00
|
|
|
- `pasta_curves::arithmetic::SqrtRatio` trait, extending `ff::PrimeField` with
|
|
|
|
|
square roots of ratios. This trait is likely to be moved into the `ff` crate
|
|
|
|
|
in a future release (once we're satisfied with it).
|
|
|
|
|
|
2021-09-20 15:46:54 +00:00
|
|
|
### Removed
|
|
|
|
|
- `pasta_curves::arithmetic`:
|
2021-09-20 18:35:44 +00:00
|
|
|
- `Field` re-export (`pasta_curves::group::ff::Field` is equivalent).
|
2021-09-20 15:46:54 +00:00
|
|
|
- `FieldExt::ROOT_OF_UNITY` (use `ff::PrimeField::root_of_unity` instead).
|
2021-09-30 12:22:15 +00:00
|
|
|
- `FieldExt::{T_MINUS1_OVER2, pow_by_t_minus1_over2, get_lower_32, sqrt_alt,`
|
|
|
|
|
`sqrt_ratio}` (moved to `SqrtRatio` trait).
|
2021-09-20 20:35:41 +00:00
|
|
|
- `FieldExt::{RESCUE_ALPHA, RESCUE_INVALPHA}`
|
2021-09-20 20:43:31 +00:00
|
|
|
- `FieldExt::from_u64` (use `From<u64> for ff::PrimeField` instead).
|
2021-09-20 21:09:45 +00:00
|
|
|
- `FieldExt::{from_bytes, read, to_bytes, write}`
|
|
|
|
|
(use `ff::PrimeField::{from_repr, to_repr}` instead).
|
2021-12-22 05:15:06 +00:00
|
|
|
- `FieldExt::rand` (use `ff::Field::random` instead).
|
2021-12-22 05:22:56 +00:00
|
|
|
- `CurveAffine::{read, write}`
|
|
|
|
|
(use `group::GroupEncoding::{from_bytes, to_bytes}` instead).
|
2021-09-17 15:37:00 +00:00
|
|
|
|
|
|
|
|
## [0.2.1] - 2021-09-17
|
2021-09-17 15:31:30 +00:00
|
|
|
### Changed
|
|
|
|
|
- The crate is now licensed as `MIT OR Apache-2.0`.
|
2021-09-02 17:37:13 +00:00
|
|
|
|
|
|
|
|
## [0.2.0] - 2021-09-02
|
2021-09-02 17:06:21 +00:00
|
|
|
### Changed
|
|
|
|
|
- Migrated to `ff 0.11`, `group 0.11`.
|
2021-06-04 17:54:09 +00:00
|
|
|
|
2021-08-06 12:29:03 +00:00
|
|
|
## [0.1.2] - 2021-08-06
|
2021-09-02 17:06:21 +00:00
|
|
|
### Added
|
2021-08-06 12:29:03 +00:00
|
|
|
- Implementation of `group::WnafGroup` for Pallas and Vesta, enabling them to be
|
|
|
|
|
used with `group::Wnaf` for targeted performance improvements.
|
|
|
|
|
|
2021-06-04 17:54:09 +00:00
|
|
|
## [0.1.1] - 2021-06-04
|
2021-09-02 17:06:21 +00:00
|
|
|
### Added
|
2021-06-03 23:44:26 +00:00
|
|
|
- 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.
|
2021-06-01 22:40:21 +00:00
|
|
|
|
|
|
|
|
## [0.1.0] - 2021-06-01
|
2021-01-22 23:54:31 +00:00
|
|
|
Initial release!
|