17 ms·
> (On a given architecture) Yes this is a good caveat. When I've tried the OpenSSL implementations on older ARM chips (a Raspberry Pi Zero), I've seen MD5 come
by oconnor663 6y ago
> (On a given architecture)
Yes this is a good caveat. When I've tried the OpenSSL implementations on older ARM chips (a Raspberry Pi Zero), I've seen MD5 come out on top. I'm not sure exactly why it switches.
- perihelions 6y agoI 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.