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