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-20240425

[Page version: 20240719 07:49:00]

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.


Implementation notes

Graphs: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
3.213.223.22chacha8
3.353.383.39tango642
3.693.693.69salsa208
4.214.224.22chacha12
4.834.834.83salsa2012
5.655.665.67T:hc128
6.216.226.23chacha20
6.436.446.45T:cryptmtv3
7.017.017.05T:nlsv2
7.017.027.02xsalsa20
7.017.027.02salsa20
7.377.387.38T:tpy
7.377.387.38T:trivium
7.497.517.51T:tpy6
7.777.787.78T:panama
8.918.968.97T:snow20
9.369.369.37T:sosemanuk
9.379.409.43T:hc256
11.9711.9912.02T:tpypy
12.0212.0212.02T:speck6496ctr
12.5212.5212.53T:speck64128ctr
14.0614.0714.07T:rabbit
16.5716.6516.74T:aes128ctr
17.6317.6517.84T:lexv2
18.4318.4318.43T:speck128128ctr
18.6118.6218.65T:simon6496ctr
19.1319.1319.14T:speck128192ctr
19.5719.5719.58T:speck128256ctr
19.5519.6519.74T:aes192ctr
20.0320.0420.04T:simon64128ctr
22.4522.5122.56T:aes256ctr
27.7627.8127.89T:aes128estream
29.6629.6729.68T:simon128128ctr
40.1440.1840.20T:aes256estream
40.5940.5940.61T:simon128256ctr
60.8861.3561.38T:ocelot1
62.5062.8962.94T:ocelot2
119.99121.00124.62T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
3.263.263.26chacha8
3.733.733.74salsa208
4.054.054.06tango642
4.264.264.26chacha12
4.874.874.87salsa2012
6.266.266.27chacha20
7.067.067.06salsa20
7.367.377.37xsalsa20
7.377.377.37T:cryptmtv3
7.417.417.43T:nlsv2
7.687.687.68T:trivium
8.918.918.91T:tpy6
9.259.289.29T:snow20
9.789.789.78T:sosemanuk
10.3510.3610.36T:panama
10.7310.7310.73T:tpy
12.1112.1112.12T:speck6496ctr
12.6212.6212.63T:speck64128ctr
14.5114.5114.51T:rabbit
14.9714.9815.00T:tpypy
16.4816.4816.49T:hc128
18.0218.0418.18T:lexv2
18.5318.5318.53T:speck128128ctr
19.2319.2319.24T:speck128192ctr
19.4019.4019.43T:simon6496ctr
19.6819.6819.68T:speck128256ctr
19.9920.0320.06T:aes128ctr
21.1121.1121.11T:simon64128ctr
23.0023.0423.08T:aes192ctr
26.0126.0426.06T:aes256ctr
27.9627.9728.02T:aes128estream
30.8430.8430.85T:simon128128ctr
33.4133.4133.42T:hc256
40.3840.3940.39T:aes256estream
42.6942.6942.70T:simon128256ctr
65.2565.2665.27T:ocelot1
66.4966.7366.75T:ocelot2
125.50126.14128.72T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
3.333.333.33chacha8
3.803.803.81salsa208
4.334.334.33chacha12
4.934.944.94salsa2012
5.175.185.29tango642
6.336.336.34chacha20
7.117.127.12salsa20
7.957.958.03xsalsa20
8.188.188.18T:trivium
8.318.318.31T:nlsv2
9.569.569.56T:cryptmtv3
9.799.809.81T:snow20
10.6910.7010.71T:sosemanuk
11.2511.2511.28T:tpy6
12.2712.2712.27T:speck6496ctr
12.7812.7812.79T:speck64128ctr
14.6414.6514.89T:panama
15.2415.2515.37T:rabbit
16.3216.3216.32T:tpy
18.6818.6818.69T:speck128128ctr
18.6918.6918.69T:lexv2
19.4019.4019.40T:speck128192ctr
19.8519.8519.86T:speck128256ctr
19.8719.8919.92T:tpypy
20.7020.7020.72T:simon6496ctr
22.8822.8822.90T:simon64128ctr
25.6225.6925.80T:aes128ctr
28.2828.2928.30T:aes128estream
28.7128.7828.91T:aes192ctr
31.9031.9231.97T:aes256ctr
32.7932.8032.80T:simon128128ctr
34.4934.4934.49T:hc128
40.7740.7940.80T:aes256estream
46.1846.1846.18T:simon128256ctr
71.7271.7371.79T:ocelot1
72.8473.1173.39T:ocelot2
73.3973.4475.01T:hc256
134.96136.29140.64T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
3.543.553.55chacha8
4.074.074.07salsa208
4.564.574.57chacha12
5.095.105.15salsa2012
6.606.616.61chacha20
7.287.297.29salsa20
8.158.178.19tango642
9.509.509.50xsalsa20
9.529.529.52T:trivium
10.3910.4110.91T:nlsv2
11.2211.2511.27T:snow20
11.2411.2511.27T:cryptmtv3
12.6112.6112.61T:speck6496ctr
13.0913.0913.10T:speck64128ctr
13.1213.1413.48T:sosemanuk
17.2217.2217.22T:rabbit
17.4617.4917.50T:tpy6
19.2019.2119.21T:speck128128ctr
19.9419.9519.95T:speck128192ctr
20.3820.3820.39T:speck128256ctr
20.4920.5020.51T:lexv2
25.5725.5825.61T:simon6496ctr
26.0726.1226.12T:panama
28.9528.9829.18T:aes128estream
31.1831.2031.22T:tpy
33.4233.4333.53T:tpypy
41.6741.6741.87T:aes256estream
42.4442.5542.68T:aes128ctr
46.0246.1846.47T:aes192ctr
49.6349.6449.66T:simon64128ctr
49.7249.9750.03T:aes256ctr
60.4460.4460.46T:simon128128ctr
69.6569.6669.66T:simon128256ctr
82.6982.6982.70T:hc128
89.0289.0691.81T:ocelot1
90.0090.2690.28T:ocelot2
151.95152.72156.82T:amastrid
180.10180.10180.14T: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.00salsa2012
8.979.089.19salsa20
9.089.089.30chacha20
16.1916.3016.84T:speck6496ctr
16.5216.5216.84T:speck64128ctr
24.8324.8324.83T:speck128128ctr
25.8125.8125.92T:speck128192ctr
26.2526.2526.25T:speck128256ctr
26.3626.4726.47T:trivium
28.9828.9829.09xsalsa20
29.7529.8630.08T:snow20
30.9531.0631.17T:cryptmtv3
31.9432.0532.27T:simon6496ctr
34.2334.3434.56T:simon64128ctr
37.8437.8437.95T:sosemanuk
38.1738.1738.17T:aes128estream
42.1142.2242.22T:rabbit
42.2242.3343.42T:nlsv2
42.8842.8842.98T:lexv2
45.6145.6145.72tango642
51.0851.1951.41T:simon128128ctr
53.5953.8153.81T:aes256estream
58.8458.8459.83T:simon128256ctr
96.6996.9197.02T:tpy6
172.70172.81172.81T:panama
206.83206.83207.48T:tpypy
221.16221.59221.59T:tpy
255.72257.69259.44T:aes128ctr
267.20269.17269.83T:aes192ctr
282.30283.83286.23T:aes256ctr
307.34307.78308.22T:ocelot2
310.52311.06311.61T:ocelot1
409.17411.69413.88T:amastrid
699.23699.34699.56T:hc128
1545.691545.691547.00T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
35.0035.0036.75T:speck6496ctr
35.8835.8837.62T:speck64128ctr
43.7543.7545.50T:speck128256ctr
43.7544.6246.38T:speck128192ctr
44.6245.5047.25T:speck128128ctr
55.12?55.12?61.25?chacha8
64.7564.7564.75chacha12
66.5066.5067.38salsa2012
83.1284.0084.00chacha20
84.0084.0084.88salsa20
95.3896.2596.25T:simon6496ctr
108.50108.50111.12T:simon64128ctr
126.88127.75128.62salsa208
143.50144.38145.25T:aes128estream
155.75155.75158.38T:simon128128ctr
157.50157.50158.38T:trivium
196.88196.88197.75T:aes256estream
198.62200.38200.38T:cryptmtv3
201.25201.25203.88T:simon128256ctr
210.88210.88213.50T:nlsv2
222.25222.25222.25T:lexv2
233.62234.50235.38T:snow20
242.38242.38242.38xsalsa20
257.25257.25265.12T:rabbit
298.38300.12303.62T:sosemanuk
341.25341.25343.00tango642
728.88729.75730.62T:tpy6
1428.881435.001443.75T:panama
1584.621586.381587.25T:tpypy
1693.121703.621722.00T:aes128ctr
1715.001724.621733.38T:aes192ctr
1736.881736.881739.50T:tpy
1771.001784.121799.00T:aes256ctr
2029.122030.002035.25T:ocelot2
2063.252066.752068.50T:ocelot1
2625.882680.122683.62T:amastrid
5593.005593.005594.75T:hc128
12364.6212366.3812376.00T:hc256