Releases: 0xMiden/crypto
Releases · 0xMiden/crypto
v0.22.6
v0.22.5
v0.23.0
- Replaced
Subtreeinternal storage with bitmask layout (#784). - [BREAKING]
PartialMmr::open()now returnsOption<MmrProof>instead ofOption<MmrPath>(#787). - [BREAKING] Refactored BLAKE3 to use
Digest<N>struct, addedDigest192type alias (#811). - [BREAKING] Added validation to
PartialMmr::from_parts()andDeserializableimplementation, addedfrom_parts_unchecked()for performance-critical code (#812). - [BREAKING] Removed
hashbrowndependency andhashmapsfeature;Map/Settype aliases are now tied to thestdfeature (#813). - [BREAKING] Renamed
NodeIndex::value()toNodeIndex::position(),NodeIndex::is_value_odd()toNodeIndex::is_position_odd(), andLeafIndex::value()toLeafIndex::position()(#814). - Fixed
LargeSmtForest::truncateto remove emptied lineages fromnon_empty_histories(#818). - [BREAKING] Fixed OOMs in Merkle/SMT deserialization (#820).
- Fixed
SmtForestto remove nodes with zero reference count from store (#821). - Cross-checked RPO test vectors against the Python reference implementation after state layout change (#822).
- Fixed tuple
min_serialized_size()to exclude alignment padding, fixingBudgetedReaderrejecting valid data (#827). - Fixed possible panic in
XChaCha::decrypt_bytes_with_associated_dataand harden deserialization with fuzzing across 7 new targets (#836). - Added
Signature::from_der()for ECDSA signatures over secp256k1 (#842). - [BREAKING] Added info context field to secret box, bind IES HKDF info to a stable context string, scheme identifier, and ephemeral public key bytes. (#843).
- Use
read_from_bytes_with_budget()instead of read_from_bytes for deserialization from untrusted sources, setting the budget to the actual input byte slice length. (#846). - [BREAKING] Removed
PartialEq/Eqfor AEADSecretKeyin non-test builds, fix various hygiene issues in dealing with secret keys (#849). - Added
PublicKey::from_der()for ECDSA public keys over secp256k1 (#855). - [BREAKING] Fixed
NodeIndex::to_scalar_index()overflow at depth 64 by returningResult<u64, MerkleError>(#865). - [BREAKING] Removed
RpoRandomCoinandRpxRandomCoinand introduced a Poseidon2-basedRandomCoin(#871). - Hardened MerkleStore deserialization and fuzz coverage (#878).
- [BREAKING] Upgraded Plonky3 from 0.4.2 to 0.5.0 and replaced
p3-miden-air,p3-miden-fri, andp3-miden-proverwith the unifiedp3-miden-lifted-starkcrate. Thestarkmodule now re-exports the Lifted STARK proving system from p3-miden.