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

[Page version: 20261013 16:30: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 (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.31chacha8
0.340.360.36T:aes128ctr
0.410.420.43chacha12
0.39?0.42?0.45?T:aes192ctr
0.560.570.58salsa208
0.590.590.60tango642
0.640.650.67T:speck6496ctr
0.650.660.66chacha20
0.680.690.69salsa2012
0.650.690.72T:speck64128ctr
0.770.790.80T:speck128128ctr
0.810.820.83T:speck128192ctr
0.790.840.87T:speck128256ctr
0.930.940.95salsa20
0.930.940.97xsalsa20
0.940.960.97T:simon6496ctr
0.88?0.98?1.11?T:simon64128ctr
1.231.291.34T:tpy
1.271.291.32T:hc128
1.341.351.37T:simon128128ctr
1.371.421.49T:simon128256ctr
1.541.551.57T:nlsv2
1.491.561.61T:tpy6
1.661.681.70T:sosemanuk
1.751.771.83T:trivium
1.751.791.80T:hc256
1.831.851.86T:cryptmtv3
2.022.042.06T:panama
2.062.132.19T:tpypy
2.412.422.43T:snow20
2.522.532.54T:rabbit
4.014.024.03T:lexv2
8.128.148.16T:aes128estream
12.0312.0612.11T:aes256estream
12.6612.8012.91T:ocelot1
13.9114.0414.24T:ocelot2
25.5827.3827.66T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.26aes256ctr
0.310.310.32chacha8
0.370.380.38T:aes128ctr
0.430.430.44chacha12
0.580.580.59salsa208
0.630.640.65T:aes192ctr
0.660.660.67chacha20
0.680.680.69T:speck6496ctr
0.700.700.71salsa2012
0.710.720.74T:speck64128ctr
0.730.730.73tango642
0.810.820.83T:speck128128ctr
0.860.860.86T:speck128192ctr
0.860.880.90T:speck128256ctr
0.950.960.96salsa20
1.041.041.06xsalsa20
1.101.101.11T:simon6496ctr
1.281.341.36T:simon64128ctr
1.501.501.51T:simon128128ctr
1.731.731.74T:nlsv2
1.761.791.80T:simon128256ctr
1.911.921.95T:trivium
2.042.052.05T:sosemanuk
2.132.172.19T:tpy6
2.402.422.42T:cryptmtv3
2.492.492.50T:snow20
2.482.502.52T:tpy
2.602.602.61T:rabbit
2.632.642.64T:panama
3.333.363.39T:tpypy
3.773.783.78T:hc128
4.144.144.15T:lexv2
8.188.198.20T:aes128estream
9.149.159.15T:hc256
12.1112.1212.16T:aes256estream
13.6213.6913.74T:ocelot1
14.8414.9014.99T:ocelot2
27.4128.4528.52T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.290.30aes256ctr
0.400.400.41T:aes128ctr
0.400.410.41chacha8
0.530.540.55salsa208
0.560.570.59chacha12
0.670.680.68salsa2012
0.730.740.75T:speck6496ctr
0.76?0.78?0.86?T:speck64128ctr
0.870.880.88chacha20
0.870.880.89T:speck128128ctr
0.900.910.91T:speck128192ctr
0.920.940.97T:aes192ctr
0.940.940.95salsa20
0.940.951.01T:speck128256ctr
0.960.960.97tango642
1.171.171.18xsalsa20
1.341.341.36T:simon6496ctr
1.741.741.76T:simon128128ctr
1.72?1.90?1.95?T:simon64128ctr
2.102.112.12T:nlsv2
2.192.202.20T:trivium
2.272.412.43T:simon128256ctr
2.612.622.63T:snow20
2.682.692.70T:sosemanuk
2.722.722.73T:rabbit
3.263.313.38T:tpy6
3.613.633.64T:cryptmtv3
3.623.633.65T:panama
4.354.354.37T:lexv2
4.534.574.63T:tpy
5.325.415.47T:tpypy
7.917.927.95T:hc128
8.298.308.33T:aes128estream
12.2312.2712.33T:aes256estream
15.1515.2515.39T:ocelot1
16.0616.2116.36T:ocelot2
21.3821.4021.41T:hc256
29.2630.4430.58T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.500.510.53T:aes128ctr
0.540.550.56salsa208
0.550.550.56aes256ctr
0.540.560.57chacha8
0.750.780.80chacha12
0.790.800.81salsa2012
1.061.071.09T:speck6496ctr
1.081.101.11T:speck64128ctr
1.161.181.20chacha20
1.261.261.26T:speck128128ctr
1.261.281.29salsa20
1.301.321.33T:speck128192ctr
1.331.351.38T:speck128256ctr
1.551.561.60tango642
1.78?1.89?2.05?T:aes192ctr
1.901.921.92xsalsa20
2.252.262.27T:simon64128ctr
2.642.662.68T:simon128128ctr
2.802.842.85T:trivium
2.41?2.84?2.95?T:simon6496ctr
2.892.922.95T:simon128256ctr
2.922.942.97T:snow20
3.003.023.04T:nlsv2
3.043.043.05T:rabbit
4.324.384.43T:cryptmtv3
4.414.424.46T:sosemanuk
4.894.894.91T:lexv2
5.745.825.93T:tpy6
6.286.306.32T:panama
8.518.548.60T:aes128estream
9.599.719.80T:tpy
10.4110.6210.97T:tpypy
12.5212.5612.60T:aes256estream
18.8718.9919.01T:hc128
19.0619.3019.53T:ocelot1
19.7219.8820.11T:ocelot2
34.9035.1635.42T:amastrid
54.1054.1254.26T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.52?1.65?1.84?T:aes128ctr
2.812.822.84salsa208
3.063.173.27aes256ctr
3.723.723.73salsa2012
3.753.773.80T:speck6496ctr
3.873.904.17T:speck64128ctr
4.604.644.74chacha8
4.614.674.75T:speck128128ctr
4.925.045.18T:simon6496ctr
5.095.155.59T:speck128256ctr
5.075.235.41T:speck128192ctr
5.535.535.57salsa20
5.885.966.12T:simon64128ctr
6.486.707.01chacha12
7.207.207.22T:rabbit
7.137.217.29T:snow20
8.268.318.34T:simon128128ctr
8.578.718.94T:cryptmtv3
9.279.319.58tango642
9.589.589.65T:simon128256ctr
10.1410.2910.42chacha20
10.7110.7310.75xsalsa20
11.0611.1111.19T:trivium
11.4911.5411.55T:lexv2
11.6911.7311.91T:aes128estream
12.1612.4813.21T:aes192ctr
16.7916.8816.96T:aes256estream
16.9017.2217.59T:nlsv2
23.7523.9424.51T:sosemanuk
37.5138.6639.69T:tpy6
40.2640.3140.45T:panama
67.1468.4669.79T:ocelot1
67.7868.7769.90T:ocelot2
75.4775.6276.41T:tpy
77.4077.8978.47T:tpypy
99.25100.23101.21T:amastrid
159.78160.61161.18T:hc128
473.52474.19474.61T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.5514.4714.96T:aes128ctr
18.2518.2519.01T:speck128192ctr
18.5018.5018.71T:speck64128ctr
18.6218.6218.62T:speck128256ctr
18.6218.6218.79T:speck6496ctr
19.3819.3819.89T:speck128128ctr
24.16?25.44?27.00?aes256ctr
35.5736.1836.43chacha8
36.4037.0539.67salsa208
38.1238.1238.84T:simon6496ctr
42.5243.0244.06T:rabbit
43.1943.2543.47chacha12
43.7844.4145.28salsa2012
48.8148.8848.88T:simon64128ctr
49.8350.0150.38T:aes128estream
55.5656.2758.48T:cryptmtv3
56.3656.9357.45T:snow20
61.7361.7762.05chacha20
63.1863.5464.23T:aes256estream
62.4663.6463.77salsa20
67.4468.5068.86T:lexv2
71.5071.6072.61tango642
77.0077.0077.28T:simon128128ctr
77.2677.4478.20T:trivium
87.7587.8388.50T:simon128256ctr
93.6294.9195.80T:nlsv2
99.29103.42109.47T:aes192ctr
105.92106.26106.81xsalsa20
189.54190.53194.55T:sosemanuk
298.19300.83303.29T:tpy6
313.94315.73323.08T:panama
450.44464.47478.58T:ocelot2
459.11469.46480.22T:ocelot1
598.09602.09608.97T:tpy
603.18611.05616.93T:tpypy
666.40673.73683.27T:amastrid
1282.291285.381287.36T:hc128
3774.723778.613784.26T:hc256