diff options
Diffstat (limited to 'benches')
| -rw-r--r-- | benches/leona.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/benches/leona.rs b/benches/leona.rs index fe6329e..b2d26a7 100644 --- a/benches/leona.rs +++ b/benches/leona.rs @@ -8,6 +8,7 @@ use chacha20::ChaCha20; use ctr::Ctr32BE; use hmac::Hmac; use sha2::Sha256; +use sha3::Sha3_256; use typenum::U32; use cipher::stream::StreamCipher; @@ -44,9 +45,11 @@ where fn bench(c: &mut Criterion) { inner::<ZeroIv<ChaCha20>, Blake2sMac256>(c, "chacha20", "blake2s256"); inner::<ZeroIv<ChaCha20>, KeyedHash<U32, Sha256>>(c, "chacha20", "sha256"); + inner::<ZeroIv<ChaCha20>, KeyedHash<U32, Sha3_256>>(c, "chacha20", "sha3_256"); inner::<ZeroIv<ChaCha20>, Hmac<Sha256>>(c, "chacha20", "sha256-hmac"); inner::<ZeroIv<Ctr32BE<Aes256>>, Blake2sMac256>(c, "aes256", "blake2s256"); inner::<ZeroIv<Ctr32BE<Aes256>>, KeyedHash<U32, Sha256>>(c, "aes256", "sha256"); + inner::<ZeroIv<Ctr32BE<Aes256>>, KeyedHash<U32, Sha3_256>>(c, "aes256", "sha3_256"); inner::<ZeroIv<Ctr32BE<Aes256>>, Hmac<Sha256>>(c, "aes256", "sha256-hmac"); } |
