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 (860f01); 2022 AMD Ryzen 5 4500U; 6 x 3600MHz; renoir, supercop-20240716

[Page version: 20240724 17:32:27]

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.012.022.02sha256
3.263.273.29T:blake2b
3.323.353.38T:k12
4.634.644.65sha384
4.694.734.75sha512
4.914.954.98T:bblake256
4.974.995.01T:skein512256
4.965.015.04T:skein512512
5.365.365.36T:blake2s
5.385.405.41T:keccakc256treed2
5.555.585.63blake512
5.785.795.80T:blake64
5.955.966.04T:skein10241024
6.096.166.22shake128
6.566.636.69T:skein256256
6.656.676.71T:blake32
7.007.017.04T:groestl256
7.017.077.08T:keccakc448
7.147.157.16T:keccakc512treed2
7.107.177.20sha3224
7.537.547.58T:keccakc512
7.597.597.60blake256
7.657.687.71sha3256
7.627.687.72shake256
8.058.068.08T:keccak
9.899.9410.03T:groestl512
10.0710.0910.11T:keccakc768
10.2110.2210.25sha3384
11.2011.2211.35T:jh224
11.1811.2311.34T:jh384
11.2411.2611.28T:jh256
11.2611.2611.28T:jh512
13.0613.0913.12T:round3jh512
13.0713.1113.12T:round3jh256
14.0414.0514.07T:keccakc1024
14.1714.2314.28sha3512
Cycles/byte for 4096 bytes
25%50%75%hash
2.062.062.06sha256
2.092.092.09sha224
3.273.273.28T:blake2b
3.583.583.58T:k12
4.864.874.87sha384
4.894.904.90sha512
5.075.085.09T:skein512256
5.115.125.13T:skein512512
5.365.365.36T:blake2s
5.515.535.54T:bblake256
5.795.805.82blake512
6.016.016.01T:blake64
6.216.226.25T:skein10241024
6.326.336.33T:keccakc256treed2
6.446.446.46shake128
6.706.726.74T:skein256256
6.806.806.81T:blake32
7.367.367.38T:groestl256
7.367.387.39T:keccakc448
7.447.457.46sha3224
7.647.647.65T:keccakc512treed2
7.737.737.73blake256
7.887.887.89T:keccakc512
7.947.957.96sha3256
7.957.957.97shake256
8.408.408.42T:keccak
10.1910.1910.20T:keccakc768
10.2210.2210.24sha3384
10.5010.5110.54T:groestl512
11.4311.4311.49T:jh224
11.4211.4411.48T:jh384
11.4611.4611.46T:jh256
11.4711.4711.47T:jh512
13.3013.3113.31T:round3jh512
13.3013.3113.32T:round3jh256
14.4214.4214.42T:keccakc1024
14.5014.5114.52sha3512
Cycles/byte for 1536 bytes
25%50%75%hash
2.132.132.13sha256
2.202.202.20sha224
3.273.283.29T:blake2b
3.953.963.97T:k12
5.185.195.19sha384
5.185.195.20sha512
5.235.245.25T:skein512256
5.295.305.31T:skein512512
5.355.355.36T:blake2s
6.126.146.16blake512
6.386.396.39T:blake64
6.516.526.55T:bblake256
6.626.626.65T:skein10241024
6.896.896.99shake128
6.866.946.99T:skein256256
6.997.017.03T:blake32
7.297.297.30T:keccakc256treed2
7.587.597.63sha3224
7.597.607.61T:keccakc448
7.897.907.94T:groestl256
7.957.957.95blake256
8.238.238.27sha3256
8.238.248.28shake256
8.288.288.29T:keccakc512
8.458.468.46T:keccakc512treed2
8.958.968.97T:keccak
10.2510.2610.27sha3384
10.3710.3710.38T:keccakc768
11.4611.4711.48T:groestl512
11.7611.7711.78T:jh256
11.7611.7911.81T:jh224
11.7611.7911.80T:jh384
11.7811.8011.81T:jh512
13.6313.6413.66T:round3jh256
13.6413.6513.68T:round3jh512
14.9414.9614.99sha3512
15.0515.0515.06T:keccakc1024
Cycles/byte for 576 bytes
25%50%75%hash
2.312.322.32sha256
2.522.522.52sha224
3.683.693.72T:blake2b
4.594.604.60T:k12
5.345.345.35T:blake2s
5.415.435.44sha512
5.655.655.65sha384
5.685.695.70T:skein512256
5.785.795.79T:skein512512
6.356.386.42blake512
6.696.726.74T:blake64
7.267.317.38T:skein256256
7.387.397.39shake128
7.537.567.56T:blake32
8.388.408.41T:skein10241024
8.548.548.54blake256
9.159.189.30sha3224
9.179.189.19shake256
9.169.279.37sha3256
9.339.349.34T:groestl256
9.329.349.55T:keccakc448
9.489.499.56T:bblake256
9.579.599.60T:keccak
9.579.669.67T:keccakc512
9.859.859.88T:keccakc256treed2
10.9210.9411.01sha3384
11.3511.4711.48T:keccakc768
12.6512.6512.65T:jh256
12.6612.6612.69T:jh224
12.6412.6712.73T:jh512
12.6512.7112.74T:jh384
13.0213.0213.04T:keccakc512treed2
13.2313.2413.26T:groestl512
14.5314.5714.61T:round3jh256
14.6314.6714.67T:round3jh512
16.3616.3616.41sha3512
16.7616.7717.07T:keccakc1024
Cycles/byte for 64 bytes
25%50%75%hash
4.674.724.75sha256
5.205.235.39T:blake2s
6.486.536.53sha224
6.927.087.36T:blake2b
10.8410.8410.91sha512
11.1711.2711.33T:skein512256
11.4811.4811.52T:skein512512
12.4512.5912.70blake512
12.6112.6112.61T:skein256256
13.1613.1613.16sha384
13.1713.1913.20T:k12
13.3413.4413.86T:blake64
14.3114.3814.38T:blake32
16.0816.1616.48blake256
16.9816.9816.98sha3256
17.0217.0517.06sha3384
17.0517.1417.17sha3512
17.1417.1417.16shake256
17.1217.1617.28sha3224
17.2017.2017.22shake128
19.1719.2819.31T:keccakc448
19.3319.3819.41T:keccakc768
18.3919.3919.39T:keccak
19.4219.5019.52T:keccakc1024
20.0320.0320.12T:keccakc512
23.4823.5623.77T:jh512
23.5223.5623.66T:jh256
23.5523.6923.72T:jh224
23.6623.7523.89T:jh384
26.8927.0627.20T:round3jh512
26.7327.0827.11T:round3jh256
27.1927.2527.31T:skein10241024
27.9427.9428.34T:groestl256
39.5039.5039.58T:groestl512
45.0545.5545.77T:bblake256
59.7059.7759.81T:keccakc512treed2
59.7559.7859.97T:keccakc256treed2
Cycles/byte for 8 bytes
25%50%75%hash
27.5027.7528.00sha256
33.7533.7533.75sha224
47.5047.6247.75T:blake2s
56.6256.7557.38T:blake2b
68.6268.7568.88T:blake32
72.5072.7573.88blake256
76.5076.5076.50T:skein256256
87.1287.1288.50sha512
88.7591.5093.62T:skein512256
92.5092.5092.88T:skein512512
104.38104.75105.88blake512
104.75104.75104.88T:k12
105.12105.12105.12sha384
110.00110.38111.00T:blake64
135.38135.38135.38sha3384
134.88135.62135.62sha3256
135.88135.88135.88sha3512
136.12136.62136.75shake256
136.62136.62137.62shake128
137.12137.12137.38sha3224
154.12154.38154.62T:keccakc448
147.88155.25155.50T:keccak
155.25155.25155.25T:keccakc1024
155.38155.50156.25T:keccakc768
161.12161.12162.12T:keccakc512
162.50162.50162.50T:groestl256
187.25187.25190.00T:jh256
189.62190.50191.75T:jh512
190.50190.50191.00T:jh224
191.25192.25194.38T:jh384
217.25218.62219.75T:round3jh256
216.88218.75220.62T:round3jh512
218.75218.88219.25T:skein10241024
287.12288.00288.75T:groestl512
298.25302.25306.12T:bblake256
476.88477.62478.25T:keccakc256treed2
477.00478.25478.25T:keccakc512treed2