Skip to content

Commit a65d55a

Browse files
committed
Rewrite BLAKE2 classes
The ParameterBlocks for BLAKE2 had undefined behavior. We relied on the compiler packing the bytes in the structure, then we used the first byte as the start of an array. This rewrite does things correctly. We don't memset the structure, and we don't treat the structure as a contiguous array.
1 parent 13bee44 commit a65d55a

File tree

4 files changed

+486
-424
lines changed

4 files changed

+486
-424
lines changed

0 commit comments

Comments
 (0)