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; Zen 3 (a20f10); 2020 AMD Ryzen 5 5600X; 6 x 3700MHz; unstable; spawn, supercop-20231215

[Page version: 20241207 23:21:19]

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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.310.330.33T:aes128ctr
0.400.400.41T:aes192ctr
0.410.410.42chacha8
0.420.420.45salsa208
0.450.450.49aes256ctr
0.540.540.55chacha12
0.580.580.58tango642
0.600.610.63salsa2012
0.700.720.72T:speck6496ctr
0.730.750.75T:speck64128ctr
0.840.860.87chacha20
0.870.880.88T:speck128128ctr
0.880.890.92T:speck128192ctr
0.920.930.94T:speck128256ctr
0.950.960.96salsa20
0.950.960.98xsalsa20
1.121.131.18T:hc128
1.201.231.24T:simon6496ctr
1.251.281.29T:simon64128ctr
1.541.541.55T:sosemanuk
1.691.701.76T:panama
1.751.761.76T:trivium
1.701.811.84T:tpy
1.721.831.88T:hc256
1.841.871.87T:cryptmtv3
1.871.891.93T:simon128128ctr
1.962.002.01T:simon128256ctr
1.992.002.01T:nlsv2
1.962.042.07T:tpy6
2.542.572.58T:rabbit
2.602.612.64T:snow20
2.812.852.93T:tpypy
3.323.323.35T:lexv2
6.606.676.70T:aes128estream
10.0610.1510.21T:aes256estream
13.2413.4813.62T:ocelot1
13.8013.9514.33T:ocelot2
21.3522.4522.84T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.330.330.33T:aes128ctr
0.420.420.43chacha8
0.440.440.45salsa208
0.470.470.50aes256ctr
0.560.560.57chacha12
0.620.630.64salsa2012
0.650.650.65T:aes192ctr
0.690.690.69tango642
0.730.740.74T:speck6496ctr
0.760.770.77T:speck64128ctr
0.860.870.88chacha20
0.900.910.91T:speck128128ctr
0.920.930.94T:speck128192ctr
0.950.960.97T:speck128256ctr
0.980.980.98salsa20
1.051.051.06xsalsa20
1.371.381.39T:simon6496ctr
1.541.551.55T:simon64128ctr
1.731.731.73T:sosemanuk
1.831.831.83T:trivium
2.102.112.13T:simon128128ctr
2.122.122.13T:nlsv2
2.242.252.29T:panama
2.332.342.34T:cryptmtv3
2.472.482.49T:simon128256ctr
2.482.522.54T:tpy6
2.652.662.66T:rabbit
2.682.692.71T:snow20
3.083.113.13T:tpy
3.263.273.30T:hc128
3.433.433.44T:lexv2
4.124.144.16T:tpypy
6.676.716.73T:aes128estream
7.567.617.64T:hc256
10.1410.2110.24T:aes256estream
14.0814.2214.30T:ocelot1
14.7214.8015.06T:ocelot2
22.7023.4423.56T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.360.360.36T:aes128ctr
0.430.430.43chacha8
0.460.480.48salsa208
0.480.510.51aes256ctr
0.580.600.60chacha12
0.650.650.65salsa2012
0.770.770.77T:speck6496ctr
0.790.820.82T:speck64128ctr
0.840.870.89tango642
0.890.890.89chacha20
0.960.960.99T:speck128128ctr
0.960.990.99T:speck128192ctr
0.991.011.01salsa20
0.991.011.01T:speck128256ctr
1.061.081.08T:aes192ctr
1.181.201.20xsalsa20
1.641.641.66T:simon6496ctr
1.951.981.98T:trivium
2.022.022.05T:simon64128ctr
2.072.072.07T:sosemanuk
2.462.512.53T:nlsv2
2.482.512.53T:simon128128ctr
2.792.792.82T:rabbit
2.792.792.82T:snow20
3.133.163.16T:panama
3.253.303.47T:tpy6
3.303.303.30T:simon128256ctr
3.493.523.52T:cryptmtv3
3.593.613.64T:lexv2
5.285.325.59T:tpy
6.246.266.31T:tpypy
6.77?6.79?8.26?T:aes128estream
6.796.826.84T:hc128
10.1910.2410.26T:aes256estream
15.1815.3415.44T:ocelot1
16.3816.5016.62T:ocelot2
17.1317.2017.39T:hc256
24.2325.3726.62T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.450.450.45T:aes128ctr
0.640.640.64aes256ctr
0.640.640.64chacha8
0.640.640.71salsa208
0.770.840.84chacha12
0.900.900.90T:speck6496ctr
0.900.960.96salsa2012
0.900.960.96T:speck64128ctr
1.161.161.22T:speck128128ctr
1.161.161.22T:speck128256ctr
1.221.281.28chacha20
1.281.281.28T:speck128192ctr
1.351.351.41tango642
1.411.481.48salsa20
1.931.931.99xsalsa20
2.182.182.18T:aes192ctr
2.312.382.38T:trivium
2.442.512.51T:simon64128ctr
2.892.892.95T:simon6496ctr
2.953.023.02T:sosemanuk
3.153.153.21T:snow20
3.153.213.28T:nlsv2
3.213.213.28T:rabbit
3.733.793.79T:simon128128ctr
3.983.984.05T:cryptmtv3
4.054.114.11T:lexv2
4.114.184.18T:simon128256ctr
5.595.595.59T:panama
5.525.655.78T:tpy6
7.007.007.00T:aes128estream
10.6010.6610.73T:aes256estream
11.2411.2411.37T:tpy
11.8211.8812.01T:tpypy
16.2516.2516.32T:hc128
18.6318.8919.14T:ocelot1
19.8520.0420.17T:ocelot2
29.2329.5529.93T:amastrid
43.1043.3043.55T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.16?1.73?1.73?T:aes128ctr
1.731.731.73chacha8
2.312.312.31aes256ctr
2.312.312.31T:speck64128ctr
2.312.312.31T:speck6496ctr
2.31?2.31?2.89?salsa208
2.31?2.89?2.89?T:speck128128ctr
2.892.892.89chacha12
2.892.892.89T:speck128192ctr
2.89?2.89?3.47?T:speck128256ctr
3.473.473.47salsa2012
4.624.624.62chacha20
5.205.205.20salsa20
5.785.785.78T:simon6496ctr
6.36?6.94?8.09?T:simon64128ctr
6.946.947.52T:snow20
6.946.947.52T:trivium
7.528.098.09tango642
8.098.098.67T:rabbit
8.678.678.67T:cryptmtv3
9.259.259.83T:lexv2
9.259.839.83T:aes128estream
9.259.839.83T:simon128128ctr
9.839.839.83xsalsa20
11.5611.5611.56T:simon128256ctr
13.8813.8813.88T:sosemanuk
15.0315.6115.61T:aes256estream
15.6116.1916.77T:nlsv2
16.7716.7716.77T:aes192ctr
34.1134.6935.27T:tpy6
35.8435.8436.42T:panama
63.5964.7565.91T:ocelot1
64.7565.9166.48T:ocelot2
82.0983.2583.83T:tpypy
86.1487.8887.88T:tpy
86.7287.8888.45T:amastrid
137.02137.59138.17T:hc128
371.73375.20375.78T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
9.25?9.25?13.88?T:speck6496ctr
13.8813.8813.88T:aes128ctr
13.8813.8813.88chacha8
13.8813.8813.88T:speck128192ctr
13.8813.8813.88T:speck64128ctr
13.88?18.50?18.50?T:speck128128ctr
13.88?18.50?18.50?T:speck128256ctr
18.5018.5018.50aes256ctr
23.12?23.12?27.75?chacha12
27.75?32.38?32.38?T:simon6496ctr
32.3832.3832.38salsa208
37.0037.0037.00chacha20
37.0037.0037.00salsa2012
37.00?41.62?46.25?T:simon64128ctr
41.6241.6241.62T:aes128estream
41.62?46.25?46.25?T:trivium
50.8850.8850.88T:rabbit
50.8850.8850.88T:simon128128ctr
50.8850.8855.50salsa20
50.8855.5055.50T:cryptmtv3
55.5055.5055.50T:lexv2
55.5055.5055.50T:snow20
60.1260.1260.12tango642
60.1264.7564.75T:aes256estream
64.7564.7564.75T:simon128256ctr
74.0074.0078.62T:nlsv2
87.8887.8887.88xsalsa20
111.00111.00111.00T:sosemanuk
129.50134.12134.12T:aes192ctr
263.62268.25272.88T:tpy6
286.75286.75291.38T:panama
416.25420.88430.12T:ocelot1
425.50434.75444.00T:ocelot2
592.00596.62605.88T:amastrid
638.25642.88647.50T:tpypy
679.88689.12693.75T:tpy
1100.751100.751110.00T:hc128
2987.752992.383006.25T:hc256