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 (800f11); 2017 AMD Ryzen 7 1700; 8 x 3000MHz; rumba7, supercop-20250307

[Page version: 20250326 01:56:40]

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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.440.450.46T:aes128ctr
0.560.570.58T:aes192ctr
0.580.590.60aes256ctr
0.730.740.75tango642
0.930.940.96chacha8
1.221.231.23salsa208
1.261.301.30chacha12
1.761.771.77salsa2012
1.811.821.83T:hc128
1.791.821.83T:speck6496ctr
1.861.881.89T:speck64128ctr
1.931.951.99chacha20
2.062.082.09T:cryptmtv3
2.182.212.21T:speck128128ctr
2.102.252.28T:tpy
2.232.252.27T:speck128192ctr
2.272.302.36T:tpy6
2.312.312.31T:trivium
2.312.332.34T:speck128256ctr
2.39?2.47?2.79?T:sosemanuk
2.532.552.57T:hc256
2.622.632.65T:nlsv2
2.692.712.72T:simon6496ctr
2.822.822.83xsalsa20
2.832.832.83salsa20
2.962.972.98T:simon64128ctr
2.982.993.00T:panama
2.993.003.01T:rabbit
3.333.343.35T:snow20
3.753.793.82T:tpypy
4.034.044.05T:simon128256ctr
4.044.064.07T:simon128128ctr
4.214.224.22T:lexv2
9.189.219.23T:aes128estream
13.0513.2213.78T:aes256estream
18.4518.5118.81T:ocelot1
19.8820.0820.14T:ocelot2
32.04?34.56?36.24?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.480.480.48T:aes128ctr
0.610.620.62aes256ctr
0.900.900.91tango642
0.950.960.96T:aes192ctr
0.950.960.97chacha8
1.251.251.25salsa208
1.291.321.32chacha12
1.781.781.79salsa2012
1.851.861.87T:speck6496ctr
1.921.921.93T:speck64128ctr
1.961.982.01chacha20
2.252.252.26T:speck128128ctr
2.302.312.32T:speck128192ctr
2.372.382.39T:speck128256ctr
2.422.422.42T:trivium
2.632.632.64T:cryptmtv3
2.732.732.97T:sosemanuk
2.792.792.80T:nlsv2
2.852.852.85salsa20
2.902.912.92T:simon6496ctr
2.942.942.95xsalsa20
2.982.993.01T:tpy6
3.083.093.09T:rabbit
3.283.293.29T:simon64128ctr
3.423.433.44T:snow20
3.713.813.83T:tpy
3.953.953.95T:panama
4.324.334.34T:simon128128ctr
4.364.364.36T:lexv2
4.594.594.60T:simon128256ctr
4.904.904.91T:hc128
5.385.405.41T:tpypy
9.249.279.27T:aes128estream
10.9810.9810.99T:hc256
13.3113.3113.72T:aes256estream
19.6419.6719.89T:ocelot1
21.1421.2121.24T:ocelot2
34.1635.9936.97T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.530.530.53T:aes128ctr
0.660.670.68aes256ctr
0.980.981.00chacha8
1.161.171.18tango642
1.281.281.28salsa208
1.341.351.36chacha12
1.581.591.60T:aes192ctr
1.811.821.83salsa2012
1.931.931.93T:speck6496ctr
1.992.002.00T:speck64128ctr
2.012.022.03chacha20
2.332.332.33T:speck128128ctr
2.402.402.41T:speck128192ctr
2.472.472.50T:speck128256ctr
2.602.602.60T:trivium
2.882.882.88salsa20
3.113.133.13T:nlsv2
3.143.153.15xsalsa20
3.223.223.23T:sosemanuk
3.243.243.25T:rabbit
3.243.243.25T:simon6496ctr
3.593.603.60T:snow20
3.813.813.82T:simon64128ctr
3.983.994.02T:cryptmtv3
4.064.144.16T:tpy6
4.624.634.64T:lexv2
4.774.774.82T:simon128128ctr
5.495.505.50T:simon128256ctr
5.535.565.64T:panama
6.376.406.47T:tpy
8.098.138.17T:tpypy
9.359.359.38T:aes128estream
10.0210.0410.05T:hc128
13.4413.5013.82T:aes256estream
21.5721.7421.86T:ocelot1
23.0423.1123.27T:ocelot2
25.0225.0325.04T:hc256
37.2238.6039.22T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.690.700.73T:aes128ctr
0.860.870.89aes256ctr
1.121.131.13chacha8
1.451.481.49salsa208
1.541.551.56chacha12
1.871.871.92tango642
2.042.042.05salsa2012
2.162.192.23T:speck6496ctr
2.242.252.28T:speck64128ctr
2.372.382.39chacha20
2.602.612.65T:speck128128ctr
2.722.722.73T:speck128192ctr
2.802.802.85T:speck128256ctr
3.053.063.09T:trivium
3.213.213.21salsa20
3.343.383.59T:aes192ctr
3.653.673.70T:rabbit
3.893.903.92T:nlsv2
3.913.943.95xsalsa20
3.953.963.99T:snow20
4.494.514.51T:sosemanuk
4.654.674.73T:cryptmtv3
4.734.754.77T:simon6496ctr
5.235.275.31T:lexv2
5.775.785.81T:simon64128ctr
7.057.077.21T:simon128128ctr
7.177.217.28T:tpy6
9.679.699.72T:aes128estream
9.789.789.86T:panama
10.3110.3210.34T:simon128256ctr
13.4813.5613.64T:tpy
13.8914.0014.30T:aes256estream
15.1715.2915.38T:tpypy
23.7423.7723.79T:hc128
26.5326.5726.66T:ocelot1
28.0428.1228.25T:ocelot2
44.8645.1145.53T:amastrid
62.4962.5362.57T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.34?2.50?2.77?T:aes128ctr
2.662.662.70chacha8
2.832.983.14aes256ctr
3.143.343.36salsa208
3.593.663.83chacha12
4.194.224.30salsa2012
4.924.975.38T:speck6496ctr
4.95?5.00?5.59?T:speck64128ctr
5.475.535.53T:speck128192ctr
5.53?5.56?6.28?T:speck128256ctr
5.595.645.66chacha20
5.815.866.19T:speck128128ctr
6.146.206.47salsa20
8.618.819.14T:rabbit
8.848.949.09T:simon6496ctr
8.978.989.03T:trivium
9.029.099.33T:simon64128ctr
9.039.279.50T:snow20
10.7710.8111.27tango642
11.7311.9512.47T:cryptmtv3
12.5512.8312.92xsalsa20
13.5613.5813.91T:lexv2
13.6913.7313.78T:aes128estream
14.5914.6214.78T:simon128128ctr
15.5815.7715.88T:nlsv2
16.5316.6917.08T:simon128256ctr
19.6219.6419.89T:sosemanuk
19.3020.2320.30T:aes256estream
25.7725.8626.09T:aes192ctr
45.9146.3647.11T:tpy6
64.0564.4766.42T:panama
91.3391.6292.52T:ocelot1
92.2592.9893.94T:ocelot2
103.78104.27104.80T:tpy
109.52109.94110.11T:tpypy
126.39127.17128.70T:amastrid
198.80199.28199.34T:hc128
541.62541.73541.89T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.75?18.62?20.62?T:aes128ctr
19.8819.8819.88T:speck6496ctr
19.88?20.12?22.50?T:speck64128ctr
21.6222.2523.50aes256ctr
21.8822.3822.75chacha8
24.38?24.38?29.00?T:speck128192ctr
24.3824.5024.50T:speck128256ctr
23.50?26.75?29.38?T:speck128128ctr
31.12?34.12?36.38?chacha12
41.6241.7542.50salsa208
43.6243.6244.75T:simon6496ctr
45.6246.1248.50chacha20
48.3849.1250.88T:simon64128ctr
48.5049.1251.25salsa2012
52.8853.7555.25T:rabbit
55.2555.2555.62T:trivium
59.6261.7562.75T:aes128estream
68.1268.5069.50salsa20
71.2572.2573.12T:simon128128ctr
72.6274.5077.50T:snow20
78.3878.7580.12T:cryptmtv3
81.0081.0081.38T:lexv2
76.7581.6285.12T:aes256estream
81.8881.8881.88tango642
82.3882.7583.75T:nlsv2
86.2586.5086.50T:simon128256ctr
118.62118.62119.75xsalsa20
155.75155.75157.75T:sosemanuk
207.50208.62210.12T:aes192ctr
353.62355.88357.00T:tpy6
500.75504.00508.50T:panama
594.88599.50611.00T:ocelot1
598.12600.12605.62T:ocelot2
818.88820.62823.12T:tpy
837.12841.50851.50T:amastrid
856.12858.50861.38T:tpypy
1590.121590.881592.12T:hc128
4329.884331.884333.00T:hc256