blake2-avx2
blake2-avx2 copied to clipboard
integration into the official repo?
Are there any plans to incorporate this version into the official BLAKE2 implementation?
I've noticed that on my system (Arch Linux, Intel i5-4590), sha1sum
is substantially faster than b2sum
, even when b2sum
is compiled directly from that repo with -march=native
. I think that's because sha1sum
is linking against OpenSSL's SHA1 implementation, which uses AVX2. Is that right?
I agree that this should happen at some point, I've just been occupied with other things..
Ideally getting all these fast implementations into OpenSSL would be the way to go, would make maintaining a separate library with its own ISA detection unnecessary.
libsodium has this code since... well... pretty much since Samuel wrote it :)