|
|
@@ -5,21 +5,33 @@ 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.1.0/),
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
|
-## [Unreleased]
|
|
|
+## [0.4.0] - 2026-11-10
|
|
|
|
|
|
### Added
|
|
|
|
|
|
-- Derive the CMZ generator `A` automatically via a RFC 9380 hash-to-group of the generator.
|
|
|
- Applications no longer need to call `cmz_group_init` at startup.
|
|
|
-- Add `CMZGroup`, `cmz_generator_a`, and curve features for the automatic
|
|
|
- derivation. Ristretto support is enabled by default; P-256 and secp256k1 are
|
|
|
- available through the `p256` and `k256` features.
|
|
|
+- Derive the CMZ generator `A` automatically via a RFC 9380
|
|
|
+ hash-to-group of the generator. Applications no longer need to call
|
|
|
+ `cmz_group_init` at startup.
|
|
|
+- Add `CMZGroup` trait, `cmz_generator_a` function, and curve features
|
|
|
+ for the automatic derivation. Ristretto support is enabled by default;
|
|
|
+ P-256 and secp256k1 are available through the `p256` and `k256`
|
|
|
+ features.
|
|
|
|
|
|
### Changes
|
|
|
|
|
|
-- CMZ credential point types must now implement
|
|
|
- `group::prime::PrimeGroup + group::GroupEncoding`, and
|
|
|
+- Depend on `sigma-compiler` 0.3.0, `rand` 0.10, `group` 0.14, `ff` 0.14
|
|
|
+- CMZ credential `Point` types must now implement
|
|
|
+ `group::prime::PrimeGroup`, `group::GroupEncoding`, and
|
|
|
`hash2group::FromHash<hash2group::rfc9380::ExpandMsgXmd<sha2::Sha512>>`.
|
|
|
+ This combination of traits is now called `CMZGroup`.
|
|
|
+- The `rng` parameter in various APIs generated by `cmz` changed from
|
|
|
+ type `&mut (impl CryptoRng + RngCore)` to type `&mut (impl CryptoRng +
|
|
|
+ Rng)` (due to the update to `rand` 0.10)
|
|
|
+
|
|
|
+## Fixes
|
|
|
+
|
|
|
+- The ability to use `cmz` simultaneously for more than one group was
|
|
|
+ broken before, and is now fixed.
|
|
|
|
|
|
## [0.3.0] - 2026-08-04
|
|
|
|
|
|
@@ -85,6 +97,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
|
|
|
- Initial release
|
|
|
|
|
|
+[0.4.0]: https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz/src/0.4.0
|
|
|
[0.3.0]: https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz/src/0.3.0
|
|
|
[0.2.1]: https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz/src/0.2.1
|
|
|
[0.2.0]: https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz/src/0.2.0
|