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