OpenSSL Hash Benchmarks

June 10, 2022

I compiled OpenSSL 3.0.3 and then benchmarked the following cryptographic hash functions:

Note: MD5 and SHA-1 are included for reference, but both are broken and should not be used.

Test systems:

Detailed results, build scripts, and documentation are available in the companion GitHub repository.

Thinkpad X1 Carbon Results

Lenovo Thinkpad X1 Carbon (9th Gen) results.

Lenovo Thinkpad X1 Carbon (9th Gen) results.

Notes:

Raspberry Pi 4B Results

Raspberry Pi 4B results.

Raspberry Pi 4B results.

Notes:

  • BLAKE2b is clearly the fastest on the Cortex-A72.
  • BLAKE2b is faster than BLAKE2s because the former is optimized for 32-bit CPUs, and the latter is optimized for 64-bit CPUs.
  • SHA512 is faster than SHA256 because it has a slight edge on 64-bit systems.