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; Broadwell+AES (406f1); 2016 Intel Xeon E5-2609 v4; 8 x 1700MHz; bolero, supercop-20250307

[Page version: 20250326 01:56:40]

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
0.55?0.56?0.87?chacha8
0.620.620.63salsa208
0.730.750.76tango642
0.760.780.84chacha12
0.870.880.88salsa2012
0.880.880.89T:aes128ctr
0.950.971.00T:aes192ctr
1.011.021.02aes256ctr
1.031.041.05T:speck6496ctr
1.061.071.09T:speck64128ctr
1.201.201.21chacha20
1.261.261.27T:speck128128ctr
1.29?1.30?2.02?T:speck128192ctr
1.321.341.34T:speck128256ctr
1.371.381.39salsa20
1.15?1.39?2.30?xsalsa20
1.521.521.53T:simon6496ctr
1.571.581.59T:simon64128ctr
1.711.741.77T:hc128
1.911.921.92T:trivium
2.242.272.33T:tpy
2.272.282.29T:simon128128ctr
2.31?2.41?8.28?T:hc256
2.412.412.42T:cryptmtv3
1.77?2.45?2.55?T:simon128256ctr
2.442.462.49T:sosemanuk
2.522.582.64T:tpy6
2.592.622.65T:nlsv2
2.86?2.87?4.53?T:rabbit
2.99?3.04?5.17?T:panama
3.133.143.15T:snow20
3.683.763.88T:tpypy
4.214.234.25T:lexv2
8.508.528.53T:aes128estream
13.4713.5213.57T:aes256estream
17.4917.6418.47T:ocelot1
18.6018.9119.56T:ocelot2
31.5832.5233.01T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.56?0.57?0.80?chacha8
0.630.640.64salsa208
0.790.790.83chacha12
0.890.890.89salsa2012
0.910.910.92T:aes128ctr
0.920.920.92tango642
1.051.061.06aes256ctr
1.071.071.08T:speck6496ctr
1.101.101.12T:speck64128ctr
1.211.211.22chacha20
1.301.301.30T:speck128128ctr
1.321.331.34T:aes192ctr
1.33?1.34?1.87?T:speck128192ctr
1.381.381.38T:speck128256ctr
1.391.391.40salsa20
1.49?1.50?2.18?xsalsa20
1.721.721.72T:simon6496ctr
1.911.911.91T:simon64128ctr
2.012.012.02T:trivium
2.552.562.56T:simon128128ctr
2.752.772.78T:nlsv2
2.762.772.78T:sosemanuk
2.932.932.94T:cryptmtv3
2.96?2.97?4.21?T:rabbit
2.922.982.99T:simon128256ctr
3.233.243.25T:snow20
3.253.283.31T:tpy6
3.703.713.74T:tpy
3.96?3.99?5.58?T:panama
4.354.374.38T:lexv2
5.125.175.24T:tpypy
5.155.175.18T:hc128
8.568.578.58T:aes128estream
10.70?10.74?15.14?T:hc256
13.5613.5913.61T:aes256estream
18.8118.8419.41T:ocelot1
19.9320.0520.48T:ocelot2
33.2333.7434.07T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.580.59chacha8
0.650.660.66salsa208
0.810.830.86chacha12
0.910.910.92salsa2012
0.950.950.96T:aes128ctr
1.111.111.12aes256ctr
1.121.121.12T:speck6496ctr
1.151.161.17T:speck64128ctr
1.221.231.23chacha20
1.19?1.23?1.67?tango642
1.361.371.37T:speck128128ctr
1.39?1.40?1.96?T:speck128192ctr
1.411.421.42salsa20
1.431.431.44T:speck128256ctr
1.67?1.68?2.35?xsalsa20
1.881.891.93T:aes192ctr
2.032.042.04T:simon6496ctr
2.182.182.19T:trivium
2.442.442.45T:simon64128ctr
3.013.043.07T:simon128128ctr
3.033.063.11T:nlsv2
3.133.143.15T:rabbit
3.313.343.35T:sosemanuk
3.41?3.42?4.83?T:snow20
3.663.803.83T:simon128256ctr
4.224.234.23T:cryptmtv3
4.334.404.48T:tpy6
4.584.594.60T:lexv2
5.545.575.59T:panama
6.136.186.22T:tpy
7.467.487.51T:tpypy
8.648.658.66T:aes128estream
10.8010.8110.83T:hc128
13.6613.7113.74T:aes256estream
20.7120.8421.21T:ocelot1
21.9822.1322.46T:ocelot2
24.5724.6124.67T:hc256
35.7035.9236.77T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.790.800.81chacha8
0.900.910.92salsa208
1.091.101.15chacha12
1.191.201.21T:aes128ctr
1.251.261.26salsa2012
1.331.341.35T:speck6496ctr
1.371.381.39T:speck64128ctr
1.401.401.41aes256ctr
1.621.621.64T:speck128128ctr
1.651.651.67T:speck128192ctr
1.691.701.72chacha20
1.71?1.73?2.44?T:speck128256ctr
1.941.941.97salsa20
1.941.951.98tango642
2.602.612.62T:trivium
2.64?2.65?3.24?xsalsa20
3.493.523.56T:aes192ctr
3.563.573.59T:rabbit
3.563.583.59T:simon64128ctr
3.563.583.60T:simon6496ctr
3.723.783.86T:nlsv2
3.813.843.86T:snow20
4.784.784.79T:cryptmtv3
4.804.834.88T:sosemanuk
5.195.225.24T:lexv2
5.285.295.31T:simon128128ctr
5.72?5.75?6.47?T:simon128256ctr
7.457.537.58T:tpy6
8.888.908.92T:aes128estream
9.749.799.85T:panama
12.3512.4712.63T:tpy
13.9413.9914.05T:aes256estream
13.90?14.03?20.31?T:tpypy
25.7426.0326.33T:ocelot1
26.0126.0426.08T:hc128
26.8126.9727.35T:ocelot2
42.1742.5042.79T:amastrid
61.6061.6961.86T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.943.003.06chacha8
3.313.383.38salsa208
3.383.443.56T:speck6496ctr
3.623.693.75T:speck64128ctr
3.883.944.00T:aes128ctr
3.883.944.06chacha12
4.194.194.25T:speck128192ctr
4.254.384.44T:speck128128ctr
4.314.444.69T:speck128256ctr
4.384.444.44salsa2012
4.624.624.69aes256ctr
6.00?6.06?8.50?chacha20
6.506.566.56salsa20
7.697.757.81T:trivium
7.948.008.12T:simon6496ctr
8.388.448.75T:rabbit
8.889.069.25T:snow20
9.319.319.44T:simon64128ctr
9.889.889.94T:cryptmtv3
11.6911.7511.88tango642
12.0012.1212.19T:aes128estream
12.6912.8112.94T:simon128128ctr
12.81?12.94?18.14?xsalsa20
12.8813.0013.12T:lexv2
14.1214.4415.25T:nlsv2
14.5014.5614.69T:simon128256ctr
18.7518.8818.94T:aes256estream
21.5621.6921.88T:sosemanuk
23.5623.7523.88T:aes192ctr
45.3145.5646.25T:tpy6
63.31?63.50?89.70?T:panama
89.3890.3192.06T:ocelot2
90.1991.0692.19T:ocelot1
94.5095.5696.88T:tpy
93.8896.8197.75T:tpypy
120.94121.69122.81T:amastrid
215.62216.00216.25T:hc128
535.44536.31537.31T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
15.5016.0017.00T:speck64128ctr
18.50?19.00?21.50?T:speck6496ctr
21.0021.0021.50T:speck128128ctr
21.5022.0023.00T:speck128192ctr
23.0024.0024.50T:speck128256ctr
31.0031.5032.00T:aes128ctr
36.0036.5037.00chacha8
38.0038.0038.50aes256ctr
41.50?41.50?58.00?salsa208
46.0046.5047.50T:simon6496ctr
48.0049.0050.50chacha12
49.5050.5051.00T:trivium
50.5050.5051.00salsa2012
51.5052.5054.00T:rabbit
54.0054.5055.50T:aes128estream
56.0056.0056.50T:cryptmtv3
56.0056.0056.50T:simon64128ctr
70.0070.0070.50chacha20
70.5071.0071.50T:aes256estream
70.5072.0074.50T:snow20
73.5074.5076.50T:simon128128ctr
77.0077.5078.50T:lexv2
77.5078.5084.00T:nlsv2
84.5085.0086.00T:simon128256ctr
90.5091.5092.00tango642
95.5095.5096.00salsa20
145.00146.00147.50xsalsa20
173.00174.00175.00T:sosemanuk
191.00192.00194.00T:aes192ctr
341.00349.50352.00T:tpy6
499.00501.00505.00T:panama
591.50600.50617.00T:ocelot2
593.00609.00620.50T:ocelot1
731.00?740.00?1006.00?T:tpypy
744.00747.50758.50T:tpy
802.00808.00813.00T:amastrid
1724.501727.001729.50T:hc128
4281.004288.504297.50T:hc256