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 2 (830f10); 2019 AMD EPYC 7742; 64 x 2250MHz; rome0, supercop-20240909

[Page version: 20240912 11:46:14]

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.390.400.41T:aes192ctr
0.430.440.44T:aes128ctr
0.520.520.53chacha8
0.590.600.60aes256ctr
0.640.640.65salsa208
0.700.710.72tango642
0.720.720.73chacha12
0.910.910.93T:speck6496ctr
0.910.920.92salsa2012
0.940.950.97T:speck64128ctr
1.081.111.13T:speck128128ctr
1.101.111.12chacha20
1.131.141.15T:speck128192ctr
1.171.181.21T:speck128256ctr
1.361.371.38T:simon6496ctr
1.441.451.45T:simon64128ctr
1.451.451.45xsalsa20
1.441.451.46salsa20
1.611.611.62T:hc128
1.931.951.98T:simon128128ctr
2.012.042.05T:simon128256ctr
2.092.092.13T:cryptmtv3
2.172.192.20T:hc256
2.232.232.24T:sosemanuk
2.332.352.37T:trivium
2.362.442.51T:tpy
2.522.522.54T:nlsv2
2.502.532.57T:tpy6
2.532.542.55T:panama
2.702.712.72T:snow20
2.832.832.87T:rabbit
3.863.914.01T:tpypy
4.164.174.18T:lexv2
9.029.079.09T:aes128estream
12.8813.3713.57T:aes256estream
17.1917.4317.54T:ocelot1
18.6418.7918.99T:ocelot2
30.5430.9432.59T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.460.460.46T:aes128ctr
0.530.540.54chacha8
0.570.580.58T:aes192ctr
0.630.630.63aes256ctr
0.650.650.66salsa208
0.730.730.74chacha12
0.850.850.86tango642
0.920.930.93salsa2012
0.950.950.96T:speck6496ctr
0.980.991.00T:speck64128ctr
1.121.121.13chacha20
1.151.151.17T:speck128128ctr
1.191.191.19T:speck128192ctr
1.231.231.25T:speck128256ctr
1.461.461.46salsa20
1.551.551.56xsalsa20
1.591.591.59T:simon6496ctr
1.761.761.76T:simon64128ctr
2.222.232.25T:simon128128ctr
2.452.452.47T:trivium
2.492.492.49T:sosemanuk
2.492.492.49T:simon128256ctr
2.602.602.62T:cryptmtv3
2.672.672.68T:nlsv2
2.802.812.81T:snow20
2.912.922.94T:rabbit
3.193.193.22T:tpy6
3.383.383.39T:panama
3.923.974.00T:tpy
4.294.304.30T:lexv2
4.834.834.84T:hc128
5.455.495.54T:tpypy
9.089.089.10T:aes128estream
10.5810.5810.59T:hc256
13.1013.4513.50T:aes256estream
18.9719.0819.10T:ocelot1
20.4820.5620.64T:ocelot2
32.2832.4633.55T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.490.490.49T:aes128ctr
0.550.550.56chacha8
0.670.670.67salsa208
0.670.680.69aes256ctr
0.750.760.76chacha12
0.860.880.89T:aes192ctr
0.940.940.95salsa2012
1.001.011.02T:speck6496ctr
1.051.051.07T:speck64128ctr
1.091.091.09tango642
1.131.151.15chacha20
1.221.231.23T:speck128128ctr
1.241.241.26T:speck128192ctr
1.311.311.33T:speck128256ctr
1.481.481.49salsa20
1.721.721.73xsalsa20
1.941.951.96T:simon6496ctr
2.282.282.28T:simon64128ctr
2.632.632.63T:trivium
2.682.712.72T:simon128128ctr
2.952.962.97T:sosemanuk
2.962.972.97T:snow20
3.063.063.06T:rabbit
3.073.083.08T:nlsv2
3.223.243.26T:simon128256ctr
3.883.883.90T:cryptmtv3
4.314.364.43T:tpy6
4.524.534.54T:lexv2
4.794.814.81T:panama
6.446.466.56T:tpy
8.098.138.18T:tpypy
9.089.109.15T:aes128estream
10.1810.1810.18T:hc128
13.2013.5713.57T:aes256estream
22.0022.0522.08T:ocelot1
23.4023.4623.59T:ocelot2
24.5924.6024.60T:hc256
34.3634.5235.49T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.650.650.65T:aes128ctr
0.750.750.75chacha8
0.890.900.90salsa208
1.041.041.05chacha12
1.051.061.09aes256ctr
1.211.211.24T:speck6496ctr
1.231.241.24salsa2012
1.261.261.26T:speck64128ctr
1.541.541.54T:speck128128ctr
1.591.591.62T:speck128192ctr
1.591.601.64T:speck128256ctr
1.631.631.64chacha20
1.681.711.73T:aes192ctr
1.741.751.76tango642
1.931.941.95salsa20
2.582.582.60xsalsa20
3.063.063.13T:trivium
3.383.403.42T:snow20
3.413.433.43T:rabbit
3.533.533.58T:simon6496ctr
3.903.913.94T:nlsv2
4.074.074.07T:simon64128ctr
4.234.274.29T:sosemanuk
4.324.354.38T:cryptmtv3
5.145.145.14T:lexv2
5.205.245.34T:simon128128ctr
5.605.615.72T:simon128256ctr
7.247.287.38T:tpy6
8.558.578.57T:panama
9.279.349.35T:aes128estream
13.1413.1813.21T:tpy
13.6013.9514.02T:aes256estream
15.0915.1315.21T:tpypy
24.5224.5724.57T:hc128
29.1129.8629.94T:ocelot1
30.8031.1431.24T:ocelot2
40.5140.8642.44T:amastrid
61.8661.8661.90T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.95?1.98?2.39?T:aes128ctr
2.592.612.62chacha8
3.143.163.19salsa208
3.223.223.22T:speck6496ctr
3.413.413.41T:speck64128ctr
3.623.643.66chacha12
4.054.064.11T:speck128256ctr
4.064.064.12salsa2012
4.094.094.09T:speck128192ctr
4.114.114.11T:speck128128ctr
5.615.625.67chacha20
5.315.705.73aes256ctr
6.096.116.14salsa20
7.597.597.59T:rabbit
7.947.988.12T:simon6496ctr
8.738.738.73T:simon64128ctr
8.77?8.83?9.75?T:trivium
8.888.989.12T:snow20
9.129.239.33T:cryptmtv3
10.0810.0910.22tango642
11.9412.0312.11xsalsa20
12.3012.3912.42T:aes192ctr
12.4112.4512.48T:simon128128ctr
12.5912.8313.06T:lexv2
12.9412.9713.14T:aes128estream
13.8813.9113.98T:simon128256ctr
18.3618.4218.61T:sosemanuk
18.4718.6218.80T:nlsv2
18.6918.7719.08T:aes256estream
45.5346.3846.62T:tpy6
56.6156.9257.02T:panama
99.95100.08101.06T:tpy
104.53104.77105.25T:tpypy
116.81118.09119.98T:amastrid
121.47123.66126.73T:ocelot2
121.25124.95126.02T:ocelot1
208.72208.89209.02T:hc128
538.95539.88540.25T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.7517.2517.38T:aes128ctr
19.2519.2519.25T:speck6496ctr
20.6220.6220.62T:speck64128ctr
22.2522.3822.75chacha8
22.6222.6222.62T:speck128192ctr
23.1224.0024.00T:speck128256ctr
24.0024.2524.38T:speck128128ctr
25.0025.6227.75aes256ctr
30.1230.5030.50chacha12
42.7542.7542.75salsa208
43.7544.6245.88T:simon6496ctr
45.7545.7545.75T:rabbit
46.6246.8847.38chacha20
48.8849.1250.12T:simon64128ctr
52.5052.5052.75salsa2012
54.00?54.00?61.75?T:trivium
58.2558.3859.12T:cryptmtv3
59.0059.3860.50T:aes128estream
67.1267.2573.38salsa20
69.6270.0070.12T:snow20
72.0072.2574.12T:aes256estream
74.0074.3878.00T:simon128128ctr
76.1276.7577.00T:lexv2
76.8877.3878.00tango642
83.6285.0088.00T:simon128256ctr
86.3887.6289.00T:nlsv2
99.50102.50107.88T:aes192ctr
116.38117.25117.62xsalsa20
146.62147.75147.75T:sosemanuk
350.12351.38357.00T:tpy6
451.25452.12452.75T:panama
754.62763.62777.50T:amastrid
784.12786.62788.25T:tpy
808.38810.38820.12T:tpypy
853.50864.12878.25T:ocelot1
876.00887.00890.62T:ocelot2
1669.001669.881671.12T:hc128
4312.384314.884317.38T:hc256