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 (860f81); 2021 AMD Ryzen 3 5300U; 4 x 2600MHz; lucienne, supercop-20260217

[Page version: 20260310 02:19:31]

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.430.440.44T:aes128ctr
0.530.530.53chacha8
0.53?0.58?0.59?T:aes192ctr
0.590.600.60aes256ctr
0.640.640.65salsa208
0.650.660.67tango642
0.710.720.72chacha12
0.900.910.92T:speck6496ctr
0.910.910.92salsa2012
0.930.940.96T:speck64128ctr
1.101.111.11chacha20
1.091.111.13T:speck128128ctr
1.121.131.16T:speck128192ctr
1.161.171.19T:speck128256ctr
1.451.461.46T:simon6496ctr
1.451.461.46xsalsa20
1.461.471.47salsa20
1.511.521.52T:simon64128ctr
1.541.551.57T:hc128
1.951.992.02T:simon128128ctr
2.062.072.08T:cryptmtv3
2.062.092.13T:simon128256ctr
2.052.112.19T:tpy
2.152.172.17T:sosemanuk
2.262.272.28T:hc256
2.242.272.32T:tpy6
2.312.322.34T:trivium
2.562.582.59T:panama
2.592.602.61T:nlsv2
2.702.712.73T:snow20
2.832.842.85T:rabbit
3.463.613.66T:tpypy
4.174.174.18T:lexv2
8.99?9.14?10.29?T:aes128estream
12.7512.7712.80T:aes256estream
17.2517.6318.87T:ocelot1
18.7618.8518.95T:ocelot2
30.9131.4831.76T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.460.460.46T:aes128ctr
0.540.540.54chacha8
0.620.620.62aes256ctr
0.650.660.66salsa208
0.730.730.74chacha12
0.810.810.82tango642
0.920.920.93salsa2012
0.950.950.96T:speck6496ctr
0.950.960.96T:aes192ctr
0.990.991.00T:speck64128ctr
1.121.121.13chacha20
1.151.151.17T:speck128128ctr
1.181.181.20T:speck128192ctr
1.221.221.23T:speck128256ctr
1.471.471.48salsa20
1.571.571.57xsalsa20
1.721.721.72T:simon6496ctr
1.941.951.95T:simon64128ctr
2.282.292.30T:simon128128ctr
2.422.422.43T:trivium
2.442.442.44T:sosemanuk
2.552.552.57T:simon128256ctr
2.572.582.58T:cryptmtv3
2.752.752.76T:nlsv2
2.792.802.81T:snow20
2.912.922.93T:rabbit
2.942.942.96T:tpy6
3.383.393.39T:panama
3.593.623.65T:tpy
4.304.304.31T:lexv2
4.524.534.54T:hc128
4.995.095.12T:tpypy
9.109.169.99T:aes128estream
10.4010.4010.41T:hc256
12.8412.8512.86T:aes256estream
18.5718.6619.55T:ocelot1
19.8319.8719.92T:ocelot2
32.4732.8332.97T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.490.490.50T:aes128ctr
0.550.560.56chacha8
0.650.660.66aes256ctr
0.670.670.68salsa208
0.750.760.76chacha12
0.940.950.95salsa2012
1.011.011.04T:speck6496ctr
1.041.041.09T:speck64128ctr
1.051.051.05tango642
1.141.151.15chacha20
1.231.231.25T:speck128128ctr
1.271.271.28T:speck128192ctr
1.291.301.32T:speck128256ctr
1.481.491.50salsa20
1.541.571.66T:aes192ctr
1.761.761.77xsalsa20
2.152.152.16T:simon6496ctr
2.602.602.61T:trivium
2.662.672.68T:simon64128ctr
2.772.782.83T:simon128128ctr
2.952.952.96T:snow20
2.952.962.96T:sosemanuk
3.053.053.06T:rabbit
3.083.093.10T:nlsv2
3.303.323.34T:simon128256ctr
3.853.863.86T:cryptmtv3
4.064.094.17T:tpy6
4.534.534.53T:lexv2
4.724.744.75T:panama
6.086.126.17T:tpy
7.477.618.19T:tpypy
9.079.199.22T:aes128estream
9.489.499.51T:hc128
12.9913.0213.02T:aes256estream
20.2620.3621.26T:ocelot1
21.5921.7421.82T:ocelot2
23.9423.9623.97T:hc256
34.6435.5136.34T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.620.65T:aes128ctr
0.770.770.77chacha8
0.840.840.88aes256ctr
0.890.900.91salsa208
1.051.061.07chacha12
1.231.231.25T:speck6496ctr
1.241.241.24salsa2012
1.261.271.28T:speck64128ctr
1.531.531.55T:speck128128ctr
1.561.561.60T:speck128192ctr
1.561.571.62T:speck128256ctr
1.621.631.63chacha20
1.721.721.74tango642
1.951.951.96salsa20
2.652.652.86xsalsa20
3.033.043.05T:trivium
3.213.233.28T:aes192ctr
3.343.363.38T:snow20
3.413.423.45T:rabbit
3.463.473.48T:simon64128ctr
3.833.863.89T:nlsv2
3.903.913.94T:simon6496ctr
4.314.324.33T:sosemanuk
4.354.364.37T:cryptmtv3
5.145.155.18T:lexv2
5.205.215.23T:simon128128ctr
5.595.595.63T:simon128256ctr
6.977.087.18T:tpy6
8.298.318.33T:panama
9.309.469.71T:aes128estream
12.8012.8712.93T:tpy
13.3413.3513.39T:aes256estream
14.4114.5714.68T:tpypy
22.6822.6922.69T:hc128
24.8625.1525.72T:ocelot1
26.0726.1826.49T:ocelot2
40.4840.9041.63T:amastrid
60.0460.1160.14T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.022.022.11T:aes128ctr
2.722.732.75chacha8
2.722.772.81aes256ctr
3.113.143.14salsa208
3.303.303.35T:speck6496ctr
3.483.483.49T:speck64128ctr
3.733.743.78chacha12
4.124.134.14T:speck128192ctr
4.124.144.16salsa2012
4.184.194.19T:speck128128ctr
4.264.294.32T:speck128256ctr
5.765.795.85chacha20
6.126.166.18salsa20
7.487.487.68T:simon6496ctr
7.897.907.99T:rabbit
7.937.968.06T:snow20
8.678.698.78T:simon64128ctr
8.808.829.52T:trivium
9.199.259.27T:cryptmtv3
10.2510.2910.49tango642
12.3012.3112.36xsalsa20
12.6612.6712.79T:simon128128ctr
12.6312.7012.92T:lexv2
13.0613.2013.75T:aes128estream
14.1914.2414.33T:simon128256ctr
16.0116.2716.53T:nlsv2
18.0718.1118.26T:aes256estream
18.7818.7818.78T:sosemanuk
24.55?25.02?33.75?T:aes192ctr
45.7045.7847.06T:tpy6
53.2753.6254.31T:panama
83.9284.1585.39T:ocelot2
83.8784.4585.87T:ocelot1
100.11100.40101.06T:tpy
103.89104.11104.61T:tpypy
116.38117.54119.78T:amastrid
191.90192.02192.21T:hc128
522.27522.52523.28T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.33?16.67?18.42?T:aes128ctr
19.6219.6221.09T:speck6496ctr
20.2520.2520.56T:speck64128ctr
22.3822.3824.52aes256ctr
22.4322.7123.03chacha8
23.3823.5024.38T:speck128128ctr
25.78?27.73?30.55?T:speck128256ctr
27.51?28.96?32.07?T:speck128192ctr
30.3930.5030.66chacha12
39.7740.3840.38salsa208
41.9542.9444.16T:simon6496ctr
46.5047.0847.62chacha20
48.7548.8850.10T:rabbit
50.9151.3452.64T:simon64128ctr
52.2552.2753.94salsa2012
54.0054.4456.75T:trivium
58.1258.2358.43T:cryptmtv3
59.0459.2560.47T:aes128estream
63.6964.1865.89T:snow20
67.3867.5068.14salsa20
67.7868.0569.19T:aes256estream
68.8971.0173.71T:simon128128ctr
77.2278.2078.93T:lexv2
78.5078.6179.20tango642
82.7384.0185.27T:nlsv2
118.91120.38120.39xsalsa20
144.85148.00149.04T:simon128256ctr
150.38150.38150.38T:sosemanuk
198.53?202.61?265.57?T:aes192ctr
351.38353.78355.50T:tpy6
421.74423.88425.80T:panama
534.31542.96550.42T:ocelot2
542.95551.79560.93T:ocelot1
770.66783.34796.49T:amastrid
785.42791.85793.53T:tpy
804.76805.71807.53T:tpypy
1534.201535.351536.28T:hc128
4173.494176.414179.10T:hc256