Skip to content

Commit 00b306a

Browse files
committed
fmt
1 parent bd410e8 commit 00b306a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/sha256.nr

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,10 @@ pub(crate) fn process_full_blocks<let N: u32>(
163163

164164
blocks[num_blocks] = new_msg_block;
165165
}
166-
166+
167167
// 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-
);
168+
let final_block = blocks[first_partially_filled_block_index];
169+
verify_msg_block_zeros(final_block, message_size % BLOCK_SIZE, INT_BLOCK_SIZE);
174170
(states[first_partially_filled_block_index], final_block)
175171
}
176172

0 commit comments

Comments
 (0)