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-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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.230.240.25aes256ctr
0.290.300.30chacha8
0.350.360.36salsa208
0.37?0.38?0.42?T:aes128ctr
0.370.380.39T:aes192ctr
0.390.400.40chacha12
0.450.460.46salsa2012
0.540.550.55T:speck6496ctr
0.560.570.57T:speck64128ctr
-0.04?0.60?0.61?chacha20
0.570.600.63tango642
0.660.660.68salsa20
0.660.670.67T:speck128128ctr
0.630.670.70xsalsa20
0.690.690.70T:speck128192ctr
0.700.710.71T:speck128256ctr
0.910.920.96T:simon6496ctr
0.930.971.01T:simon64128ctr
1.311.341.37T:hc128
1.361.371.39T:simon128128ctr
1.411.441.47T:simon128256ctr
1.491.501.52T:trivium
1.982.022.11T:sosemanuk
1.982.032.10T:hc256
1.95?2.07?2.31?T:tpy
2.182.222.25T:snow20
2.152.242.26T:nlsv2
2.322.392.44T:panama
2.432.442.46T:cryptmtv3
2.442.492.58T:rabbit
2.442.562.59T:tpy6
3.043.233.31T:tpypy
4.504.524.54T:lexv2
8.728.758.79T:aes128estream
13.5613.6113.67T:aes256estream
13.7814.1814.49T:ocelot1
14.7314.9715.20T:ocelot2
28.6729.8131.64T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.290.290.30aes256ctr
0.290.290.30chacha8
0.370.370.37salsa208
0.390.400.40chacha12
0.410.410.44T:aes128ctr
0.470.470.47salsa2012
0.500.500.51T:aes192ctr
0.560.570.57T:speck6496ctr
0.580.590.59T:speck64128ctr
0.600.600.61chacha20
0.670.680.69salsa20
0.690.690.70T:speck128128ctr
0.710.720.72T:speck128192ctr
0.720.730.75tango642
0.730.730.74T:speck128256ctr
0.770.770.79xsalsa20
1.071.071.08T:simon6496ctr
1.191.191.21T:simon64128ctr
1.581.591.60T:simon128128ctr
1.601.601.61T:trivium
1.811.821.83T:simon128256ctr
2.312.332.37T:sosemanuk
2.322.342.35T:snow20
2.362.382.39T:nlsv2
2.572.602.66T:rabbit
2.932.942.95T:cryptmtv3
3.063.083.10T:panama
3.223.293.30T:tpy6
3.613.673.71T:tpy
4.004.014.02T:hc128
4.634.644.65T:lexv2
4.804.914.95T:tpypy
8.448.468.48T:hc256
8.788.798.82T:aes128estream
13.6613.6813.72T:aes256estream
15.5215.7215.83T:ocelot1
16.6416.7616.82T:ocelot2
30.8531.3232.52T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.370.370.38aes256ctr
0.430.430.45salsa208
0.480.480.52T:aes128ctr
0.520.530.55chacha12
0.560.570.59salsa2012
0.600.600.61T:speck6496ctr
0.620.620.63T:speck64128ctr
0.700.710.71T:aes192ctr
0.730.740.74T:speck128128ctr
0.750.760.76T:speck128192ctr
0.770.780.78T:speck128256ctr
0.790.790.81chacha20
0.840.840.85salsa20
0.930.940.99tango642
1.081.081.10xsalsa20
1.281.301.34T:simon6496ctr
1.541.571.60T:simon64128ctr
0.40?1.70?1.74?chacha8
1.761.781.78T:trivium
1.941.951.97T:simon128128ctr
2.432.432.46T:simon128256ctr
2.462.502.54T:snow20
2.772.802.82T:rabbit
2.772.812.86T:nlsv2
2.782.842.94T:sosemanuk
4.184.194.21T:cryptmtv3
4.214.314.39T:panama
4.364.424.48T:tpy6
4.834.854.87T:lexv2
6.126.176.26T:tpy
7.737.817.93T:tpypy
8.438.458.50T:hc128
8.838.868.88T:aes128estream
13.7813.8414.01T:aes256estream
18.1318.3318.55T:ocelot1
19.1019.1419.18T:hc256
19.2219.6319.79T:ocelot2
33.9534.5734.95T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.490.490.51chacha8
0.680.690.72chacha12
0.730.740.77salsa208
0.800.820.83T:speck64128ctr
0.850.860.87T:speck6496ctr
0.900.920.94T:aes128ctr
0.960.970.99T:speck128192ctr
0.990.991.01T:speck128256ctr
1.011.011.03aes256ctr
1.001.021.04salsa2012
1.031.041.05T:speck128128ctr
1.031.051.07chacha20
1.231.251.28T:aes192ctr
1.501.531.62tango642
1.541.561.58salsa20
2.192.222.27xsalsa20
2.222.232.27T:trivium
2.282.332.50T:simon64128ctr
2.352.392.43T:simon6496ctr
2.842.913.04T:snow20
3.283.313.36T:rabbit
3.523.563.63T:nlsv2
3.543.603.66T:simon128128ctr
3.843.883.95T:simon128256ctr
4.104.124.32T:sosemanuk
4.614.624.64T:cryptmtv3
5.375.395.42T:lexv2
7.397.627.76T:panama
7.577.687.85T:tpy6
9.039.089.11T:aes128estream
11.98?13.39?13.92?T:tpy
13.9014.1914.76T:tpypy
14.1414.2214.31T:aes256estream
20.2520.3020.40T:hc128
24.9425.2725.61T:ocelot1
25.9326.6027.23T:ocelot2
39.0940.0241.23T:amastrid
47.3847.6447.89T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.50?2.58?2.81?T:speck64128ctr
2.973.003.05salsa208
3.143.233.47T:speck128192ctr
3.203.313.42T:speck128256ctr
3.593.623.66T:speck6496ctr
3.843.883.97salsa2012
4.224.274.39chacha8
4.274.314.39T:speck128128ctr
5.145.225.25T:simon6496ctr
5.285.365.44T:aes128ctr
5.735.785.89salsa20
5.845.986.41chacha12
5.956.056.20T:simon64128ctr
7.207.237.27aes256ctr
7.77?7.88?9.20?T:rabbit
7.897.988.11T:cryptmtv3
7.67?8.11?8.58?T:snow20
8.028.178.25T:trivium
8.398.709.27T:aes192ctr
8.778.818.92T:simon128128ctr
8.75?9.02?10.05?tango642
9.089.229.30chacha20
10.0810.1610.25T:simon128256ctr
11.1911.4111.72xsalsa20
11.8011.9512.17T:lexv2
11.8811.9812.16T:aes128estream
15.89?16.52?17.97?T:nlsv2
18.3118.4818.73T:aes256estream
19.8619.9520.39T:sosemanuk
45.3946.3048.09T:panama
47.6948.6749.67T:tpy6
99.52107.11107.70T:tpypy
106.27109.84112.11T:tpy
114.36115.86117.36T:amastrid
116.19119.16122.67T:ocelot2
116.36119.19122.58T:ocelot1
171.31171.69172.30T:hc128
410.88411.77416.55T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.8814.2514.50T:speck64128ctr
15.8816.5017.62T:speck6496ctr
17.7518.5018.88T:speck128192ctr
19.3819.8820.75T:speck128256ctr
19.38?20.38?24.25?T:speck128128ctr
26.0027.1228.12T:aes128ctr
33.6234.1235.25salsa208
36.1237.5038.62chacha8
38.6239.0039.38aes256ctr
40.1240.8841.38chacha12
41.6242.3843.00T:simon6496ctr
42.2543.1244.62salsa2012
43.8844.3845.12T:cryptmtv3
44.75?46.62?53.38?T:aes128estream
47.6248.8851.88T:rabbit
47.8848.8849.62T:simon64128ctr
53.5053.8854.75T:trivium
57.2558.2560.00salsa20
59.5062.6265.00chacha20
62.5064.5066.62T:snow20
66.6267.5069.00T:aes256estream
67.8868.2569.25T:lexv2
64.50?69.00?73.00?T:aes192ctr
71.6272.6273.50T:simon128128ctr
68.25?76.75?80.00?tango642
82.3883.0083.62T:simon128256ctr
82.0083.1288.25T:nlsv2
104.12?106.00?118.00?xsalsa20
158.88160.75169.62T:sosemanuk
366.25372.88379.12T:tpy6
353.00373.50379.25T:panama
731.25?735.00?892.38?T:tpypy
746.50?764.88?886.00?T:tpy
773.38786.88804.62T:amastrid
784.38806.38825.25T:ocelot2
794.25815.62857.62T:ocelot1
1368.121373.121380.38T:hc128
3312.003317.383325.50T:hc256