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