Re:Linux Kernel RNG is now Blake2 instead of SHA1 and 3x faster
by oconnor663 on Thursday December 30, 2021 @09:37PM
(#29744252)
I'm not familiar with the kernel RNG specifically, but I think the hash function is only used with small inputs and outputs, and it's the stream cipher (ChaCha) that has the more performance-sensitive job of generating lots of output bytes. So the performance differences between BLAKE2s and BLAKE3 probably aren't very important here, and the fact that a BLAKE2s implementation is already in the kernel makes this an easy change.
[ Parent
| on HN ]