dev(ciphers): provide implementations of KeyedHash and KeyedHashInstance for the incorrect hmac for blake2b.

This commit is contained in:
David Niehues
2025-02-11 17:32:35 +01:00
parent 760ecdc457
commit 1b0179e751

View File

@@ -28,14 +28,3 @@ where
} }
} }
} }
pub type EitherShakeOrBlake = EitherHash<32, 32, anyhow::Error, SHAKE256Core<32, 32>, Blake2bCore>;
impl Clone for EitherShakeOrBlake {
fn clone(&self) -> Self {
match self {
Self::Left(l) => Self::Left(l.clone()),
Self::Right(r) => Self::Right(r.clone()),
}
}
}