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

[Page version: 20250615 19:27:09]

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.651.661.66tango642
2.522.522.52chacha8
3.463.463.46chacha12
3.983.983.99salsa208
5.015.025.02salsa2012
5.255.255.27T:tpy
5.365.375.37chacha20
5.385.385.38T:tpy6
6.866.876.88T:nlsv2
7.117.127.12T:cryptmtv3
7.207.217.21xsalsa20
7.217.217.22salsa20
9.099.309.42T:tpypy
17.4417.4917.54T:aes128estream
17.5617.6618.09T:aes128ctr
20.7720.9521.37T:aes192ctr
24.0224.1624.58T:aes256ctr
24.4624.4724.52T:aes256estream
50.3650.4252.07T:ocelot1
52.8952.9854.66T:ocelot2
77.1978.6979.79T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.921.921.93tango642
2.552.552.55chacha8
3.493.493.49chacha12
4.024.024.02salsa208
5.055.055.06salsa2012
5.405.405.40chacha20
6.476.476.47T:tpy6
7.127.127.13T:nlsv2
7.247.247.25salsa20
7.357.357.35xsalsa20
7.997.998.00T:tpy
8.288.288.28T:cryptmtv3
11.6811.8211.88T:tpypy
17.5617.5817.61T:aes128estream
19.9620.0120.32T:aes128ctr
23.2923.3623.64T:aes192ctr
24.5924.5924.63T:aes256estream
26.5626.6226.90T:aes256ctr
52.7652.7954.03T:ocelot1
55.3455.3856.61T:ocelot2
80.4981.5781.97T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.362.372.37tango642
2.602.602.60chacha8
3.553.553.55chacha12
4.074.074.07salsa208
5.115.115.12salsa2012
5.455.465.46chacha20
7.307.307.31salsa20
7.597.597.60xsalsa20
7.767.777.78T:nlsv2
8.288.298.29T:tpy6
10.6910.6910.70T:cryptmtv3
12.5512.5512.56T:tpy
15.8416.0316.07T:tpypy
17.7117.7217.73T:aes128estream
23.8723.9324.04T:aes128ctr
24.7924.8024.84T:aes256estream
27.2427.3127.40T:aes192ctr
30.6430.7531.25T:aes256ctr
56.7256.7356.88T:ocelot1
59.3359.4059.59T:ocelot2
86.2486.6887.14T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
3.103.103.11chacha8
3.533.543.56tango642
4.094.094.09chacha12
4.224.234.23salsa208
5.265.265.31salsa2012
6.146.146.15chacha20
7.457.457.45salsa20
8.238.238.23xsalsa20
9.209.219.23T:nlsv2
12.6412.6412.67T:cryptmtv3
13.1213.1213.13T:tpy6
18.1618.1618.19T:aes128estream
24.7124.7124.72T:tpy
25.3725.3725.51T:aes256estream
27.2527.2827.31T:tpypy
36.4036.5937.11T:aes128ctr
40.3440.4240.75T:aes192ctr
43.9944.2044.43T:aes256ctr
67.2967.3167.34T:ocelot1
69.9369.9770.02T:ocelot2
98.8298.92101.93T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
6.006.006.00salsa208
7.067.067.06salsa2012
7.177.177.17chacha8
8.478.478.47chacha12
9.259.259.27salsa20
11.6411.6411.64chacha20
16.2716.2816.28xsalsa20
18.5218.5318.56tango642
23.9223.9223.95T:aes128estream
28.44?31.83?34.28?T:cryptmtv3
32.7732.7832.80T:nlsv2
32.7832.8032.86T:aes256estream
74.8975.0575.11T:tpy6
167.53168.78170.23T:aes128ctr
172.83173.05173.08T:tpypy
174.52175.44177.22T:aes192ctr
177.70179.33180.28T:aes256ctr
180.16180.19180.41T:tpy
203.09203.27203.67T:ocelot1
205.55206.27206.34T:ocelot2
266.00266.86271.28T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
51.5051.6251.88salsa208
56.0056.1256.12chacha8
60.1260.2560.25salsa2012
66.2566.2566.38chacha12
77.8877.8878.00salsa20
87.8888.1288.12T:aes128estream
91.6291.7591.75chacha20
117.38118.38118.50T:aes256estream
134.00134.00135.75xsalsa20
138.62140.12140.25tango642
146.62146.88147.00T:nlsv2
161.12?200.00?207.12?T:cryptmtv3
555.25557.00557.25T:tpy6
1218.121224.121235.50T:aes128ctr
1248.001252.621268.50T:aes256ctr
1244.381252.751262.88T:aes192ctr
1276.501280.621284.38T:ocelot2
1276.621281.121284.25T:ocelot1
1315.121316.501317.25T:tpypy
1388.501388.751390.25T:tpy
1751.381765.881770.12T:amastrid