3 ms·
Looks like they've taken Too Much Crypto to heart[1] and dropped the number of rounds from Blake2B's 12 down to 7 for Blake3: https://github.com/BLAKE3-team/BL
by loeg 7y ago
Looks like they've taken Too Much Crypto to heart[1] and dropped the number of rounds from Blake2B's 12 down to 7 for Blake3:
https://github.com/BLAKE3-team/BLAKE3/blob/master/reference_impl/reference_impl.rs#L83-L95 https://github.com/BLAKE3-team/BLAKE3/blob/master/reference_...
https://github.com/BLAKE2/BLAKE2/blob/master/ref/blake2b-ref.c#L200-L211 https://github.com/BLAKE2/BLAKE2/blob/master/ref/blake2b-ref...
Which, yeah, that alone will get you a significant improvement over Blake2B. But definitely doesn't account for the huge improvement they're showing. Most of that is the ability to take advantage of AVX512 parallelism, I think. The difference will be more incremental on AVX2-only amd64 or other platforms, I think.
[1]: Well, TMC recommended 8 rounds for Blake2B and 7 for Blake2S.