dev(ciphers): remove keyed hash module

This commit is contained in:
David Niehues
2025-03-19 11:00:47 +01:00
committed by Jan Winkelmann (keks)
parent 38f371e3d7
commit 6f71767529
2 changed files with 0 additions and 5 deletions

View File

@@ -134,9 +134,6 @@ impl SecretHashDomain {
.keyed_hash_to(k.try_into()?, d)
.to(new_secret_key.secret_mut())?;
let mut r = SecretHashDomain(new_secret_key, hash_choice);
KeyedHash::incorrect_hmac_blake2b()
.keyed_hash_to(k.try_into()?, d)
.to(r.0.secret_mut())?;
Ok(r)
}

View File

@@ -5,8 +5,6 @@ pub mod subtle;
/// All keyed primitives in this crate use 32 byte keys
pub const KEY_LEN: usize = 32;
const_assert!(KEY_LEN == Aead::KEY_LEN);
const_assert!(KEY_LEN == XAead::KEY_LEN);
const_assert!(KEY_LEN == hash_domain::KEY_LEN);
/// Keyed hashing