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

[Page version: 20260221 06:45:09]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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.440.440.45T:aes128ctr
0.520.520.53chacha8
0.520.550.57T:aes192ctr
0.590.590.60aes256ctr
0.640.640.65salsa208
0.690.690.70tango642
0.710.710.72chacha12
0.900.910.93T:speck6496ctr
0.910.910.92salsa2012
0.940.940.96T:speck64128ctr
1.091.111.13T:speck128128ctr
1.111.111.12chacha20
1.111.131.15T:speck128192ctr
1.151.171.17T:speck128256ctr
1.461.461.46T:simon6496ctr
1.451.461.48xsalsa20
1.451.461.47salsa20
1.511.521.53T:simon64128ctr
1.551.561.56T:hc128
1.971.992.01T:simon128128ctr
2.042.072.10T:simon128256ctr
2.062.072.09T:cryptmtv3
2.062.162.18T:tpy
2.162.162.17T:sosemanuk
2.232.252.28T:hc256
2.242.272.32T:tpy6
2.312.322.34T:trivium
2.472.492.52T:nlsv2
2.572.592.60T:panama
2.692.712.72T:snow20
2.832.842.85T:rabbit
3.19?3.46?3.65?T:tpypy
4.174.184.18T:lexv2
9.029.069.15T:aes128estream
12.6612.7712.96T:aes256estream
17.2817.4217.55T:ocelot1
18.7518.9119.29T:ocelot2
29.8731.7032.20T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.460.460.47T:aes128ctr
0.540.540.54chacha8
0.620.620.62aes256ctr
0.650.650.66salsa208
0.730.730.73chacha12
0.830.830.84tango642
0.920.920.93salsa2012
0.930.940.95T:aes192ctr
0.950.950.96T:speck6496ctr
0.990.991.00T:speck64128ctr
1.121.131.13chacha20
1.151.151.17T:speck128128ctr
1.181.181.19T:speck128192ctr
1.221.221.22T:speck128256ctr
1.471.471.48salsa20
1.571.581.59xsalsa20
1.721.721.72T:simon6496ctr
1.971.981.98T:simon64128ctr
2.272.282.29T:simon128128ctr
2.422.422.43T:trivium
2.432.432.44T:sosemanuk
2.542.542.55T:simon128256ctr
2.582.582.59T:cryptmtv3
2.652.662.67T:nlsv2
2.792.792.80T:snow20
2.912.922.92T:rabbit
2.932.942.96T:tpy6
3.393.403.41T:panama
3.593.663.67T:tpy
4.304.304.31T:lexv2
4.534.534.53T:hc128
4.804.985.09T:tpypy
9.109.119.16T:aes128estream
10.3910.4010.41T:hc256
12.8412.8612.99T:aes256estream
18.3618.4218.48T:ocelot1
19.8619.9420.18T:ocelot2
31.8633.1233.41T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.490.490.49T:aes128ctr
0.550.560.56chacha8
0.650.660.66aes256ctr
0.670.670.67salsa208
0.740.750.75chacha12
0.940.950.95salsa2012
1.011.011.03T:speck6496ctr
1.041.041.07T:speck64128ctr
1.051.051.06tango642
1.151.151.15chacha20
1.231.231.24T:speck128128ctr
1.261.271.28T:speck128192ctr
1.301.311.31T:speck128256ctr
1.491.491.50salsa20
1.531.551.56T:aes192ctr
1.771.771.78xsalsa20
2.152.152.15T:simon6496ctr
2.602.602.60T:trivium
2.732.742.74T:simon64128ctr
2.762.772.78T:simon128128ctr
2.932.932.94T:sosemanuk
2.942.952.96T:snow20
3.013.033.03T:nlsv2
3.053.063.07T:rabbit
3.293.323.33T:simon128256ctr
3.873.873.88T:cryptmtv3
4.044.074.08T:tpy6
4.524.534.53T:lexv2
4.744.764.77T:panama
6.036.096.15T:tpy
7.347.407.55T:tpypy
9.089.109.22T:aes128estream
9.479.489.49T:hc128
12.9713.0013.22T:aes256estream
20.1420.2820.37T:ocelot1
21.8021.8721.97T:ocelot2
23.9423.9523.97T:hc256
34.9735.2035.68T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.620.64T:aes128ctr
0.770.770.77chacha8
0.830.840.86aes256ctr
0.890.900.90salsa208
1.041.041.04chacha12
1.231.231.23T:speck6496ctr
1.241.241.25salsa2012
1.261.271.28T:speck64128ctr
1.531.531.53T:speck128128ctr
1.561.561.60T:speck128192ctr
1.561.571.61T:speck128256ctr
1.631.631.63chacha20
1.661.661.68tango642
1.951.951.96salsa20
2.652.652.66xsalsa20
3.043.053.05T:trivium
3.153.183.23T:aes192ctr
3.343.373.40T:snow20
3.403.423.45T:rabbit
3.463.483.49T:simon64128ctr
3.853.883.90T:nlsv2
3.903.903.91T:simon6496ctr
4.244.254.26T:sosemanuk
4.354.364.39T:cryptmtv3
5.135.145.16T:lexv2
5.205.215.28T:simon128128ctr
5.595.605.66T:simon128256ctr
6.936.997.06T:tpy6
8.348.398.41T:panama
9.339.359.45T:aes128estream
12.7312.7812.86T:tpy
13.3613.3913.62T:aes256estream
14.2114.3214.64T:tpypy
22.6822.7022.73T:hc128
24.5324.6424.81T:ocelot1
26.0926.2926.50T:ocelot2
40.3440.7441.10T:amastrid
60.0660.0960.17T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.022.032.14T:aes128ctr
2.722.722.74chacha8
2.722.772.82aes256ctr
3.123.143.15salsa208
3.303.303.30T:speck6496ctr
3.483.483.48T:speck64128ctr
3.623.673.73chacha12
4.164.164.17salsa2012
4.134.194.33T:speck128192ctr
4.194.194.30T:speck128128ctr
4.294.304.30T:speck128256ctr
5.735.775.82chacha20
6.146.166.18salsa20
7.497.507.70T:simon6496ctr
7.667.667.81T:rabbit
7.958.018.30T:snow20
8.718.728.77T:simon64128ctr
8.848.889.05T:trivium
9.199.339.52T:cryptmtv3
9.689.699.80tango642
12.2712.3312.47xsalsa20
12.5912.6513.09T:lexv2
12.6712.7612.85T:simon128128ctr
13.1113.3413.45T:aes128estream
14.1914.2214.38T:simon128256ctr
16.6816.8116.96T:nlsv2
17.9618.0718.70T:aes256estream
18.6118.6118.61T:sosemanuk
24.0024.3924.77T:aes192ctr
44.6545.4645.99T:tpy6
54.0254.4054.77T:panama
82.2882.6683.87T:ocelot1
83.4584.5485.87T:ocelot2
100.00100.43100.87T:tpy
103.16103.81104.44T:tpypy
116.23117.46119.59T:amastrid
191.84192.06192.14T:hc128
522.21522.55522.73T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.45?17.43?19.21?T:aes128ctr
19.62?19.62?22.18?T:speck6496ctr
20.2520.2521.80T:speck64128ctr
22.3022.6922.91chacha8
23.3823.3823.86T:speck128128ctr
23.0623.7524.65aes256ctr
26.16?27.94?29.73?T:speck128256ctr
27.68?29.03?31.21?T:speck128192ctr
30.2930.5032.06chacha12
41.8842.7944.00T:simon6496ctr
46.0046.0047.30T:rabbit
46.7147.1847.60chacha20
48.1448.2548.39salsa208
50.6651.0251.97T:simon64128ctr
54.5654.8859.01T:trivium
58.4959.6260.12T:cryptmtv3
59.6259.7460.03T:aes128estream
60.8161.3561.93salsa2012
63.5063.6264.83T:snow20
68.2268.4470.31T:aes256estream
73.0573.1273.88tango642
73.7774.1474.67T:simon128128ctr
78.1278.4479.19T:lexv2
80.8181.1982.78T:simon128256ctr
86.0486.8886.88salsa20
88.2588.9489.62T:nlsv2
138.33139.30139.76xsalsa20
152.88152.88153.67T:sosemanuk
197.17197.46197.88T:aes192ctr
344.07344.71350.59T:tpy6
427.83430.15432.74T:panama
536.72538.79545.78T:ocelot2
540.46543.41550.77T:ocelot1
770.68786.60798.50T:amastrid
784.83787.21788.79T:tpy
804.28806.48808.78T:tpypy
1536.151537.661538.62T:hc128
4173.974176.224177.97T:hc256