VAMPIRE

eBACS: ECRYPT Benchmarking of Cryptographic Systems


ECRYPT II
General information:IntroductioneBASHeBASCeBAEADeBATSSUPERCOPXBXComputersArch
How to submit new software:Tipshashstreamaeaddhkemencryptsign
List of primitives measured:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
Measurements:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
List of subroutines:verifydecodeencodesortcorehashblocksxofscalarmult

Measurements of SHA-3 finalists on one machine: amd64; Zen 2 (860f81); 2021 AMD Ryzen 3 5300U; 4 x 2600MHz; lucienne, supercop-20240716

[Page version: 20240726 23:45:57]

eBASH (ECRYPT Benchmarking of All Submitted Hashes) is a project to measure the performance of hash functions. This page presents an excerpt of the full eBASH benchmark results. The excerpt contains SHA-2 and the SHA-3 finalists, including post-SHA-3 updates such as BLAKE2 and KangarooTwelve.

Each table row lists the first quartile of many speed measurements, the median of many speed measurements, the third quartile of many speed measurements, and the name of the primitive. Measurements with large variance are indicated in red with question marks. The symbol T: (starting with supercop-20200816) means that the SUPERCOP database at the time of benchmarking did not list constant time as a goal for this implementation. The symbol T!!! means that constant time was listed as a goal for this implementation, but that the implementation failed TIMECOP. (TIMECOP failures are not necessarily security issues; they can sometimes be resolved by, e.g., declaring that a rejection-sampling condition is safe to declassify.)

There is a separate page with more information about each hash function (and each implementation).


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%hash
2.022.022.02sha224
2.022.022.02sha256
3.263.273.29T:blake2b
3.333.413.47T:k12
4.624.644.64sha384
4.684.714.73sha512
4.894.924.94T:bblake256
4.964.975.04T:skein512256
5.005.025.07T:skein512512
5.355.365.36T:blake2s
5.375.385.39T:keccakc256treed2
5.565.615.63blake512
5.765.775.78T:blake64
5.945.955.99T:skein10241024
6.116.166.25shake128
6.606.656.66T:blake32
6.556.656.71T:skein256256
6.997.007.03T:groestl256
7.047.067.10T:keccakc448
7.147.157.17T:keccakc512treed2
7.147.177.22sha3224
7.527.587.63T:keccakc512
7.597.597.60blake256
7.657.697.73sha3256
7.617.727.74shake256
8.068.078.08T:keccak
9.929.949.96T:groestl512
10.1910.2110.23sha3384
10.2510.2610.27T:keccakc768
11.2411.2611.27T:jh256
11.2311.2711.29T:jh512
11.2411.2911.31T:jh224
11.2911.3011.33T:jh384
13.0813.0913.11T:round3jh512
13.0713.1113.17T:round3jh256
14.0514.0714.08T:keccakc1024
14.1114.1514.18sha3512
Cycles/byte for 4096 bytes
25%50%75%hash
2.062.062.06sha256
2.092.092.09sha224
3.273.283.28T:blake2b
3.583.593.62T:k12
4.864.874.87sha384
4.904.914.91sha512
5.085.085.10T:skein512256
5.125.135.15T:skein512512
5.355.355.36T:blake2s
5.515.525.52T:bblake256
5.805.825.82blake512
5.985.995.99T:blake64
6.216.216.22T:skein10241024
6.316.326.32T:keccakc256treed2
6.436.436.48shake128
6.696.746.76T:skein256256
6.776.786.79T:blake32
7.367.367.37T:groestl256
7.377.387.40T:keccakc448
7.447.447.47sha3224
7.647.647.65T:keccakc512treed2
7.737.737.73blake256
7.897.917.92T:keccakc512
7.957.957.96sha3256
7.947.977.98shake256
8.418.418.41T:keccak
10.2110.2210.23sha3384
10.2910.2910.29T:keccakc768
10.5110.5210.52T:groestl512
11.4511.4611.46T:jh256
11.4611.4611.47T:jh512
11.4611.4711.48T:jh224
11.4911.4911.49T:jh384
13.3013.3113.31T:round3jh512
13.3213.3313.35T:round3jh256
14.4314.4314.44T:keccakc1024
14.4914.4914.50sha3512
Cycles/byte for 1536 bytes
25%50%75%hash
2.132.132.13sha256
2.202.202.20sha224
3.273.273.28T:blake2b
3.903.903.96T:k12
5.195.205.20sha384
5.225.235.23sha512
5.245.265.26T:skein512256
5.295.295.31T:skein512512
5.355.355.35T:blake2s
6.146.156.17blake512
6.356.366.37T:blake64
6.496.506.51T:bblake256
6.646.646.64T:skein10241024
6.866.896.93T:skein256256
6.896.906.99shake128
6.997.017.01T:blake32
7.287.287.29T:keccakc256treed2
7.557.567.59sha3224
7.597.597.61T:keccakc448
7.907.917.98T:groestl256
7.957.957.95blake256
8.238.238.28sha3256
8.248.248.30shake256
8.298.298.29T:keccakc512
8.448.458.46T:keccakc512treed2
8.978.989.01T:keccak
10.2510.2510.26sha3384
10.3310.3410.34T:keccakc768
11.4511.4511.46T:groestl512
11.7611.7811.82T:jh256
11.7711.7911.82T:jh512
11.7711.8011.83T:jh224
11.8211.8311.84T:jh384
13.6313.6313.67T:round3jh512
13.6613.6713.70T:round3jh256
15.0215.0215.04T:keccakc1024
15.0215.0315.06sha3512
Cycles/byte for 576 bytes
25%50%75%hash
2.322.322.32sha256
2.512.512.51sha224
3.683.693.72T:blake2b
4.414.504.62T:k12
5.345.345.35T:blake2s
5.465.485.50sha512
5.625.685.70sha384
5.695.705.78T:skein512256
5.745.785.79T:skein512512
6.426.446.48blake512
6.696.696.73T:blake64
7.267.277.42T:skein256256
7.387.387.39shake128
7.527.527.54T:blake32
8.398.408.41T:skein10241024
8.548.548.55blake256
9.169.169.21sha3224
9.179.189.28shake256
9.279.289.39sha3256
9.349.349.46T:groestl256
9.359.379.39T:keccakc448
9.399.419.43T:bblake256
9.569.569.57T:keccakc512
9.589.599.60T:keccak
9.859.869.87T:keccakc256treed2
10.9510.9511.00sha3384
11.1711.1711.19T:keccakc768
12.6312.6412.68T:jh512
12.6412.6412.67T:jh384
12.6412.6512.71T:jh256
12.6512.6712.72T:jh224
13.0013.0113.02T:keccakc512treed2
13.2813.3013.31T:groestl512
14.5714.6714.72T:round3jh512
14.6814.6814.72T:round3jh256
16.3716.4116.43sha3512
16.7416.7716.78T:keccakc1024
Cycles/byte for 64 bytes
25%50%75%hash
4.664.694.70sha256
5.225.235.28T:blake2s
6.476.486.48sha224
6.947.027.22T:blake2b
11.1411.1911.28sha512
11.1211.2711.36T:skein512256
11.4811.5211.69T:skein512512
11.47?11.78?13.06?T:k12
12.3912.4512.58T:skein256256
13.1213.2713.27blake512
13.1213.3113.31sha384
13.2813.3413.62T:blake64
14.3414.4214.47T:blake32
16.1216.1916.55blake256
17.0017.0017.25sha3256
17.0617.0917.09sha3384
17.1217.1217.19sha3224
17.1617.1917.42shake256
17.2017.2017.30shake128
17.1917.7317.73sha3512
17.7517.8617.89T:keccakc768
18.3018.3418.34T:keccak
19.2519.2819.31T:keccakc448
19.4419.4819.56T:keccakc1024
20.0020.0920.12T:keccakc512
23.4123.5023.80T:jh512
23.6423.7023.80T:jh256
23.3623.7223.92T:jh224
23.5223.9524.06T:jh384
27.0027.0627.28T:round3jh512
27.1927.2027.22T:skein10241024
26.8927.2727.27T:round3jh256
27.9427.9427.94T:groestl256
39.6239.6239.69T:groestl512
44.4444.6444.84T:bblake256
59.7359.7759.94T:keccakc512treed2
59.7359.8059.91T:keccakc256treed2
Cycles/byte for 8 bytes
25%50%75%hash
24.7525.0025.25sha256
34.1236.0036.50sha224
47.6247.8848.00T:blake2s
56.6257.2557.88T:blake2b
68.3868.6268.75T:blake32
72.5072.7573.88blake256
76.5076.5076.50T:skein256256
89.0089.7590.62sha512
91.6292.1293.62T:skein512256
92.5092.5093.25T:skein512512
91.25?94.12?104.25?T:k12
105.12105.12105.12sha384
107.12108.00109.50blake512
110.00110.38113.62T:blake64
135.12135.25135.62sha3256
135.38135.38135.50sha3384
136.00136.25136.62shake256
136.38136.50137.75sha3224
137.12137.38137.38shake128
136.00137.62137.88sha3512
144.25144.50150.88T:keccakc768
154.12154.88155.12T:keccakc448
154.88155.25155.25T:keccakc1024
155.50155.62156.25T:keccak
161.12162.25162.50T:keccakc512
162.50162.50162.50T:groestl256
187.25187.25189.75T:jh256
188.38188.88192.25T:jh512
188.88189.88191.12T:jh224
192.38192.38192.38T:jh384
218.12218.38219.38T:skein10241024
219.12219.12220.75T:round3jh256
218.75219.75220.62T:round3jh512
286.25287.88289.00T:groestl512
297.75298.38299.62T:bblake256
476.38478.38479.75T:keccakc512treed2
478.25478.38479.38T:keccakc256treed2