diff --git a/cipher/CHANGELOG.md b/cipher/CHANGELOG.md index f9ac2eac0..a35d5aebb 100644 --- a/cipher/CHANGELOG.md +++ b/cipher/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.5.1 (UNRELEASED) +### Fixed +- `Key:` option in the `stream_cipher_bench` macro ([#2290]) + +[#2290]: https://github.com/RustCrypto/traits/pull/2290 + ## 0.5.0 (2026-02-04) ### Added - Traits for tweakable block ciphers ([#1721]) diff --git a/cipher/src/dev/stream.rs b/cipher/src/dev/stream.rs index 55ca6e5f9..b52136314 100644 --- a/cipher/src/dev/stream.rs +++ b/cipher/src/dev/stream.rs @@ -151,8 +151,7 @@ macro_rules! stream_cipher_bench { Init: { use $crate::KeyInit; let key = test::black_box(Default::default()); - let iv = test::black_box(Default::default()); - <$cipher>::new(&key, &iv) + <$cipher>::new(&key) }; $($name $bs;)* );