arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
miden-crypto/CHANGELOG.md
CHANGELOG.mdRaw
  1## 0.10.0 (TBD)
  2
  3* Added more `RpoDigest` and `RpxDigest` conversions (#311).
  4* Migrated to Winterfell v0.9.0 (#315)
  5
  6## 0.9.3 (2024-04-24)
  7
  8* Added `RpxRandomCoin` struct (#307).
  9
 10## 0.9.2 (2024-04-21)
 11
 12* Implemented serialization for the `Smt` struct (#304).
 13* Fixed a bug in Falcon signature generation (#305).
 14
 15## 0.9.1 (2024-04-02)
 16
 17* Added `num_leaves()` method to `SimpleSmt` (#302).
 18
 19## 0.9.0 (2024-03-24)
 20
 21* [BREAKING] Removed deprecated re-exports from liballoc/libstd (#290).
 22* [BREAKING] Refactored RpoFalcon512 signature to work with pure Rust (#285).
 23* [BREAKING] Added `RngCore` as supertrait for `FeltRng` (#299).
 24
 25# 0.8.4 (2024-03-17)
 26
 27* Re-added unintentionally removed re-exported liballoc macros (`vec` and `format` macros).
 28
 29# 0.8.3 (2024-03-17)
 30
 31* Re-added unintentionally removed re-exported liballoc macros (#292).
 32
 33# 0.8.2 (2024-03-17)
 34
 35* Updated `no-std` approach to be in sync with winterfell v0.8.3 release (#290).
 36
 37## 0.8.1 (2024-02-21)
 38
 39* Fixed clippy warnings (#280)
 40
 41## 0.8.0 (2024-02-14)
 42
 43* Implemented the `PartialMmr` data structure (#195).
 44* Implemented RPX hash function (#201).
 45* Added `FeltRng` and `RpoRandomCoin` (#237).
 46* Accelerated RPO/RPX hash functions using AVX512 instructions (#234).
 47* Added `inner_nodes()` method to `PartialMmr` (#238).
 48* Improved `PartialMmr::apply_delta()` (#242).
 49* Refactored `SimpleSmt` struct (#245).
 50* Replaced `TieredSmt` struct with `Smt` struct (#254, #277).
 51* Updated Winterfell dependency to v0.8 (#275).
 52
 53## 0.7.1 (2023-10-10)
 54
 55* Fixed RPO Falcon signature build on Windows.
 56
 57## 0.7.0 (2023-10-05)
 58
 59* Replaced `MerklePathSet` with `PartialMerkleTree` (#165).
 60* Implemented clearing of nodes in `TieredSmt` (#173).
 61* Added ability to generate inclusion proofs for `TieredSmt` (#174).
 62* Implemented Falcon DSA (#179).
 63* Added conditional `serde`` support for various structs (#180).
 64* Implemented benchmarking for `TieredSmt` (#182).
 65* Added more leaf traversal methods for `MerkleStore` (#185).
 66* Added SVE acceleration for RPO hash function (#189).
 67
 68## 0.6.0 (2023-06-25)
 69
 70* [BREAKING] Added support for recording capabilities for `MerkleStore` (#162).
 71* [BREAKING] Refactored Merkle struct APIs to use `RpoDigest` instead of `Word` (#157).
 72* Added initial implementation of `PartialMerkleTree` (#156).
 73
 74## 0.5.0 (2023-05-26)
 75
 76* Implemented `TieredSmt` (#152, #153).
 77* Implemented ability to extract a subset of a `MerkleStore` (#151).
 78* Cleaned up `SimpleSmt` interface (#149).
 79* Decoupled hashing and padding of peaks in `Mmr` (#148).
 80* Added `inner_nodes()` to `MerkleStore` (#146).
 81
 82## 0.4.0 (2023-04-21)
 83
 84- Exported `MmrProof` from the crate (#137).
 85- Allowed merging of leaves in `MerkleStore` (#138).
 86- [BREAKING] Refactored how existing data structures are added to `MerkleStore` (#139).
 87
 88## 0.3.0 (2023-04-08)
 89
 90- Added `depth` parameter to SMT constructors in `MerkleStore` (#115).
 91- Optimized MMR peak hashing for Miden VM (#120).
 92- Added `get_leaf_depth` method to `MerkleStore` (#119).
 93- Added inner node iterators to `MerkleTree`, `SimpleSmt`, and `Mmr` (#117, #118, #121).
 94
 95## 0.2.0 (2023-03-24)
 96
 97- Implemented `Mmr` and related structs (#67).
 98- Implemented `MerkleStore` (#93, #94, #95, #107 #112).
 99- Added benchmarks for `MerkleStore` vs. other structs (#97).
100- Added Merkle path containers (#99).
101- Fixed depth handling in `MerklePathSet` (#110).
102- Updated Winterfell dependency to v0.6.
103
104## 0.1.4 (2023-02-22)
105
106- Re-export winter-crypto Hasher, Digest & ElementHasher (#72)
107
108## 0.1.3 (2023-02-20)
109
110- Updated Winterfell dependency to v0.5.1 (#68)
111
112## 0.1.2 (2023-02-17)
113
114- Fixed `Rpo256::hash` pad that was panicking on input (#44)
115- Added `MerklePath` wrapper to encapsulate Merkle opening verification and root computation (#53)
116- Added `NodeIndex` Merkle wrapper to encapsulate Merkle tree traversal and mappings (#54)
117
118## 0.1.1 (2023-02-06)
119
120- Introduced `merge_in_domain` for the RPO hash function, to allow using a specified domain value in the second capacity register when hashing two digests together.
121- Added a simple sparse Merkle tree implementation.
122- Added re-exports of Winterfell RandomCoin and RandomCoinError.
123
124## 0.1.0 (2022-12-02)
125
126- Initial release on crates.io containing the cryptographic primitives used in Miden VM and the Miden Rollup.
127- Hash module with the BLAKE3 and Rescue Prime Optimized hash functions.
128    - BLAKE3 is implemented with 256-bit, 192-bit, or 160-bit output.
129    - RPO is implemented with 256-bit output.
130- Merkle module, with a set of data structures related to Merkle trees, implemented using the RPO hash function.