We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd410e8 commit 00b306aCopy full SHA for 00b306a
src/sha256.nr
@@ -163,14 +163,10 @@ pub(crate) fn process_full_blocks<let N: u32>(
163
164
blocks[num_blocks] = new_msg_block;
165
}
166
-
+
167
// verify the 0 padding is correct for the last block
168
- let final_block = blocks[first_partially_filled_block_index];
169
- verify_msg_block_zeros(
170
- final_block,
171
- message_size % BLOCK_SIZE,
172
- INT_BLOCK_SIZE,
173
- );
+ let final_block = blocks[first_partially_filled_block_index];
+ verify_msg_block_zeros(final_block, message_size % BLOCK_SIZE, INT_BLOCK_SIZE);
174
(states[first_partially_filled_block_index], final_block)
175
176
0 commit comments