blake2-avx2 icon indicating copy to clipboard operation
blake2-avx2 copied to clipboard

integration into the official repo?

Open oconnor663 opened this issue 7 years ago • 2 comments

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?

oconnor663 avatar Dec 18 '17 16:12 oconnor663

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.

sneves avatar Dec 25 '17 12:12 sneves

libsodium has this code since... well... pretty much since Samuel wrote it :)

jedisct1 avatar Dec 25 '17 12:12 jedisct1