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