From 1b0179e7510ba17f5e8f1fc47ca6a8f56e834cd3 Mon Sep 17 00:00:00 2001 From: David Niehues <7667041+DavidNiehues@users.noreply.github.com> Date: Tue, 11 Feb 2025 17:32:35 +0100 Subject: [PATCH] dev(ciphers): provide implementations of KeyedHash and KeyedHashInstance for the incorrect hmac for blake2b. --- ciphers/src/subtle/either_hash.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ciphers/src/subtle/either_hash.rs b/ciphers/src/subtle/either_hash.rs index 6539d53..9e21e5b 100644 --- a/ciphers/src/subtle/either_hash.rs +++ b/ciphers/src/subtle/either_hash.rs @@ -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()), - } - } -}