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 4 (a60f12); 2023 AMD Ryzen 7 7700; 8 x 3800MHz; hertz, supercop-20260330

[Page version: 20260418 07:16:21]

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.230.240.25aes256ctr
0.310.310.32chacha8
0.340.360.36T:aes128ctr
0.430.440.44chacha12
0.39?0.44?0.48?T:aes192ctr
0.560.570.58salsa208
0.600.610.61tango642
0.670.680.69chacha20
0.680.690.70T:speck6496ctr
0.690.700.71salsa2012
0.700.710.71T:speck64128ctr
0.770.790.80T:speck128128ctr
0.800.820.82T:speck128192ctr
0.810.830.84T:speck128256ctr
0.930.940.96salsa20
0.930.950.96xsalsa20
0.940.960.98T:simon6496ctr
0.88?0.97?1.10?T:simon64128ctr
1.171.201.23T:hc128
1.271.321.39T:tpy
1.331.351.36T:simon128128ctr
1.351.431.45T:simon128256ctr
1.531.581.64T:tpy6
1.551.591.61T:nlsv2
1.641.651.68T:hc256
1.661.691.74T:sosemanuk
1.621.701.75T:trivium
1.831.851.88T:cryptmtv3
2.032.042.05T:panama
2.02?2.15?2.28?T:tpypy
2.402.412.43T:snow20
3.053.123.25T:rabbit
4.004.044.07T:lexv2
8.128.158.22T:aes128estream
12.0012.0312.06T:aes256estream
12.7612.9613.11T:ocelot1
14.0414.1914.30T:ocelot2
27.0827.4628.02T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.27aes256ctr
0.320.320.33chacha8
0.360.370.38T:aes128ctr
0.440.450.45chacha12
0.580.590.59salsa208
0.610.630.64T:aes192ctr
0.690.690.69chacha20
0.710.710.72salsa2012
0.710.720.73T:speck6496ctr
0.740.740.74T:speck64128ctr
0.740.740.74tango642
0.810.820.83T:speck128128ctr
0.840.860.86T:speck128192ctr
0.860.870.88T:speck128256ctr
0.950.960.97salsa20
1.041.051.05xsalsa20
1.101.101.11T:simon6496ctr
1.271.341.36T:simon64128ctr
1.501.501.51T:simon128128ctr
1.731.751.76T:nlsv2
1.731.781.80T:simon128256ctr
1.791.851.87T:trivium
2.052.062.10T:sosemanuk
2.152.182.21T:tpy6
2.422.442.44T:cryptmtv3
2.482.492.50T:snow20
2.512.532.56T:tpy
2.632.642.64T:panama
3.183.233.32T:rabbit
3.283.343.40T:tpypy
3.853.873.88T:hc128
4.144.154.17T:lexv2
8.188.208.25T:aes128estream
9.069.069.08T:hc256
12.1012.1112.13T:aes256estream
13.7213.8213.90T:ocelot1
14.8914.9615.02T:ocelot2
28.4528.6728.79T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.290.30aes256ctr
0.400.400.41T:aes128ctr
0.410.420.42chacha8
0.530.530.54salsa208
0.580.590.59chacha12
0.670.680.68salsa2012
0.770.770.78T:speck6496ctr
0.790.790.80T:speck64128ctr
0.880.890.89T:speck128128ctr
0.900.910.92chacha20
0.900.920.95T:aes192ctr
0.920.920.92T:speck128192ctr
0.930.940.95T:speck128256ctr
0.940.940.95salsa20
0.960.960.97tango642
1.161.171.18xsalsa20
1.331.341.36T:simon6496ctr
1.741.751.78T:simon128128ctr
1.74?1.90?1.96?T:simon64128ctr
2.072.082.09T:trivium
2.102.122.14T:nlsv2
2.252.392.42T:simon128256ctr
2.612.612.64T:snow20
2.712.722.75T:sosemanuk
3.233.293.36T:tpy6
3.373.383.45T:rabbit
3.583.593.60T:cryptmtv3
3.613.633.64T:panama
4.364.374.43T:lexv2
4.454.594.69T:tpy
5.345.415.53T:tpypy
8.278.288.30T:aes128estream
8.288.308.31T:hc128
12.2112.2312.28T:aes256estream
15.1415.2815.41T:ocelot1
16.0616.1816.32T:ocelot2
21.4021.4121.44T:hc256
30.3530.4831.55T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.500.510.53T:aes128ctr
0.530.540.54salsa208
0.540.550.55aes256ctr
0.550.560.57chacha8
0.750.770.78chacha12
0.780.790.80salsa2012
1.061.071.08T:speck6496ctr
1.081.091.11T:speck64128ctr
1.191.211.23chacha20
1.271.271.27T:speck128128ctr
1.271.271.28salsa20
1.291.301.32T:speck128192ctr
1.331.341.34T:speck128256ctr
1.551.561.56tango642
1.701.731.85T:aes192ctr
1.881.901.91xsalsa20
2.262.262.27T:simon64128ctr
2.632.642.67T:simon128128ctr
2.662.682.81T:trivium
2.42?2.88?2.96?T:simon6496ctr
2.912.922.92T:simon128256ctr
2.942.962.99T:snow20
2.973.013.04T:nlsv2
3.943.953.98T:rabbit
4.414.424.42T:cryptmtv3
4.504.514.51T:sosemanuk
4.894.924.95T:lexv2
5.795.865.94T:tpy6
6.246.256.33T:panama
8.518.548.56T:aes128estream
9.699.8110.03T:tpy
10.7310.8310.90T:tpypy
12.5312.6012.76T:aes256estream
18.9119.0919.27T:ocelot1
19.7519.8720.05T:ocelot2
20.0620.1420.25T:hc128
33.2735.8836.15T:amastrid
54.2254.2554.34T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.51?1.53?1.73?T:aes128ctr
2.812.832.84salsa208
2.983.153.29aes256ctr
3.723.753.79salsa2012
3.803.863.88T:speck6496ctr
3.954.074.17T:speck64128ctr
4.624.754.90T:speck128128ctr
4.704.774.86chacha8
4.864.874.95T:simon6496ctr
5.105.155.21T:speck128256ctr
5.135.255.37T:speck128192ctr
5.525.545.55salsa20
5.835.926.01T:simon64128ctr
6.646.776.87chacha12
7.227.327.54T:snow20
8.228.298.49T:simon128128ctr
8.718.798.95T:cryptmtv3
9.169.169.29tango642
9.559.629.63T:simon128256ctr
10.5510.5710.60xsalsa20
10.5510.5710.64T:rabbit
10.4210.7010.84chacha20
11.0211.0311.10T:trivium
11.5311.6411.85T:lexv2
11.8311.9511.98T:aes128estream
12.0612.1212.95T:aes192ctr
16.5916.7116.80T:nlsv2
16.7716.8716.98T:aes256estream
24.6124.6924.90T:sosemanuk
37.9738.4838.98T:tpy6
40.0140.1640.39T:panama
65.5266.4768.32T:ocelot2
66.8368.5470.32T:ocelot1
75.7076.7677.31T:tpy
76.9678.0778.99T:tpypy
98.29100.86103.32T:amastrid
170.84171.15172.69T:hc128
476.46476.95477.27T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.16?12.36?13.78?T:aes128ctr
14.7514.7514.75T:speck6496ctr
17.0017.0817.50T:speck64128ctr
18.2518.2518.99T:speck128192ctr
18.7819.2519.25T:speck128256ctr
19.3819.8321.29T:speck128128ctr
25.1126.3127.15aes256ctr
28.3228.5028.61chacha8
34.1834.8135.25salsa208
35.3835.4435.93salsa2012
38.1238.2138.86T:simon6496ctr
42.1142.7043.20chacha12
48.8848.8848.94T:simon64128ctr
48.9849.2549.49T:aes128estream
55.7155.9656.24T:cryptmtv3
56.5957.5760.34T:snow20
60.7061.5161.74salsa20
61.4062.2563.10chacha20
63.2963.4963.67T:aes256estream
66.7467.3167.95T:rabbit
68.0068.5471.25T:lexv2
69.5069.5169.62tango642
76.8077.0878.38T:simon128128ctr
77.2577.2577.25T:trivium
87.5087.5387.73T:simon128256ctr
87.5088.1489.40T:nlsv2
98.33100.68108.20T:aes192ctr
102.09102.60103.44xsalsa20
196.95197.67200.02T:sosemanuk
297.38300.53304.46T:tpy6
313.91316.00317.54T:panama
419.86429.99442.86T:ocelot2
449.69461.51474.02T:ocelot1
601.22603.57608.58T:tpy
601.32609.99616.20T:tpypy
652.78666.58680.55T:amastrid
1365.021370.151378.89T:hc128
3808.053814.203815.69T:hc256