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: aarch64; Cortex-A53 (410fd034); 2018 Broadcom BCM2837B0; 4 x 1400MHz; pi3aplus, supercop-20240808

[Page version: 20241014 13:34:05]

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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.561.561.57tango642
2.572.572.57chacha8
2.862.862.87salsa208
3.523.523.53chacha12
3.883.893.90salsa2012
5.435.445.44chacha20
6.086.086.09xsalsa20
6.086.086.09salsa20
6.256.276.29T:tpy6
6.256.276.34T:tpy
6.606.606.61T:nlsv2
7.087.087.09T:cryptmtv3
8.308.378.43T:tpypy
17.1917.2117.27T:aes128estream
24.5424.5824.66T:aes256estream
29.8929.9830.73T:aes128ctr
34.0134.1435.82T:aes192ctr
38.1538.3240.01T:aes256ctr
51.4251.5853.10T:ocelot1
54.3154.5156.09T:ocelot2
79.7381.2883.56T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.841.841.84tango642
2.602.612.61chacha8
2.892.892.90salsa208
3.563.563.56chacha12
3.933.933.93salsa2012
5.475.485.48chacha20
6.126.126.12salsa20
6.216.216.22xsalsa20
6.926.926.92T:nlsv2
7.337.347.36T:tpy6
8.178.178.18T:cryptmtv3
9.039.049.09T:tpy
10.8010.8410.89T:tpypy
17.3017.3017.34T:aes128estream
24.6624.6924.74T:aes256estream
30.4730.5131.07T:aes128ctr
34.6334.6935.93T:aes192ctr
38.7638.8640.12T:aes256ctr
53.6853.7854.91T:ocelot1
56.6456.7357.90T:ocelot2
83.7184.3185.58T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.292.292.30tango642
2.662.662.66chacha8
2.952.962.97salsa208
3.623.623.62chacha12
3.993.994.10salsa2012
5.535.545.54chacha20
6.176.176.18salsa20
6.426.426.43xsalsa20
7.677.687.68T:nlsv2
9.119.119.12T:tpy6
10.6010.6110.62T:cryptmtv3
13.6513.6613.68T:tpy
14.9214.9314.93T:tpypy
17.4317.4417.49T:aes128estream
24.8224.8424.96T:aes256estream
31.3531.3831.45T:aes128ctr
35.5235.6235.75T:aes192ctr
39.6939.7339.99T:aes256ctr
57.3657.4057.61T:ocelot1
60.3560.4360.78T:ocelot2
87.7088.2190.50T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
3.053.063.06chacha8
3.103.113.11salsa208
3.503.503.50tango642
4.074.074.07chacha12
4.154.154.19salsa2012
6.126.136.15chacha20
6.336.336.33salsa20
7.007.007.00xsalsa20
9.369.389.40T:nlsv2
12.3512.4412.91T:cryptmtv3
13.8813.8913.90T:tpy6
17.8217.8217.82T:aes128estream
25.3625.3725.58T:aes256estream
25.9725.9725.98T:tpy
26.0326.0526.06T:tpypy
33.7633.7934.05T:aes128ctr
37.9638.0838.24T:aes192ctr
42.2442.2942.37T:aes256ctr
67.3167.4067.47T:ocelot1
70.2770.3270.36T:ocelot2
101.55102.34103.08T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
4.944.944.97salsa208
5.975.986.00salsa2012
6.276.276.30chacha8
7.807.817.83chacha12
8.148.168.16salsa20
10.9711.0011.00chacha20
14.1614.1714.27xsalsa20
18.7018.7018.86tango642
22.8822.8922.91T:aes128estream
28.77?29.92?34.42?T:cryptmtv3
32.2732.3032.41T:aes256estream
36.4236.4536.55T:nlsv2
64.3664.6464.94T:aes128ctr
69.0569.5070.28T:aes192ctr
74.5074.6674.77T:tpy6
74.6975.1276.20T:aes256ctr
168.22168.44168.50T:tpypy
183.47183.56183.80T:tpy
194.72195.00195.30T:ocelot1
197.48197.86198.19T:ocelot2
272.28274.97279.22T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
49.3849.3849.62salsa208
53.7553.7554.00chacha8
57.6257.7557.88salsa2012
66.0066.1266.25chacha12
75.1275.2575.25salsa20
80.1280.3880.38T:aes128estream
91.3891.6292.88chacha20
109.88109.88109.88T:aes256estream
124.25124.25124.38xsalsa20
142.88144.38144.50tango642
163.75?172.50?208.00?T:cryptmtv3
174.38174.38175.00T:nlsv2
338.38340.25342.62T:aes128ctr
353.12355.38360.25T:aes192ctr
372.62374.88378.75T:aes256ctr
553.25553.62554.38T:tpy6
1203.001205.251207.50T:ocelot1
1206.621210.881213.62T:ocelot2
1288.251288.251289.00T:tpypy
1424.001424.251424.75T:tpy
1806.501810.621835.50T:amastrid