You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Similarly, we place an empty block in `blocks[N/BLOCK_SIZE]` as in the case where the `message_size == N` then the padding bits will be written to an empty block.
130
130
letmut blocks: [MSG_BLOCK; N / BLOCK_SIZE + 1] = std::mem::zeroed();
131
131
letmut states: [STATE; N / BLOCK_SIZE + 1] = [h; N / BLOCK_SIZE + 1];
132
-
states[0] = h;
133
132
134
133
// Optimization for small messages. If the largest possible message is smaller than a block then we know that the first block is partially filled
135
134
// no matter the value of `message_size`.
136
135
//
137
-
// Note that the condition `N >= BLOCK_SIZE` is known during monomorphization so this has no runtime cost.
136
+
// Note that the condition `N >= BLOCK_SIZE` is known during monomorphization so this has no runtime cost.
0 commit comments