Skip to content

Commit

Permalink
revert unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Mar 4, 2024
1 parent 4719f44 commit 44adc3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sha1/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ pub use compress::compress;

const STATE_LEN: usize = 5;
const BLOCK_SIZE: usize = <Sha1Core as BlockSizeUser>::BlockSize::USIZE;
const INITIAL_H: [u32; 5] = [0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0];

/// Core SHA-1 hasher state.
#[derive(Clone)]
Expand Down Expand Up @@ -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,
}
}
Expand Down

0 comments on commit 44adc3b

Please sign in to comment.