File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
mod sha256 ;
2
2
mod sha224 ;
3
3
4
+ pub use sha224::partial_sha224_var_end ;
4
5
pub use sha224::sha224_var ;
5
6
pub use sha256::digest ;
7
+ pub use sha256::partial_sha256_var_end ;
8
+ pub use sha256::partial_sha256_var_interstitial ;
6
9
pub use sha256::sha256_var ;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ pub(crate) fn process_full_blocks<let N: u32>(
117
117
for i in 0 ..num_blocks {
118
118
let msg_start = BLOCK_SIZE * i ;
119
119
let (new_msg_block , new_msg_byte_ptr ) =
120
- // Safety: separate verification function
120
+ // Safety: separate verification function
121
121
unsafe { build_msg_block (msg , message_size , msg_start ) };
122
122
123
123
if msg_start < message_size {
@@ -515,7 +515,7 @@ pub(crate) fn finalize_sha256_blocks<let N: u32>(
515
515
let num_blocks = total_len / BLOCK_SIZE ;
516
516
let msg_start = BLOCK_SIZE * num_blocks ;
517
517
let (new_msg_block , new_msg_byte_ptr ) =
518
- // Safety: separate verification function
518
+ // Safety: separate verification function
519
519
unsafe { build_msg_block (msg , message_size , msg_start ) };
520
520
521
521
if msg_start < message_size {
You can’t perform that action at this time.
0 commit comments