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 (860f01); 2022 AMD Ryzen 5 4500U; 6 x 3600MHz; renoir, supercop-20241022

[Page version: 20241215 22:59:29]

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.380.390.40T:aes192ctr
0.440.440.44T:aes128ctr
0.520.530.53chacha8
0.590.590.60aes256ctr
0.640.640.65salsa208
0.700.710.71tango642
0.720.730.73chacha12
0.910.910.92salsa2012
0.900.920.94T:speck6496ctr
0.940.950.95T:speck64128ctr
1.081.101.13T:speck128128ctr
1.101.111.15T:speck128192ctr
1.111.121.12chacha20
1.161.181.20T:speck128256ctr
1.361.371.39T:simon6496ctr
1.441.441.44T:simon64128ctr
1.451.451.45salsa20
1.441.451.49xsalsa20
1.571.581.60T:hc128
1.931.941.95T:simon128128ctr
2.022.052.07T:simon128256ctr
2.082.112.13T:cryptmtv3
2.172.182.21T:hc256
2.222.232.24T:sosemanuk
2.222.282.38T:tpy
2.332.372.37T:trivium
2.342.442.50T:tpy6
2.492.522.52T:nlsv2
2.522.532.55T:panama
2.722.742.74T:snow20
2.822.832.84T:rabbit
3.743.824.09T:tpypy
4.164.174.18T:lexv2
9.059.069.07T:aes128estream
12.8713.3513.51T:aes256estream
17.0417.2917.54T:ocelot1
18.9118.9619.06T:ocelot2
31.4231.7132.06T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.460.460.46T:aes128ctr
0.540.540.54chacha8
0.580.580.59T:aes192ctr
0.620.620.62aes256ctr
0.650.650.66salsa208
0.730.730.73chacha12
0.850.860.86tango642
0.920.920.93salsa2012
0.950.950.97T:speck6496ctr
0.980.990.99T:speck64128ctr
1.121.131.13chacha20
1.151.151.17T:speck128128ctr
1.161.161.19T:speck128192ctr
1.231.231.25T:speck128256ctr
1.461.461.46salsa20
1.561.561.58xsalsa20
1.591.591.59T:simon6496ctr
1.761.761.76T:simon64128ctr
2.232.232.23T:simon128128ctr
2.452.462.46T:trivium
2.482.492.49T:sosemanuk
2.492.492.50T:simon128256ctr
2.602.602.61T:cryptmtv3
2.672.692.69T:nlsv2
2.802.812.81T:snow20
2.922.922.92T:rabbit
3.123.163.17T:tpy6
3.383.383.39T:panama
3.873.913.96T:tpy
4.304.304.30T:lexv2
4.814.824.82T:hc128
5.375.415.60T:tpypy
9.089.099.09T:aes128estream
10.5710.5710.59T:hc256
13.1013.4513.47T:aes256estream
18.8218.9819.08T:ocelot1
20.6720.7020.73T:ocelot2
32.8132.9433.07T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.480.490.49T:aes128ctr
0.550.560.56chacha8
0.640.650.66aes256ctr
0.670.670.68salsa208
0.750.750.76chacha12
0.900.900.91T:aes192ctr
0.940.940.95salsa2012
1.001.011.02T:speck6496ctr
1.051.051.07T:speck64128ctr
1.101.101.11tango642
1.141.151.15chacha20
1.221.231.26T:speck128128ctr
1.241.241.27T:speck128192ctr
1.311.311.34T:speck128256ctr
1.481.481.48salsa20
1.731.731.76xsalsa20
1.941.961.96T:simon6496ctr
2.282.282.28T:simon64128ctr
2.622.632.63T:trivium
2.712.712.72T:simon128128ctr
2.942.952.96T:snow20
2.962.972.97T:sosemanuk
3.053.063.07T:rabbit
3.063.063.07T:nlsv2
3.203.243.26T:simon128256ctr
3.863.883.91T:cryptmtv3
4.314.374.46T:tpy6
4.534.534.54T:lexv2
4.784.804.81T:panama
6.586.616.62T:tpy
8.028.118.21T:tpypy
9.109.119.13T:aes128estream
10.2010.2010.21T:hc128
13.2113.6913.71T:aes256estream
21.6621.6921.73T:ocelot1
23.5523.6723.74T:ocelot2
24.5924.6024.61T:hc256
34.4634.6635.62T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.610.65T:aes128ctr
0.750.750.79chacha8
0.820.840.85aes256ctr
0.880.890.89salsa208
1.031.051.07chacha12
1.211.211.26T:speck6496ctr
1.231.231.24salsa2012
1.261.261.26T:speck64128ctr
1.541.541.55T:speck128128ctr
1.591.591.60T:speck128192ctr
1.591.601.65T:speck128256ctr
1.621.621.62chacha20
1.761.771.77T:aes192ctr
1.771.771.80tango642
1.931.941.95salsa20
2.582.602.63xsalsa20
3.063.063.10T:trivium
3.293.293.30T:snow20
3.423.423.44T:rabbit
3.533.533.58T:simon6496ctr
3.893.923.96T:nlsv2
4.074.074.07T:simon64128ctr
4.244.284.28T:sosemanuk
4.314.364.36T:cryptmtv3
5.185.195.19T:lexv2
5.205.225.25T:simon128128ctr
5.605.605.60T:simon128256ctr
7.217.277.45T:tpy6
8.538.548.57T:panama
9.349.409.53T:aes128estream
13.7113.7113.78T:tpy
13.5814.0114.05T:aes256estream
15.0715.1115.24T:tpypy
24.5724.5924.60T:hc128
28.9429.0729.32T:ocelot1
31.0031.1131.45T:ocelot2
40.1040.5341.05T:amastrid
61.8761.9061.94T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.951.982.14T:aes128ctr
2.67?2.72?2.98?aes256ctr
3.053.053.08chacha8
3.083.083.11salsa208
3.223.223.22T:speck6496ctr
3.413.413.41T:speck64128ctr
3.613.623.64chacha12
4.054.054.22T:speck128256ctr
4.094.094.09T:speck128192ctr
4.114.114.11T:speck128128ctr
4.064.124.12salsa2012
5.645.785.80chacha20
6.096.116.11salsa20
7.627.667.66T:rabbit
7.737.757.80T:snow20
7.947.957.98T:simon6496ctr
8.738.738.73T:simon64128ctr
8.75?8.86?9.77?T:trivium
9.149.369.36T:cryptmtv3
10.3610.3610.36tango642
11.9212.0212.08xsalsa20
12.4112.6112.70T:simon128128ctr
12.5512.6412.75T:aes192ctr
13.0813.1213.42T:lexv2
13.0213.1713.41T:aes128estream
13.8613.8813.89T:simon128256ctr
16.9717.3817.66T:nlsv2
18.3618.5918.61T:sosemanuk
18.7818.7818.86T:aes256estream
46.7047.2347.66T:tpy6
56.1156.4756.80T:panama
105.23105.64106.05T:tpypy
105.66105.80106.61T:tpy
112.31113.64115.23T:amastrid
122.30124.11125.62T:ocelot2
123.66124.62125.16T:ocelot1
208.69209.05209.16T:hc128
539.23539.77539.83T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.00?17.25?19.62?T:aes128ctr
19.25?19.25?21.88?T:speck6496ctr
20.6220.6222.62T:speck64128ctr
22.6222.6222.62T:speck128192ctr
23.1223.1223.12T:speck128256ctr
23.0023.7525.38aes256ctr
24.00?24.00?26.88?T:speck128128ctr
30.3830.5030.50chacha12
32.2532.2532.25salsa208
37.0037.0037.00chacha8
43.5044.0045.38T:simon6496ctr
45.5045.7545.75T:rabbit
47.5047.6247.62chacha20
48.8849.1250.12T:simon64128ctr
51.8851.8851.88salsa2012
53.62?53.88?61.75?T:trivium
59.0059.1259.50T:cryptmtv3
59.1259.3860.50T:aes128estream
61.6261.6261.75T:snow20
72.1272.1272.50T:simon128128ctr
71.6272.8874.62T:aes256estream
67.38?74.75?75.50?salsa20
78.6278.6278.62tango642
77.1279.6279.88T:lexv2
83.0083.0083.88T:simon128256ctr
91.5092.3893.12T:nlsv2
104.50105.00105.62T:aes192ctr
115.25121.12122.12xsalsa20
146.88147.75147.75T:sosemanuk
352.62362.50368.75T:tpy6
446.00448.75449.62T:panama
746.12766.12775.62T:amastrid
815.25822.50828.75T:tpypy
829.38830.75836.38T:tpy
835.00858.62866.12T:ocelot2
855.88893.88904.75T:ocelot1
1671.751672.121673.38T:hc128
4315.754316.754317.50T:hc256