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; Tiger Lake (806c1); 2020 Intel Core i7-1165G7; 4 x 2800MHz; panther, supercop-20240625

[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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.230.250.25aes256ctr
0.290.300.30chacha8
0.340.350.35salsa208
0.35?0.39?0.46?T:aes128ctr
0.370.390.40T:aes192ctr
0.390.400.40chacha12
0.450.460.46salsa2012
0.540.550.55T:speck6496ctr
0.560.570.57T:speck64128ctr
0.550.580.61tango642
0.590.600.61chacha20
0.650.660.67salsa20
0.650.660.69xsalsa20
0.660.670.68T:speck128128ctr
0.690.690.70T:speck128192ctr
0.700.710.71T:speck128256ctr
0.900.940.98T:simon6496ctr
0.930.950.98T:simon64128ctr
1.281.321.37T:hc128
1.351.371.38T:simon128128ctr
1.411.431.46T:simon128256ctr
1.491.501.52T:trivium
2.002.032.07T:hc256
2.012.072.16T:sosemanuk
2.222.252.29T:nlsv2
2.192.292.36T:tpy
2.272.302.33T:snow20
2.272.332.41T:tpy6
2.252.332.40T:panama
2.432.452.47T:cryptmtv3
2.512.582.61T:rabbit
3.19?3.40?3.60?T:tpypy
4.484.534.56T:lexv2
8.708.748.77T:aes128estream
13.5113.5913.64T:aes256estream
14.9315.4215.66T:ocelot2
16.2716.5517.01T:ocelot1
30.2930.9731.56T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.300.300.30chacha8
0.290.310.31aes256ctr
0.360.360.36salsa208
0.390.400.40chacha12
0.41?0.42?0.47?T:aes128ctr
0.470.470.47salsa2012
0.500.510.51T:aes192ctr
0.570.570.57T:speck6496ctr
0.590.590.59T:speck64128ctr
0.590.600.60chacha20
0.670.670.68salsa20
0.690.700.70T:speck128128ctr
0.710.720.72T:speck128192ctr
0.720.720.73tango642
0.730.730.74T:speck128256ctr
0.770.770.79xsalsa20
1.071.071.10T:simon6496ctr
1.181.191.20T:simon64128ctr
1.591.591.60T:simon128128ctr
1.601.601.61T:trivium
1.801.811.83T:simon128256ctr
2.312.322.39T:sosemanuk
2.372.382.39T:snow20
2.362.382.41T:nlsv2
2.622.652.67T:rabbit
2.942.952.95T:cryptmtv3
3.033.063.09T:panama
3.063.103.15T:tpy6
3.743.793.82T:tpy
3.983.994.02T:hc128
4.634.654.67T:lexv2
4.884.965.00T:tpypy
8.448.458.46T:hc256
8.778.798.80T:aes128estream
13.6513.6813.70T:aes256estream
16.5616.8316.93T:ocelot2
17.2117.3517.63T:ocelot1
31.8832.3132.63T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.390.400.41chacha8
0.390.400.41aes256ctr
0.430.440.44salsa208
0.480.500.53T:aes128ctr
0.520.530.54chacha12
0.560.570.58salsa2012
0.600.600.61T:speck6496ctr
0.620.620.63T:speck64128ctr
0.700.710.73T:aes192ctr
0.740.740.74T:speck128128ctr
0.760.760.77T:speck128192ctr
0.770.780.78T:speck128256ctr
0.780.790.82chacha20
0.840.850.87salsa20
0.930.930.95tango642
1.081.101.11xsalsa20
1.281.301.35T:simon6496ctr
1.541.561.59T:simon64128ctr
1.771.781.79T:trivium
1.961.972.00T:simon128128ctr
2.412.432.46T:simon128256ctr
2.512.532.56T:snow20
2.712.772.81T:rabbit
2.782.802.89T:sosemanuk
2.742.812.83T:nlsv2
4.194.204.21T:cryptmtv3
4.224.254.29T:panama
4.244.314.36T:tpy6
4.824.854.87T:lexv2
6.176.356.39T:tpy
7.677.827.98T:tpypy
8.418.458.51T:hc128
8.828.868.88T:aes128estream
13.8013.8413.88T:aes256estream
17.8118.8619.78T:ocelot1
18.9419.0719.26T:ocelot2
19.1219.1919.22T:hc256
34.1834.5735.16T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.500.520.55chacha8
0.670.680.70chacha12
0.710.740.77salsa208
0.800.800.81T:speck64128ctr
0.850.860.87T:speck6496ctr
0.910.930.97T:aes128ctr
0.970.980.99T:speck128192ctr
0.991.001.03T:speck128256ctr
1.001.021.04salsa2012
1.031.031.04aes256ctr
1.031.041.05T:speck128128ctr
1.041.061.07chacha20
1.231.241.29T:aes192ctr
1.501.511.56tango642
1.551.561.59salsa20
2.212.242.27xsalsa20
2.232.242.27T:trivium
2.272.312.44T:simon64128ctr
2.352.382.40T:simon6496ctr
2.903.013.09T:snow20
3.103.133.24T:rabbit
3.453.583.72T:nlsv2
3.553.593.76T:simon128128ctr
3.853.883.96T:simon128256ctr
4.094.124.19T:sosemanuk
4.614.624.64T:cryptmtv3
5.335.365.40T:lexv2
7.347.457.61T:panama
7.727.887.99T:tpy6
9.069.119.15T:aes128estream
12.9913.0913.41T:tpy
14.1114.1814.25T:aes256estream
14.3414.6015.90T:tpypy
20.2820.3920.49T:hc128
22.4322.7623.05T:ocelot1
25.8726.2126.82T:ocelot2
41.1341.8742.40T:amastrid
47.6647.7748.10T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.532.622.80T:speck64128ctr
2.973.003.05salsa208
3.143.233.34T:speck128192ctr
3.253.363.48T:speck128256ctr
3.563.643.70T:speck6496ctr
3.883.923.95salsa2012
4.234.344.41T:speck128128ctr
4.394.534.84chacha8
5.195.275.31T:simon6496ctr
5.235.305.38T:aes128ctr
5.695.755.83salsa20
5.845.915.95chacha12
6.026.066.17T:simon64128ctr
7.337.427.59aes256ctr
7.52?7.67?9.08?T:rabbit
7.897.948.02T:cryptmtv3
7.988.068.23T:trivium
8.16?8.42?9.09?T:snow20
8.31?8.55?9.50?T:aes192ctr
8.758.868.94T:simon128128ctr
8.92?9.12?10.27?tango642
9.059.179.42chacha20
10.1410.2210.28T:simon128256ctr
11.1611.4211.81xsalsa20
11.7811.9712.08T:aes128estream
12.4112.4712.61T:lexv2
16.03?16.42?18.09?T:nlsv2
18.1118.4718.78T:aes256estream
19.4819.8420.42T:sosemanuk
45.9547.2048.50T:panama
49.1650.7552.25T:tpy6
72.2874.2876.25T:ocelot1
101.53?107.14?115.23?T:tpypy
94.36?109.20?111.80?T:tpy
111.77113.97118.06T:ocelot2
116.48118.69120.72T:amastrid
171.19171.89172.80T:hc128
411.94413.09413.91T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
15.1215.6216.50T:speck64128ctr
15.3816.0016.75T:speck6496ctr
17.8819.0019.50T:speck128192ctr
18.75?19.50?23.62?T:speck128128ctr
19.1219.8820.50T:speck128256ctr
25.0025.3826.12chacha8
26.5027.0029.00T:aes128ctr
34.3835.2536.75salsa208
35.1235.8837.38salsa2012
40.2541.6244.12aes256ctr
42.1243.0043.62T:simon6496ctr
43.2544.1245.00chacha12
44.0044.3844.75T:cryptmtv3
44.62?45.25?55.62?T:aes128estream
45.38?47.75?58.62?T:rabbit
47.6248.6249.88T:simon64128ctr
49.8850.1250.25salsa20
50.3851.0052.50chacha20
53.8854.5055.38T:trivium
60.62?66.62?72.62?T:snow20
63.8867.7570.38T:aes192ctr
68.8871.6275.75T:aes256estream
71.7572.3873.88T:simon128128ctr
67.88?72.62?78.25?tango642
70.0073.5074.62T:lexv2
82.6283.5085.00T:nlsv2
82.88?84.50?95.62?T:simon128256ctr
95.7596.7597.88xsalsa20
156.75158.50161.88T:sosemanuk
367.50373.75392.62T:panama
385.88391.12404.88T:tpy6
469.62478.88498.50T:ocelot1
774.12785.75809.62T:amastrid
767.88791.12826.62T:ocelot2
725.12?870.12?886.75?T:tpy
814.12880.88901.25T:tpypy
1369.501373.001382.88T:hc128
3297.883307.253317.25T:hc256