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

[Page version: 20240726 23:46: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
0.550.560.56chacha8
0.620.630.63salsa208
0.740.750.76T:aes128ctr
0.730.750.76tango642
0.760.770.78chacha12
0.870.880.88salsa2012
0.960.980.99T:aes192ctr
1.011.021.02aes256ctr
1.041.041.06T:speck6496ctr
1.061.081.09T:speck64128ctr
1.211.221.24chacha20
1.261.271.28T:speck128128ctr
1.281.291.30T:speck128192ctr
1.331.331.34T:speck128256ctr
1.371.381.39xsalsa20
1.371.391.39salsa20
1.521.531.53T:simon6496ctr
1.571.581.59T:simon64128ctr
1.731.751.77T:hc128
1.911.921.93T:trivium
2.20?2.27?2.45?T:tpy
2.272.302.31T:simon128128ctr
2.302.372.40T:hc256
2.462.482.49T:sosemanuk
2.432.492.52T:simon128256ctr
2.522.542.54T:cryptmtv3
2.482.552.65T:tpy6
2.33?2.62?3.09?T:nlsv2
2.872.882.89T:rabbit
2.993.033.08T:panama
3.083.103.11T:snow20
3.643.683.72T:tpypy
4.224.244.25T:lexv2
8.738.758.76T:aes128estream
13.5813.6113.63T:aes256estream
17.5517.7818.49T:ocelot1
18.28?19.41?21.88?T:ocelot2
31.9932.2933.17T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.570.57chacha8
0.630.640.64salsa208
0.780.780.79T:aes128ctr
0.780.790.79chacha12
0.890.890.89salsa2012
0.920.920.92tango642
1.051.061.06aes256ctr
1.071.071.08T:speck6496ctr
1.101.111.12T:speck64128ctr
1.231.231.24chacha20
1.301.311.31T:speck128128ctr
1.321.331.33T:aes192ctr
1.321.331.33T:speck128192ctr
1.371.371.38T:speck128256ctr
1.401.401.40salsa20
1.491.491.49xsalsa20
1.711.721.72T:simon6496ctr
1.911.911.91T:simon64128ctr
2.012.012.01T:trivium
2.562.572.57T:simon128128ctr
2.742.752.76T:sosemanuk
2.75?2.77?3.11?T:nlsv2
2.912.942.95T:simon128256ctr
2.972.972.98T:rabbit
3.003.013.01T:cryptmtv3
3.203.213.21T:snow20
3.203.233.27T:tpy6
3.683.723.84T:tpy
3.963.984.01T:panama
4.364.374.37T:lexv2
5.085.115.13T:tpypy
5.175.175.18T:hc128
8.808.818.82T:aes128estream
10.7110.7310.74T:hc256
13.6813.6913.70T:aes256estream
18.8918.9419.44T:ocelot1
20.06?20.55?22.30?T:ocelot2
33.4533.6134.08T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.580.59chacha8
0.650.660.66salsa208
0.800.800.82chacha12
0.830.830.84T:aes128ctr
0.910.910.91salsa2012
1.111.121.13T:speck6496ctr
1.111.121.12aes256ctr
1.161.171.17T:speck64128ctr
1.181.201.23tango642
1.251.251.26chacha20
1.371.371.38T:speck128128ctr
1.391.391.40T:speck128192ctr
1.421.431.43salsa20
1.431.431.44T:speck128256ctr
1.671.671.68xsalsa20
1.891.911.92T:aes192ctr
2.032.032.04T:simon6496ctr
2.172.172.18T:trivium
2.442.442.45T:simon64128ctr
3.013.013.02T:simon128128ctr
3.01?3.04?4.00?T:nlsv2
3.123.123.13T:rabbit
3.253.263.29T:sosemanuk
3.373.383.39T:snow20
3.653.673.72T:simon128256ctr
4.324.334.34T:cryptmtv3
4.244.444.48T:tpy6
4.584.594.61T:lexv2
5.545.575.59T:panama
6.116.176.29T:tpy
7.407.447.46T:tpypy
8.918.938.94T:aes128estream
10.8010.8310.85T:hc128
13.8313.8413.88T:aes256estream
20.8820.9521.21T:ocelot1
21.98?22.61?24.47?T:ocelot2
24.66?24.71?34.94?T:hc256
35.3536.0236.23T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.780.780.79chacha8
0.910.920.92salsa208
1.061.061.07T:aes128ctr
1.091.101.12chacha12
1.251.271.28salsa2012
1.321.331.33T:speck6496ctr
1.371.381.40T:speck64128ctr
1.401.411.42aes256ctr
1.621.631.64T:speck128128ctr
1.651.651.66T:speck128192ctr
1.691.701.72T:speck128256ctr
1.721.731.74chacha20
1.941.961.97salsa20
1.951.972.03tango642
2.562.572.58T:trivium
2.642.652.67xsalsa20
3.493.533.57T:aes192ctr
3.533.563.56T:rabbit
3.553.583.60T:simon6496ctr
3.573.583.60T:simon64128ctr
3.73?3.80?5.86?T:nlsv2
3.793.813.88T:snow20
4.614.654.69T:sosemanuk
4.73?4.75?6.71?T:cryptmtv3
5.205.225.24T:lexv2
5.285.295.31T:simon128128ctr
5.725.725.73T:simon128256ctr
7.477.577.60T:tpy6
9.169.199.23T:aes128estream
9.769.819.89T:panama
12.5212.7212.90T:tpy
13.7613.7913.90T:tpypy
14.26?14.35?20.10?T:aes256estream
25.8325.9726.31T:ocelot1
25.9726.0126.04T:hc128
26.9927.4328.62T:ocelot2
41.3541.9142.17T:amastrid
61.7861.8161.94T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.942.943.00chacha8
3.31?3.38?4.78?salsa208
3.44?3.50?4.78?T:speck6496ctr
3.503.503.69T:aes128ctr
3.623.693.81T:speck64128ctr
3.944.004.06chacha12
4.194.254.31T:speck128192ctr
4.31?4.44?4.81?T:speck128128ctr
4.31?4.44?6.11?T:speck128256ctr
4.38?4.44?6.19?salsa2012
4.62?4.69?6.56?aes256ctr
6.006.066.06chacha20
6.506.566.56salsa20
7.757.817.88T:trivium
8.00?8.25?11.23?T:simon6496ctr
8.318.448.69T:rabbit
9.069.259.44T:snow20
9.31?9.44?10.56?T:simon64128ctr
9.629.699.75T:cryptmtv3
11.7511.8111.94tango642
12.6912.8112.88T:aes128estream
12.6912.8112.94T:simon128128ctr
12.8112.8813.00xsalsa20
12.8813.0013.06T:lexv2
13.88?14.06?40.38?T:nlsv2
14.5614.5614.62T:simon128256ctr
18.8819.0019.12T:aes256estream
19.8120.0020.31T:sosemanuk
23.6223.8824.31T:aes192ctr
45.81?46.44?64.09?T:tpy6
63.3163.5664.31T:panama
89.3190.5691.62T:ocelot1
93.4494.0094.62T:tpy
91.88?94.62?127.92?T:tpypy
93.06?95.06?125.19?T:ocelot2
120.44121.38122.56T:amastrid
215.69215.94216.19T:hc128
536.56537.06537.38T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
15.5016.0017.00T:speck64128ctr
18.50?21.50?26.12?T:speck6496ctr
21.00?21.50?24.50?T:speck128128ctr
21.5022.0022.50T:speck128192ctr
22.00?22.50?31.25?T:speck128256ctr
29.0029.5029.50T:aes128ctr
36.0036.5037.00chacha8
38.0039.0039.50salsa2012
38.00?39.00?53.75?aes256ctr
39.50?40.50?55.88?salsa208
40.5041.0041.50chacha12
45.50?47.00?65.00?T:simon6496ctr
49.0049.0049.50T:trivium
50.5050.5051.00T:aes128estream
51.0051.5053.00T:rabbit
55.5056.5057.00salsa20
56.0057.0060.50T:cryptmtv3
60.0061.0062.50chacha20
57.00?63.50?64.50?T:simon64128ctr
71.0071.5072.50T:aes256estream
73.5074.5075.50T:simon128128ctr
73.0075.0075.50T:snow20
76.50?77.50?178.50?T:nlsv2
77.0077.5078.50T:lexv2
84.0085.0085.50T:simon128256ctr
90.5092.0093.00tango642
107.50108.50110.50xsalsa20
159.00160.00163.00T:sosemanuk
191.50194.00198.50T:aes192ctr
349.00?370.25?501.50?T:tpy6
498.00499.50504.00T:panama
590.50600.00620.00T:ocelot1
595.00606.50622.50T:ocelot2
745.50755.00761.00T:tpy
792.50798.50809.50T:amastrid
727.50?1061.62?1066.75?T:tpypy
1725.001728.001731.50T:hc128
4298.00?4308.50?6080.50?T:hc256