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); 2011 Intel Atom N435; 1 x 1330MHz; h4atom, supercop-20250922

[Page version: 20251117 17:11:20]

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.223.23chacha8
3.603.603.61salsa208
3.683.693.70tango642
4.214.224.22chacha12
4.804.804.81salsa2012
5.165.175.19T:tpy
5.275.285.30T:tpy6
5.445.465.49T:nlsv2
6.226.226.23chacha20
6.416.436.45T:hc128
7.027.027.03salsa20
7.027.037.04xsalsa20
7.507.517.54T:panama
7.537.547.54T:cryptmtv3
8.088.168.20T:tpypy
8.208.238.26T:hc256
8.298.328.35T:snow20
9.739.759.76T:sosemanuk
11.9411.9511.96T:speck6496ctr
12.5712.5712.59T:speck64128ctr
12.9112.9312.95T:rabbit
16.6816.7616.84T:aes128ctr
17.6317.6717.70T:lexv2
19.1819.1819.19T:speck128128ctr
19.2219.2319.24T:simon6496ctr
19.5019.5119.52T:trivium
19.5419.6319.70T:aes192ctr
19.6819.6919.77T:simon64128ctr
20.0120.0220.02T:speck128192ctr
20.5120.5120.54T:speck128256ctr
22.5722.6422.75T:aes256ctr
28.3628.3928.40T:aes128estream
29.4029.4129.42T:simon128128ctr
34.8334.9034.90T:simon128256ctr
41.2241.2741.34T:aes256estream
58.7158.7758.82T:ocelot1
60.7260.7960.86T:ocelot2
125.45125.99129.54T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
3.273.273.27chacha8
3.663.663.66salsa208
4.274.274.27chacha12
4.384.384.39tango642
4.854.854.86salsa2012
5.855.865.88T:nlsv2
6.276.276.28chacha20
6.776.776.78T:tpy6
7.077.077.07salsa20
7.327.327.32xsalsa20
8.308.318.31T:cryptmtv3
8.608.618.63T:snow20
8.698.708.71T:tpy
9.9910.0010.01T:panama
10.1410.1510.16T:sosemanuk
11.3511.4011.42T:tpypy
12.0512.0512.06T:speck6496ctr
12.6812.6912.70T:speck64128ctr
13.3513.3613.37T:rabbit
15.8715.8815.88T:hc128
18.0318.0618.07T:lexv2
19.2919.2919.29T:speck128128ctr
20.1020.1020.11T:simon6496ctr
20.1320.1320.14T:speck128192ctr
20.2420.2420.25T:trivium
20.6220.6220.64T:speck128256ctr
21.1021.1021.16T:simon64128ctr
21.1521.1921.23T:aes128ctr
24.0524.0924.11T:aes192ctr
27.0427.0727.14T:aes256ctr
28.4928.5028.51T:aes128estream
30.9030.9130.92T:simon128128ctr
31.3231.3331.35T:hc256
37.9737.9737.98T:simon128256ctr
41.4441.4741.52T:aes256estream
62.7862.8062.83T:ocelot1
64.8164.8564.89T:ocelot2
130.05130.44132.81T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
3.353.353.36chacha8
3.743.753.75salsa208
4.354.354.36chacha12
4.944.944.95salsa2012
5.525.535.55tango642
6.35?6.37?10.43?chacha20
6.736.756.83T:nlsv2
7.147.157.15salsa20
7.807.817.81xsalsa20
9.099.129.14T:snow20
9.259.269.28T:tpy6
10.7410.7510.76T:cryptmtv3
11.0411.0511.06T:sosemanuk
12.2412.2412.24T:speck6496ctr
12.8712.8712.87T:speck64128ctr
14.0814.0914.10T:rabbit
14.1314.1514.17T:panama
14.5714.5814.60T:tpy
16.7716.7916.83T:tpypy
18.7018.7018.72T:lexv2
19.4719.4719.51T:speck128128ctr
20.3220.3220.32T:speck128192ctr
20.8120.8120.82T:speck128256ctr
21.4521.4621.47T:trivium
21.5521.5521.56T:simon6496ctr
23.4423.4523.45T:simon64128ctr
28.4628.5228.58T:aes128ctr
28.7028.7228.75T:aes128estream
31.4031.5031.60T:aes192ctr
31.6031.6231.63T:hc128
33.4133.4233.44T:simon128128ctr
34.3334.3834.47T:aes256ctr
41.7541.7741.83T:aes256estream
43.10?43.10?47.91?T:simon128256ctr
69.4869.5169.55T:ocelot1
69.8069.8369.87T:hc256
71.6171.6571.69T:ocelot2
136.93137.16139.30T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
3.593.593.61chacha8
4.124.124.14salsa208
4.614.624.64chacha12
5.345.355.48salsa2012
6.656.666.68chacha20
7.347.357.37salsa20
8.568.568.59tango642
8.768.788.81T:nlsv2
9.119.129.13xsalsa20
10.3410.3610.42T:snow20
11.6911.6911.71T:cryptmtv3
12.5512.5512.56T:speck6496ctr
13.1513.1613.17T:speck64128ctr
13.4313.4513.47T:sosemanuk
15.8515.8915.91T:tpy6
16.0216.0416.09T:rabbit
20.0220.0220.04T:speck128128ctr
20.4920.5220.56T:lexv2
20.6120.6120.62T:speck128192ctr
21.3921.3921.40T:speck128256ctr
24.7024.7124.72T:trivium
25.1525.1825.23T:panama
27.6427.6527.66T:simon6496ctr
29.2129.2529.34T:aes128estream
30.2230.2430.27T:tpy
31.2631.3631.54T:tpypy
42.7042.7542.89T:aes256estream
50.1350.3651.30T:aes128ctr
53.0753.2653.50T:aes192ctr
56.0056.0156.02T:simon64128ctr
56.1756.3056.59T:aes256ctr
69.6269.6469.65T:simon128128ctr
73.5973.6273.69T:hc128
75.1675.1775.18T:simon128256ctr
87.3687.4487.50T:ocelot1
89.6489.7289.92T:ocelot2
157.98158.64159.09T:amastrid
172.40172.46172.54T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
5.915.915.91chacha8
7.127.127.17chacha12
7.307.307.34salsa208
8.788.788.89salsa2012
9.509.509.55chacha20
9.679.679.89salsa20
16.4516.4516.56T:speck6496ctr
16.8816.9817.09T:speck64128ctr
24.8324.8324.94T:speck128192ctr
25.4725.4725.48xsalsa20
26.11?26.33?36.11?T:speck128128ctr
26.6126.7226.94T:snow20
27.7727.7727.88T:speck128256ctr
30.9430.9831.19T:cryptmtv3
33.8933.9134.11T:simon6496ctr
35.5835.6935.80T:aes128estream
36.34?36.45?49.70?T:simon64128ctr
37.3137.4237.64T:sosemanuk
39.7339.8840.19T:nlsv2
40.3440.4740.61T:rabbit
42.6242.7342.84T:lexv2
47.0947.3947.62tango642
53.4853.5553.66T:simon128128ctr
54.2354.4554.72T:aes256estream
65.83?66.05?113.34?T:simon128256ctr
66.0966.0966.09T:trivium
100.19100.50100.84T:tpy6
165.59165.97166.44T:panama
217.41217.77218.28T:tpypy
230.47230.94234.84T:tpy
309.92311.28314.23T:aes128ctr
317.27317.80318.16T:ocelot1
320.25321.28322.25T:ocelot2
321.36322.42324.27T:aes192ctr
336.02337.16338.36T:aes256ctr
391.02408.59410.48T:amastrid
610.56610.84611.30T:hc128
1485.921486.381487.20T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
44.7544.7544.75T:speck6496ctr
45.3845.3845.38T:speck128256ctr
45.7546.6246.62T:speck64128ctr
50.00?50.00?82.12?T:speck128128ctr
52.2552.2553.12T:speck128192ctr
57.7557.7557.75chacha8
66.8866.8868.00chacha12
85.8885.8886.75chacha20
87.2587.2587.25salsa20
112.25113.12114.00T:simon6496ctr
117.25117.25119.00T:aes128estream
123.25124.12125.00T:simon64128ctr
134.38135.12136.12salsa208
159.75160.62161.50salsa2012
161.25162.12163.00T:simon128128ctr
181.38?182.25?265.75?T:simon128256ctr
190.88191.62192.62T:aes256estream
193.00193.25195.00T:cryptmtv3
208.50210.25212.75T:nlsv2
211.25212.12213.12T:snow20
214.25214.38215.88xsalsa20
227.25227.38228.25T:lexv2
248.00249.00250.75T:rabbit
291.50292.38293.25T:sosemanuk
350.88?352.50?454.75?tango642
391.12391.12392.00T:trivium
763.00764.00766.00T:tpy6
1303.121306.621314.38T:panama
1675.621677.381680.00T:tpypy
1803.751806.001807.38T:tpy
2132.122133.622135.62T:ocelot1
2137.002139.382142.38T:ocelot2
2160.122169.382189.25T:aes128ctr
2167.752190.002216.50T:aes192ctr
2194.382203.122213.62T:aes256ctr
2607.122662.882668.38T:amastrid
4880.124881.384886.62T:hc128
11883.2511887.6211891.25T:hc256