by DanielDent · 10y ago · 0 comments
(I'm unclear if this performance oddity remains true with the crypto hardware extensions being used here.)
I would expect SHA512 to be 2x faster compared to the SHA256 software version, but that is still way slower than the ARM SHA extensions accelerated version.
Intel seems to be the same way [2](2013) - i.e. looping over multiple instructions per 64 byte block.
[1] https://github.com/minio/sha256-simd/blob/master/sha256block... [2] https://software.intel.com/en-us/articles/intel-sha-extensio...
This code is such a good example of the potential value of formal verification tools for crypto primitives.
https://github.com/minio/sha256-simd#comparison-to-other-has...