Skip to content

Commit

Permalink
sha2: Fix build with asm feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexagon committed Sep 6, 2021
1 parent d5a6e14 commit 16e0cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sha2/src/sha512.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ cfg_if::cfg_if! {
mod soft;
#[cfg(feature = "asm")]
mod soft {
fn compress(state: &mut [u64; 8], blocks: &[[u8; 128]]) {
pub(crate) fn compress(state: &mut [u64; 8], blocks: &[[u8; 128]]) {
sha2_asm::compress512(state, blocks);
}
}
Expand Down

0 comments on commit 16e0cba

Please sign in to comment.