diff --git a/CHANGELOG.md b/CHANGELOG.md index f2d6013d99..f5bd1db4fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,13 @@ # Changelog -## 0.9.0 +## 0.9.0 (TBD) #### Packaging - [BREAKING] The package `miden-vm` crate was renamed from `miden` to `miden-vm`. Now the package and crate names match (#1271). +#### Stdlib +- Added `init_no_padding` procedure to `std::crypto::hashes::native` (#1313). + #### VM Internals - Removed unused `find_lone_leaf()` function from the Advice Provider (#1262). - [BREAKING] Changed fields type of the `StackOutputs` struct from `Vec` to `Vec` (#1268). diff --git a/stdlib/asm/crypto/hashes/native.masm b/stdlib/asm/crypto/hashes/native.masm index 278a2da2bf..1cd8ac3355 100644 --- a/stdlib/asm/crypto/hashes/native.masm +++ b/stdlib/asm/crypto/hashes/native.masm @@ -1,3 +1,15 @@ +#! Prepares the top of the stack with the hasher initial state. +#! +#! This procedures does not handle padding, therefore, the user is expected to +#! consume an amount of data which is a multiple of the rate (2 words). +#! +#! Input: [] +#! Ouptut: [PERM, PERM, PERM, ...] +#! Cycles: 12 +export.init_no_padding + padw padw padw +end + #! Given the hasher state, returns the hash output #! #! Input: [C, B, A, ...]