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

[Page version: 20241109 15:41:18]

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.240.250.25aes256ctr
0.290.300.30chacha8
0.350.350.36salsa208
0.370.380.39T:aes128ctr
0.370.380.39T:aes192ctr
0.390.400.40chacha12
0.450.460.46salsa2012
0.540.540.55T:speck6496ctr
0.560.570.58T:speck64128ctr
0.570.590.62tango642
0.580.600.61chacha20
0.640.660.68xsalsa20
0.650.660.67salsa20
0.660.670.67T:speck128128ctr
0.680.690.69T:speck128192ctr
0.700.710.71T:speck128256ctr
0.910.930.96T:simon6496ctr
0.920.960.99T:simon64128ctr
1.331.351.37T:hc128
1.361.371.41T:simon128128ctr
1.411.431.46T:simon128256ctr
1.491.501.52T:trivium
1.972.012.05T:hc256
2.002.072.14T:sosemanuk
2.252.282.32T:nlsv2
2.222.292.32T:snow20
2.272.322.38T:panama
2.14?2.36?2.55?T:tpy
2.23?2.37?2.54?T:tpy6
2.442.452.46T:cryptmtv3
2.532.592.64T:rabbit
3.00?3.26?3.36?T:tpypy
4.514.534.55T:lexv2
8.718.748.76T:aes128estream
13.5613.6013.63T:aes256estream
14.1514.3714.57T:ocelot1
14.9515.1716.18T:ocelot2
30.3730.6731.29T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.290.290.29chacha8
0.290.300.30aes256ctr
0.360.370.37salsa208
0.400.400.40chacha12
0.410.420.42T:aes128ctr
0.470.470.47salsa2012
0.500.500.51T:aes192ctr
0.560.570.57T:speck6496ctr
0.590.590.59T:speck64128ctr
0.590.600.60chacha20
0.670.680.68salsa20
0.690.690.70T:speck128128ctr
0.710.720.72T:speck128192ctr
0.720.720.74tango642
0.730.730.74T:speck128256ctr
0.770.770.78xsalsa20
1.071.071.10T:simon6496ctr
1.181.191.20T:simon64128ctr
1.581.591.62T:simon128128ctr
1.601.601.61T:trivium
1.801.801.82T:simon128256ctr
2.312.332.37T:sosemanuk
2.362.382.39T:snow20
2.392.402.43T:nlsv2
2.642.682.70T:rabbit
2.942.952.95T:cryptmtv3
3.023.043.06T:panama
3.043.093.20T:tpy6
3.703.823.87T:tpy
4.014.024.03T:hc128
4.634.644.65T:lexv2
4.804.844.90T:tpypy
8.428.448.45T:hc256
8.778.788.80T:aes128estream
13.6613.6713.69T:aes256estream
15.7415.8315.93T:ocelot1
16.6516.7317.33T:ocelot2
32.2832.4032.58T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.370.380.39aes256ctr
0.380.390.40chacha8
0.430.430.44salsa208
0.470.480.48T:aes128ctr
0.520.520.53chacha12
0.560.570.58salsa2012
0.590.600.60T:speck6496ctr
0.620.620.63T:speck64128ctr
0.690.700.71T:aes192ctr
0.730.740.74T:speck128128ctr
0.750.760.76T:speck128192ctr
0.770.780.78T:speck128256ctr
0.790.790.81chacha20
0.840.850.86salsa20
0.920.940.98tango642
1.081.091.12xsalsa20
1.301.321.36T:simon6496ctr
1.531.551.58T:simon64128ctr
1.771.781.79T:trivium
1.941.951.97T:simon128128ctr
2.412.432.45T:simon128256ctr
2.462.492.51T:snow20
2.762.772.82T:sosemanuk
2.732.782.82T:nlsv2
2.762.812.85T:rabbit
4.194.194.20T:cryptmtv3
4.194.254.34T:panama
4.234.324.39T:tpy6
4.834.854.87T:lexv2
6.206.276.32T:tpy
7.307.407.78T:tpypy
8.428.478.52T:hc128
8.878.908.93T:aes128estream
13.7613.8113.84T:aes256estream
18.1218.3418.62T:ocelot1
19.1119.1819.21T:hc256
19.0319.2120.27T:ocelot2
33.6635.4435.57T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.490.500.53chacha8
0.670.680.69chacha12
0.710.720.74salsa208
0.760.770.78T:speck6496ctr
0.800.810.83T:speck64128ctr
0.900.910.93T:aes128ctr
0.970.981.00T:speck128192ctr
0.991.001.02T:speck128256ctr
1.011.011.03aes256ctr
0.991.021.05salsa2012
1.031.041.05T:speck128128ctr
1.031.051.08chacha20
1.231.241.31T:aes192ctr
1.491.511.55tango642
1.561.571.60salsa20
2.202.222.25xsalsa20
2.242.262.28T:trivium
2.282.312.39T:simon64128ctr
2.382.402.46T:simon6496ctr
2.882.922.97T:snow20
3.073.133.21T:rabbit
3.483.533.66T:nlsv2
3.543.593.65T:simon128128ctr
3.843.883.96T:simon128256ctr
4.094.174.22T:sosemanuk
4.614.624.64T:cryptmtv3
5.345.365.40T:lexv2
7.367.597.70T:panama
7.577.667.86T:tpy6
9.109.129.17T:aes128estream
12.8013.2313.69T:tpy
14.0914.1414.25T:aes256estream
14.3014.8415.05T:tpypy
20.2720.3820.45T:hc128
24.7124.9025.56T:ocelot1
25.4425.7926.35T:ocelot2
41.5942.2342.55T:amastrid
47.4847.6647.80T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.36?2.48?2.69?T:speck6496ctr
2.48?2.62?2.80?T:speck64128ctr
2.942.973.05salsa208
3.193.303.45T:speck128192ctr
3.273.313.44T:speck128256ctr
3.843.923.97salsa2012
4.234.304.34chacha8
4.224.314.41T:speck128128ctr
5.235.335.39T:simon6496ctr
5.275.335.45T:aes128ctr
5.625.735.80salsa20
5.865.896.02chacha12
5.956.056.11T:simon64128ctr
7.177.287.30aes256ctr
7.53?7.69?8.55?T:rabbit
7.928.008.09T:cryptmtv3
7.988.098.19T:trivium
8.19?8.50?9.34?T:aes192ctr
8.068.558.88T:snow20
8.778.889.03T:simon128128ctr
8.78?9.02?10.23?tango642
9.129.229.48chacha20
10.0810.1710.27T:simon128256ctr
11.2011.3111.58xsalsa20
11.9112.0512.31T:aes128estream
11.8412.2212.52T:lexv2
16.36?17.69?18.19?T:nlsv2
18.4718.5818.86T:aes256estream
19.5019.6719.98T:sosemanuk
46.3947.3049.23T:panama
48.1648.5048.81T:tpy6
99.69100.73101.34T:tpy
94.53?106.66?109.77?T:tpypy
107.83?116.64?120.09?T:ocelot2
112.58117.20119.28T:ocelot1
120.67122.69127.14T:amastrid
171.58172.20173.30T:hc128
411.91413.17414.44T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.75?15.75?16.62?T:speck6496ctr
15.2515.7516.12T:speck64128ctr
18.0018.7519.25T:speck128192ctr
19.1219.5020.00T:speck128256ctr
20.12?23.62?25.00?T:speck128128ctr
24.8825.2525.75chacha8
25.8826.3828.75salsa208
26.7527.5028.88T:aes128ctr
35.1236.5037.62salsa2012
39.1239.6240.12aes256ctr
42.3843.0044.00T:simon6496ctr
44.1244.5044.88T:cryptmtv3
44.0044.6245.62chacha12
46.7548.1250.50T:rabbit
47.5048.5049.38T:simon64128ctr
45.38?53.75?55.75?T:aes128estream
53.0054.0054.62T:trivium
54.1255.1256.25salsa20
61.7562.2562.75chacha20
62.50?64.25?69.50?T:aes192ctr
65.2566.8871.00T:snow20
64.7567.5069.12T:aes256estream
67.00?68.00?75.62?tango642
67.6268.5069.00T:lexv2
71.7573.1273.75T:simon128128ctr
82.3883.0083.88T:simon128256ctr
83.0083.6285.25T:nlsv2
100.75102.62107.50xsalsa20
157.12159.62161.25T:sosemanuk
362.12374.00385.38T:panama
387.88400.62403.75T:tpy6
766.38791.50821.12T:ocelot2
786.88797.88817.25T:amastrid
819.12821.50843.00T:tpypy
766.62?834.25?873.38?T:tpy
796.88836.00857.12T:ocelot1
1374.121376.751383.12T:hc128
3303.003311.383321.12T:hc256