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 (30661); 2011 Intel Atom D2500; 2 x 1866MHz; h8atom, supercop-20241022

[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.203.213.22chacha8
3.383.433.51tango642
3.693.693.69salsa208
4.214.224.22chacha12
4.814.834.83salsa2012
5.665.665.73T:hc128
6.216.226.24chacha20
6.446.456.45T:cryptmtv3
7.027.027.07xsalsa20
7.027.027.03salsa20
7.017.057.05T:nlsv2
7.377.387.38T:tpy
7.377.387.38T:trivium
7.507.507.51T:tpy6
7.778.188.52T:panama
8.928.959.38T:snow20
9.369.369.37T:sosemanuk
9.359.4110.23T:hc256
11.9311.9411.99T:tpypy
12.0212.0212.02T:speck6496ctr
12.5112.5212.53T:speck64128ctr
14.0614.0714.07T:rabbit
16.5816.6416.73T:aes128ctr
17.6017.6617.66T:lexv2
18.4318.4318.44T:speck128128ctr
18.6118.6218.63T:simon6496ctr
19.1319.1319.14T:speck128192ctr
19.5719.5719.58T:speck128256ctr
19.5119.6419.69T:aes192ctr
20.0320.0520.05T:simon64128ctr
22.4422.5122.62T:aes256ctr
29.5629.5729.59T:aes128estream
29.6529.6729.68T:simon128128ctr
40.5940.6040.60T:simon128256ctr
45.1245.1446.16T:aes256estream
61.3361.3461.39T:ocelot1
62.4662.9263.26T:ocelot2
117.04124.22124.56T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
3.263.263.26chacha8
3.733.733.73salsa208
4.054.094.15tango642
4.264.264.26chacha12
4.874.874.87salsa2012
6.266.266.28chacha20
7.067.067.06salsa20
7.377.377.40xsalsa20
7.377.377.38T:cryptmtv3
7.407.437.43T:nlsv2
7.687.687.68T:trivium
8.908.918.91T:tpy6
9.259.279.59T:snow20
9.789.789.78T:sosemanuk
10.3110.6110.86T:panama
10.7310.7310.73T:tpy
12.1112.1112.12T:speck6496ctr
12.6212.6212.63T:speck64128ctr
14.5114.5114.52T:rabbit
14.9514.9514.99T:tpypy
16.4516.4516.50T:hc128
18.0118.0518.05T:lexv2
18.5318.5318.53T:speck128128ctr
19.2319.2319.24T:speck128192ctr
19.4019.4019.41T:simon6496ctr
19.6819.6819.68T:speck128256ctr
20.0220.0420.08T:aes128ctr
21.1121.1121.12T:simon64128ctr
23.0723.1523.17T:aes192ctr
25.9725.9926.05T:aes256ctr
29.6729.6829.69T:aes128estream
30.8430.8430.85T:simon128128ctr
33.3833.4134.03T:hc256
42.6942.6942.70T:simon128256ctr
45.3345.3446.10T:aes256estream
65.2565.2565.28T:ocelot1
66.5166.8467.06T:ocelot2
123.18127.26127.45T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
3.333.333.33chacha8
3.803.803.80salsa208
4.334.344.34chacha12
4.934.944.94salsa2012
5.175.175.21tango642
6.336.336.34chacha20
7.137.147.16salsa20
7.957.957.95xsalsa20
8.188.188.18T:trivium
8.318.318.31T:nlsv2
9.569.569.57T:cryptmtv3
9.819.859.94T:snow20
10.6910.7110.84T:sosemanuk
11.2411.2411.25T:tpy6
12.2712.2712.27T:speck6496ctr
12.7812.7812.80T:speck64128ctr
14.5114.5114.53T:panama
15.2615.2615.26T:rabbit
16.3216.3316.33T:tpy
18.6818.6818.69T:speck128128ctr
18.6818.6818.70T:lexv2
19.4019.4019.40T:speck128192ctr
19.8519.8519.85T:speck128256ctr
19.9119.9119.92T:tpypy
20.7020.7120.73T:simon6496ctr
22.8822.8822.90T:simon64128ctr
25.7325.8125.86T:aes128ctr
28.9729.0029.08T:aes192ctr
29.8429.8529.85T:aes128estream
31.6931.8732.26T:aes256ctr
32.7932.8032.82T:simon128128ctr
34.3934.3934.41T:hc128
45.7445.7547.03T:aes256estream
46.1846.1846.18T:simon128256ctr
71.7671.7871.80T:ocelot1
73.0573.0773.28T:ocelot2
73.3973.4073.46T:hc256
134.68134.80142.24T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
3.543.553.56chacha8
4.074.074.07salsa208
4.564.574.57chacha12
5.095.105.14salsa2012
6.606.616.61chacha20
7.307.327.33salsa20
8.158.158.15tango642
9.509.509.52xsalsa20
9.529.529.53T:trivium
10.3710.3910.73T:nlsv2
11.2411.2411.25T:cryptmtv3
11.2411.2511.31T:snow20
12.6112.6112.61T:speck6496ctr
13.0913.0913.10T:speck64128ctr
13.1213.1213.14T:sosemanuk
17.2417.3417.57T:rabbit
17.4917.5117.90T:tpy6
19.2019.2119.21T:speck128128ctr
19.9419.9519.95T:speck128192ctr
20.3820.3820.39T:speck128256ctr
20.4920.5020.50T:lexv2
25.5625.5725.57T:simon6496ctr
25.7525.8025.82T:panama
30.3130.3130.32T:aes128estream
31.2131.2231.24T:tpy
33.4833.5133.53T:tpypy
42.3342.5542.96T:aes128ctr
46.4746.5646.70T:aes192ctr
46.6146.6246.80T:aes256estream
49.6449.6449.67T:simon64128ctr
49.4349.6749.94T:aes256ctr
60.4560.4560.45T:simon128128ctr
69.6669.6669.67T:simon128256ctr
82.4482.4682.51T:hc128
89.1589.1689.26T:ocelot1
90.0590.2690.34T:ocelot2
154.01155.79158.56T:amastrid
180.10180.10180.19T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
5.475.585.80chacha8
6.236.346.34salsa208
6.676.676.89chacha12
6.786.897.22salsa2012
8.979.089.19salsa20
9.089.089.30chacha20
16.1916.3016.30T:speck6496ctr
16.5216.5216.84T:speck64128ctr
24.8324.8324.83T:speck128128ctr
25.8125.8126.14T:speck128192ctr
26.2526.2526.25T:speck128256ctr
26.3626.4726.47T:trivium
28.9829.0929.09xsalsa20
29.9730.0830.73T:snow20
30.9530.9531.17T:cryptmtv3
31.9432.0532.48T:simon6496ctr
34.3434.3434.67T:simon64128ctr
36.3136.3136.31T:aes128estream
37.8437.8437.95T:sosemanuk
42.1142.3342.88T:nlsv2
42.3342.4442.77T:rabbit
42.8842.8842.98T:lexv2
45.6145.6145.72tango642
51.0851.1951.62T:simon128128ctr
58.6258.6258.62T:aes256estream
58.8458.8460.05T:simon128256ctr
97.0297.2399.75T:tpy6
169.64169.64170.08T:panama
207.16207.38207.70T:tpypy
221.48221.59221.59T:tpy
253.42254.62255.94T:aes128ctr
266.44268.73273.33T:aes192ctr
286.12287.44288.53T:aes256ctr
306.36306.58307.45T:ocelot2
310.73312.05312.16T:ocelot1
409.06418.36418.58T:amastrid
697.05697.16697.48T:hc128
1545.691545.801547.11T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
35.0035.0037.62T:speck6496ctr
35.8835.8836.75T:speck64128ctr
43.7543.7545.50T:speck128256ctr
43.7544.6246.38T:speck128192ctr
44.6245.5047.25T:speck128128ctr
55.1255.1256.00chacha8
64.7564.7564.75chacha12
66.5066.5067.38salsa2012
83.1284.0084.88chacha20
84.0084.0084.88salsa20
95.3896.2596.25T:simon6496ctr
108.50108.50111.12T:simon64128ctr
114.62114.62114.62T:aes128estream
126.88127.75130.38salsa208
155.75156.62158.38T:simon128128ctr
157.50157.50158.38T:trivium
198.62199.50201.25T:cryptmtv3
200.38200.38201.25T:aes256estream
201.25202.12204.75T:simon128256ctr
209.12210.88219.62T:nlsv2
222.25222.25223.12T:lexv2
234.50235.38235.38T:snow20
242.38242.38243.25xsalsa20
259.00260.75264.25T:rabbit
298.38298.38300.12T:sosemanuk
341.25341.25345.62tango642
732.38736.75749.88T:tpy6
1407.881413.121421.88T:panama
1585.501588.121589.00T:tpypy
1666.001687.881706.25T:aes128ctr
1716.751729.881749.12T:aes192ctr
1738.621739.501740.38T:tpy
1803.381813.881827.88T:aes256ctr
2021.252026.502027.38T:ocelot2
2065.002069.382069.38T:ocelot1
2562.002687.122689.75T:amastrid
5572.885574.625649.00T:hc128
12364.6212368.1212385.62T:hc256