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 (800f11); 2017 AMD Ryzen 3 1200; 4 x 3100MHz; rumba3, supercop-20221122

[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.012.022.02sha256
1.992.022.04sha224
3.123.193.23T:blake2b
3.813.823.83T:k12
4.844.854.88sha512
4.985.015.02T:skein512256
4.985.025.04T:skein512512
5.175.195.23T:bblake256
5.365.365.36T:blake2s
5.405.425.44T:keccakc256treed2
5.455.495.56sha384
5.495.595.70blake512
5.615.665.67T:blake64
6.566.776.79T:blake32
6.786.836.83T:skein256256
6.906.936.95T:skein10241024
6.967.007.07shake128
7.597.597.61blake256
7.37?7.69?8.25?T:groestl256
7.847.927.95T:keccakc448
8.098.208.23sha3224
8.358.418.52T:keccakc512
8.758.768.83sha3256
8.628.798.80shake256
8.958.979.00T:keccak
10.1110.1710.20T:groestl512
10.7110.7310.74T:jh224
10.7110.7310.75T:jh384
10.7610.7710.84T:jh512
9.00?10.84?14.01?T:jh256
11.5711.5911.61T:keccakc768
11.7711.8111.84T:keccakc512treed2
11.9411.9511.98sha3384
12.4712.5412.65T:round3jh512
12.7312.7512.75T:round3jh256
15.4515.4815.86T:keccakc1024
16.0516.1716.19sha3512
Cycles/byte for 4096 bytes
25%50%75%hash
2.062.062.06sha256
2.422.432.43sha224
3.163.193.21T:blake2b
4.054.054.06T:k12
5.075.085.08sha512
5.125.125.12T:skein512256
5.135.145.15T:skein512512
5.365.365.36T:blake2s
5.795.805.85blake512
5.815.815.82T:bblake256
5.855.865.87T:blake64
6.116.126.14sha384
6.406.406.40T:keccakc256treed2
6.776.846.85T:blake32
6.926.926.92T:skein256256
7.227.237.23T:skein10241024
7.357.357.38shake128
7.737.737.73blake256
8.128.168.42T:groestl256
8.188.208.22T:keccakc448
8.478.498.50sha3224
8.718.728.77T:keccakc512
9.069.069.09sha3256
9.009.079.08shake256
9.319.329.32T:keccak
10.7210.7510.76T:groestl512
10.9110.9110.92T:jh384
10.9110.9110.92T:jh224
10.87?10.95?12.53?T:jh256
10.9510.9510.95T:jh512
11.6511.6611.66T:keccakc768
11.9611.9611.97sha3384
12.5712.5812.59T:keccakc512treed2
12.7412.7512.80T:round3jh512
12.9612.9612.96T:round3jh256
15.7915.8015.98T:keccakc1024
16.4416.4916.49sha3512
Cycles/byte for 1536 bytes
25%50%75%hash
2.122.132.13sha256
3.083.113.12sha224
3.193.203.22T:blake2b
4.434.444.44T:k12
5.285.285.30T:skein512256
5.355.365.36T:blake2s
5.355.395.55T:skein512512
5.425.435.45sha512
6.156.166.18blake512
6.226.246.26T:blake64
6.826.836.84T:bblake256
7.067.077.08T:blake32
7.087.097.11T:skein256256
7.157.197.24sha384
7.417.417.43T:keccakc256treed2
7.727.727.73T:skein10241024
7.887.897.95shake128
7.957.957.97blake256
8.298.308.31T:keccakc448
8.608.608.61sha3224
8.918.949.20T:groestl256
9.059.069.11T:keccakc512
9.329.389.39shake256
9.389.439.45sha3256
9.859.879.90T:keccak
11.1811.1911.26T:jh512
11.2211.2311.24T:jh384
11.2211.2311.24T:jh224
11.19?11.26?12.89?T:jh256
11.7111.7111.72T:groestl512
11.7511.7611.78T:keccakc768
11.9811.9912.00sha3384
13.1013.1513.16T:round3jh512
13.3113.3113.32T:round3jh256
13.8513.8713.89T:keccakc512treed2
16.3216.3416.60T:keccakc1024
16.9616.9817.00sha3512
Cycles/byte for 576 bytes
25%50%75%hash
2.312.312.32sha256
3.573.593.61T:blake2b
4.864.944.96sha224
4.994.995.00T:k12
5.355.355.35T:blake2s
5.775.775.78T:skein512256
6.006.016.01sha512
5.936.026.15T:skein512512
6.416.436.48blake512
6.576.586.60T:blake64
7.487.547.58T:skein256256
7.677.687.71T:blake32
8.478.508.54shake128
8.558.568.59blake256
9.379.409.54sha384
9.669.689.70T:bblake256
9.769.789.78T:skein10241024
10.0910.1210.13T:keccakc256treed2
10.1910.2010.21T:keccakc448
10.2110.2210.24T:keccakc512
10.3510.3610.36T:keccak
10.4710.4910.56sha3224
10.5010.5010.54sha3256
10.5110.5410.62shake256
10.9310.9711.23T:groestl256
12.0312.0512.06T:jh224
12.0712.0912.11T:jh384
12.0612.1012.10T:jh512
12.0912.1012.12T:jh256
12.7312.7512.76T:keccakc768
12.8812.8812.88sha3384
13.6513.6713.70T:groestl512
14.0414.1014.10T:round3jh512
14.2514.2614.28T:round3jh256
18.0018.0018.12T:keccakc1024
18.5618.6118.62sha3512
21.1921.2121.24T:keccakc512treed2
Cycles/byte for 64 bytes
25%50%75%hash
4.614.674.72sha256
5.225.255.28T:blake2s
6.816.886.91T:blake2b
11.5211.6711.70T:skein512256
13.1413.1413.17T:skein256256
12.8813.2013.86blake512
13.4513.4713.59sha512
13.5313.5513.69T:skein512512
13.6613.7213.91T:blake64
13.8013.9414.20T:k12
15.4715.5015.77T:blake32
16.4216.5216.83blake256
18.9819.0219.42T:keccakc1024
19.3019.3619.42sha3224
19.3619.4519.70sha3256
19.5019.5319.75T:keccakc448
19.4819.5520.16T:keccakc512
19.4819.6919.97shake256
19.66?19.84?21.92?sha3512
19.8019.8920.19sha3384
20.0520.2220.50shake128
21.2021.3421.69T:keccak
21.2821.3421.36T:keccakc768
22.44?22.50?25.64?T:jh256
22.4222.5622.62T:jh224
22.5022.5622.78T:jh384
22.5222.7022.80T:jh512
26.0926.0926.16T:round3jh512
26.3126.4226.50T:round3jh256
27.8928.5328.59sha224
31.9432.0032.05T:skein10241024
36.9537.3137.41T:groestl256
39.3339.8140.47sha384
41.1741.4541.77T:groestl512
44.7044.7844.94T:bblake256
61.6961.8062.11T:keccakc256treed2
96.6796.7097.03T:keccakc512treed2
Cycles/byte for 8 bytes
25%50%75%hash
24.3824.7524.75sha256
47.2547.3847.50T:blake2s
55.3855.8856.25T:blake2b
73.3874.0075.50blake256
75.6276.0076.12T:skein256256
79.3880.1280.62T:blake32
91.7592.2594.12T:skein512256
94.8895.2598.38sha512
105.12107.62108.62blake512
108.88109.00110.88T:skein512512
109.88110.50111.00T:blake64
109.75110.88111.00T:k12
153.25153.38153.62sha3256
153.50154.50154.75sha3224
154.00154.62156.12T:keccakc1024
155.00156.38156.75shake256
156.12?156.50?174.38?sha3512
156.50?156.50?181.75?T:keccakc448
155.88157.50158.62T:keccakc512
157.50157.75161.00sha3384
159.12159.12162.12shake128
169.38169.88170.88T:keccak
170.62170.62170.88T:keccakc768
181.00181.25181.38T:jh512
181.88?182.00?207.25?T:jh256
182.88183.38185.00T:jh224
182.00184.38184.88T:jh384
208.75210.12210.50T:round3jh512
212.50213.12213.25T:round3jh256
211.25215.12216.75sha224
233.12233.50235.00T:groestl256
256.25256.75257.25T:skein10241024
296.88297.12300.75T:bblake256
304.12304.88306.38T:groestl512
319.50322.00324.12sha384
492.12493.88495.00T:keccakc256treed2
774.00775.00777.25T:keccakc512treed2