From 44adc3b4d795d521b03dcb9a0cd60d9788922e8b Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Mon, 4 Mar 2024 18:34:38 +0100 Subject: [PATCH] revert unrelated change --- sha1/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sha1/src/lib.rs b/sha1/src/lib.rs index d84b001d..32a9fce9 100644 --- a/sha1/src/lib.rs +++ b/sha1/src/lib.rs @@ -32,7 +32,6 @@ pub use compress::compress; const STATE_LEN: usize = 5; const BLOCK_SIZE: usize = ::BlockSize::USIZE; -const INITIAL_H: [u32; 5] = [0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0]; /// Core SHA-1 hasher state. #[derive(Clone)] @@ -85,7 +84,7 @@ impl Default for Sha1Core { #[inline] fn default() -> Self { Self { - h: INITIAL_H, + h: [0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0], block_len: 0, } }