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 stream ciphers on one machine: amd64; Bonnell (106ca); 2010 Intel Atom N455; 1 x 1000MHz; h2atom, supercop-20240909

[Page version: 20241120 00:41:23]

eBASC (ECRYPT Benchmarking of Stream Ciphers) is a project to measure the performance of stream ciphers. This page presents benchmark results collected in eBASC:

Graphs show timings for all message lengths between 0 and 4096 bytes. The stair-step shape of a typical curve on the graphs reflects the fact that these stream ciphers handle messages in blocks, such as 64-byte blocks.

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 stream cipher and each implementation. Designers and implementors interested in submitting new stream ciphers and new implementations should read the call for submissions.


Test results

Graphs: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
3.213.213.21chacha8
3.443.443.44tango642
3.693.693.69salsa208
3.35?4.21?4.22?chacha12
4.834.834.83salsa2012
6.216.226.22chacha20
6.396.406.41T:hc128
6.466.476.48T:cryptmtv3
7.027.027.02salsa20
7.027.027.02xsalsa20
7.287.317.34T:panama
7.39?7.40?11.59?T:tpy
7.447.447.44T:trivium
7.507.507.51T:tpy6
8.268.268.26T:sosemanuk
9.069.089.09T:hc256
9.089.129.13T:snow20
12.0812.1012.16T:tpypy
12.1312.1312.13T:speck6496ctr
12.2612.2612.29T:nlsv2
12.6112.6112.62T:speck64128ctr
14.5014.5014.50T:rabbit
17.6117.6217.63T:lexv2
19.2419.2519.25T:speck128128ctr
19.3319.3319.34T:simon6496ctr
19.54?19.54?23.78?T:speck128192ctr
20.0020.0020.00T:speck128256ctr
20.4820.4920.50T:simon64128ctr
29.1329.1529.16T:aes128estream
30.0330.0630.07T:simon128128ctr
33.5633.5633.57T:simon128256ctr
45.1245.1345.15T:aes256estream
61.4161.4361.89T:ocelot1
62.0662.1662.22T:ocelot2
65.2665.6266.04T:aes128ctr
75.4975.6575.94T:aes192ctr
85.8485.9486.87T:aes256ctr
126.07128.04130.28T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
3.263.263.26chacha8
3.743.743.74salsa208
4.114.114.11tango642
4.264.264.26chacha12
4.874.874.87salsa2012
6.266.266.27chacha20
7.067.067.06salsa20
7.317.317.31xsalsa20
7.397.407.40T:cryptmtv3
7.757.757.75T:trivium
8.698.708.70T:sosemanuk
8.948.948.94T:tpy6
9.409.429.42T:snow20
9.809.819.83T:panama
10.82?10.82?13.96?T:tpy
12.2412.2412.25T:speck6496ctr
12.6612.6612.68T:nlsv2
12.7312.7312.74T:speck64128ctr
14.8714.8714.87T:rabbit
15.1815.1815.22T:tpypy
16.2416.2416.24T:hc128
18.0218.0318.03T:lexv2
19.3519.3519.35T:speck128128ctr
19.64?19.65?22.83?T:speck128192ctr
20.1120.1220.12T:speck128256ctr
20.1620.1620.17T:simon6496ctr
21.5021.5121.51T:simon64128ctr
29.2829.3029.31T:aes128estream
31.3331.3431.34T:simon128128ctr
32.9332.9432.95T:hc256
37.6437.6437.64T:simon128256ctr
45.3445.3445.35T:aes256estream
65.2765.2965.63T:ocelot1
66.0066.0766.11T:ocelot2
67.2467.4067.68T:aes128ctr
77.5577.5777.77T:aes192ctr
87.7487.7988.44T:aes256ctr
131.57131.86133.51T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
3.353.353.35chacha8
3.833.833.83salsa208
4.354.354.35chacha12
4.954.954.95salsa2012
5.235.235.23tango642
6.356.356.35chacha20
7.147.147.14salsa20
7.817.817.81xsalsa20
8.278.278.27T:trivium
9.589.589.59T:cryptmtv3
9.619.619.61T:sosemanuk
9.899.899.90T:snow20
11.3311.3411.34T:tpy6
12.4412.4412.44T:speck6496ctr
12.9312.9312.93T:speck64128ctr
13.5713.5713.57T:nlsv2
13.9713.9914.03T:panama
15.4815.4815.49T:rabbit
16.5116.5216.53T:tpy
18.7118.7218.72T:lexv2
19.5219.5219.52T:speck128128ctr
19.8219.8219.82T:speck128192ctr
20.30?20.31?25.11?T:speck128256ctr
20.3020.3220.32T:tpypy
21.5521.5521.58T:simon6496ctr
23.2023.2023.22T:simon64128ctr
29.5429.5429.54T:aes128estream
32.6232.6332.64T:hc128
33.4533.4633.46T:simon128128ctr
44.4344.4344.54T:simon128256ctr
45.6745.7445.74T:aes256estream
70.1970.7370.90T:aes128ctr
71.6971.7271.74T:ocelot1
72.5872.6072.69T:ocelot2
72.7072.7072.70T:hc256
80.7380.7781.03T:aes192ctr
90.7290.8190.89T:aes256ctr
135.03135.79138.16T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
3.593.593.59chacha8
4.154.154.15salsa208
4.614.614.61chacha12
5.165.165.16salsa2012
6.656.656.68chacha20
7.35?7.35?8.39?salsa20
8.228.228.22tango642
9.149.149.14xsalsa20
9.659.659.65T:trivium
11.2111.2111.22T:snow20
11.2711.2711.30T:cryptmtv3
12.0612.0612.06T:sosemanuk
12.7712.7712.77T:speck6496ctr
13.2813.2813.28T:speck64128ctr
15.6915.6915.69T:nlsv2
17.1217.1217.12T:rabbit
17.7217.7317.75T:tpy6
20.0520.0520.05T:speck128128ctr
20.3520.3520.35T:speck128192ctr
20.5720.5720.57T:lexv2
20.8520.8520.90T:speck128256ctr
25.09?25.12?30.14?T:panama
27.6527.6527.67T:simon6496ctr
30.2430.2430.24T:aes128estream
31.7231.7331.81T:tpy
32.76?32.76?54.48?T:simon64128ctr
34.0734.1834.19T:tpypy
46.6546.6546.65T:aes256estream
64.24?64.25?84.91?T:simon128128ctr
67.2367.2367.23T:simon128256ctr
76.3576.3876.43T:hc128
78.47?78.62?110.98?T:aes128ctr
88.8388.8488.85T:ocelot1
88.8789.0089.26T:aes192ctr
90.0490.0590.17T:ocelot2
98.7398.8198.91T:aes256ctr
156.66157.14159.70T:amastrid
178.82178.83178.84T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
5.89?5.89?7.78?chacha8
7.027.027.02salsa208
7.087.087.08chacha12
7.427.427.42salsa2012
9.459.459.45chacha20
9.619.619.61salsa20
16.8416.8416.84T:speck6496ctr
17.5217.5217.52T:speck64128ctr
25.7825.7825.78xsalsa20
25.9425.9425.94T:speck128128ctr
26.3626.3626.36T:speck128192ctr
27.0227.0227.02T:speck128256ctr
27.1627.1627.16T:trivium
28.2328.2328.34T:snow20
31.1731.1731.47T:cryptmtv3
33.0633.0633.06T:simon6496ctr
35.8835.8836.91T:simon64128ctr
37.7037.7037.70T:sosemanuk
37.7737.7737.77T:rabbit
38.83?38.83?53.55?T:aes128estream
43.5343.5343.53T:lexv2
45.9145.9146.14tango642
48.1448.1448.14T:nlsv2
51.7851.7851.78T:simon128128ctr
58.4458.4458.86T:simon128256ctr
58.9858.9858.98T:aes256estream
98.5598.7398.91T:tpy6
167.17167.30167.45T:panama
179.48181.08182.52T:aes128ctr
195.06195.50196.38T:aes192ctr
201.91202.73204.03T:aes256ctr
211.89212.08212.08T:tpypy
225.94226.44226.53T:tpy
308.17308.27308.33T:ocelot1
313.80?313.81?406.58?T:ocelot2
407.25409.34420.16T:amastrid
635.67635.78635.92T:hc128
1536.811536.811537.06T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
43.5043.5043.50T:speck64128ctr
45.5045.5045.50T:speck128256ctr
46.7546.7546.75T:speck6496ctr
48.1248.1248.12T:speck128192ctr
49.6249.6249.62T:speck128128ctr
57.7557.7557.75chacha8
67.2567.2567.25chacha12
70.00?70.00?105.50?salsa2012
86.2586.2586.25chacha20
87.5087.5087.50salsa20
95.25?95.25?121.38?T:simon6496ctr
112.75112.75112.75T:simon64128ctr
133.12133.12133.12salsa208
140.75?140.75?185.88?T:aes128estream
145.75145.75145.75T:simon128128ctr
162.75162.75162.75T:trivium
187.75187.75189.50T:simon128256ctr
200.38200.38202.75T:cryptmtv3
203.62203.62205.38T:aes256estream
216.62216.62216.62xsalsa20
218.12218.12218.12T:rabbit
220.62220.62220.62T:nlsv2
224.25224.25225.12T:snow20
227.50227.50227.50T:lexv2
295.75295.75295.75T:sosemanuk
349.50349.50349.50tango642
740.00741.25742.50T:tpy6
1053.001062.501069.50T:aes128ctr
1113.881116.501123.62T:aes256ctr
1165.121174.121185.88T:aes192ctr
1398.00?1410.00?2264.50?T:panama
1621.001621.001621.75T:tpypy
1773.251773.251775.62T:tpy
2035.122035.382037.50T:ocelot1
2076.622082.002083.88T:ocelot2
2638.122700.252718.00T:amastrid
5093.755094.625095.38T:hc128
12299.5012299.5012301.50T:hc256