2 ms·
I think they're just inverted on x86 because it provides hardware acceleration for SHA-1 and SHA-2. https://en.wikipedia.org/wiki/Intel_SHA_extensions https://
by perihelions 6y ago
I think they're just inverted on x86 because it provides hardware acceleration for SHA-1 and SHA-2.
https://en.wikipedia.org/wiki/Intel_SHA_extensions https://en.wikipedia.org/wiki/Intel_SHA_extensions
https://github.com/openssl/openssl/blob/master/crypto/sha/asm/sha1-x86_64.pl#L412 https://github.com/openssl/openssl/blob/master/crypto/sha/as...
- oconnor663 6y agoI find SHA-1 to be faster than MD5 on Skylake, which does not have the SHA extensions.