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-A72 (410fd083); 2019 Broadcom BCM2711; 4 x 1500MHz; pi4b, supercop-20260330

[Page version: 20260717 22:08:46]

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
1.001.011.03tango642
2.242.252.28chacha8
2.622.652.68T:sosemanuk
2.88?3.05?3.31?T:tpy
3.083.113.12T:tpy6
3.103.113.14T:nlsv2
3.103.123.16salsa208
3.183.193.20chacha12
3.553.593.69T:panama
4.074.114.20salsa2012
4.174.184.20T:cryptmtv3
4.724.744.77chacha20
4.534.814.85T:tpypy
6.066.176.24xsalsa20
6.126.176.21salsa20
11.6311.6511.85T:aes128estream
16.3616.4416.50T:aes256estream
19.3819.5619.69T:aes128ctr
22.5222.6122.78T:aes192ctr
23.4825.2526.01T:ocelot1
25.6925.7425.90T:aes256ctr
25.2326.2526.50T:ocelot2
38.4541.1841.65T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.231.241.25tango642
2.322.332.35chacha8
3.183.193.22salsa208
3.263.263.27chacha12
3.323.323.34T:nlsv2
3.703.713.72T:sosemanuk
3.933.943.95T:tpy6
4.154.174.23salsa2012
4.714.714.72T:cryptmtv3
4.794.804.82chacha20
4.995.015.08T:panama
4.945.035.09T:tpy
6.216.246.26salsa20
6.176.336.35T:tpypy
6.306.336.39xsalsa20
11.7811.7911.92T:aes128estream
16.5416.5916.61T:aes256estream
20.2720.3220.40T:aes128ctr
23.3423.3823.46T:aes192ctr
25.0926.1126.66T:ocelot1
26.4226.4326.54T:aes256ctr
27.4327.5827.72T:ocelot2
41.0443.0643.16T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.611.631.64tango642
2.452.452.47chacha8
3.293.293.36salsa208
3.393.413.42chacha12
3.713.733.75T:nlsv2
4.254.284.33salsa2012
4.894.904.91chacha20
5.285.315.32T:tpy6
5.505.515.54T:sosemanuk
5.675.695.73T:cryptmtv3
6.326.406.45salsa20
6.606.646.76xsalsa20
7.377.397.42T:panama
8.318.348.43T:tpy
8.688.778.89T:tpypy
12.0112.0312.04T:aes128estream
16.7416.8516.87T:aes256estream
21.5521.6121.77T:aes128ctr
24.5424.5824.66T:aes192ctr
27.0027.0527.44T:ocelot1
27.5427.5727.60T:aes256ctr
29.7129.9232.12T:ocelot2
45.0245.2847.73T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.622.642.65tango642
3.343.393.40chacha8
3.593.603.66salsa208
4.344.384.40chacha12
4.524.544.57salsa2012
4.704.774.84T:nlsv2
5.735.755.79chacha20
6.646.686.69salsa20
7.047.067.08T:cryptmtv3
7.387.407.48xsalsa20
8.689.029.08T:tpy6
10.3010.3610.45T:sosemanuk
12.4812.5112.69T:aes128estream
13.6213.6613.71T:panama
15.9916.2516.33T:tpypy
17.3617.4917.51T:aes256estream
16.6817.5117.71T:tpy
24.8925.0625.20T:aes128ctr
27.6327.7227.88T:aes192ctr
30.6030.6430.71T:aes256ctr
32.9734.7034.80T:ocelot1
35.3737.9238.74T:ocelot2
53.6054.3554.55T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
7.127.147.23salsa208
7.437.627.86salsa2012
10.2110.2410.33salsa20
11.7811.9812.13chacha8
12.9813.1213.50chacha20
13.0813.2913.44chacha12
15.6615.6815.84tango642
16.4116.5016.61xsalsa20
18.1618.6019.08T:nlsv2
19.2019.4520.04T:aes128estream
19.9120.1020.35T:cryptmtv3
24.9925.4225.78T:aes256estream
55.0855.3355.88T:tpy6
67.4768.0068.85T:aes128ctr
67.4968.0768.67T:sosemanuk
67.4668.2969.72T:aes192ctr
69.0269.4270.01T:aes256ctr
93.3694.2494.94T:panama
104.59105.45105.89T:ocelot1
108.12108.71117.99T:ocelot2
112.56113.37115.22T:tpypy
130.85131.86132.96T:tpy
153.27153.71154.79T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
60.7762.3963.68salsa2012
62.2962.4762.67salsa208
71.6773.0374.60chacha8
77.18?79.47?85.80?T:aes128estream
82.3983.2884.97chacha12
87.1487.2888.00salsa20
101.46103.40104.78T:aes256estream
103.46105.09107.85T:nlsv2
105.98107.19109.30chacha20
118.08119.31122.24tango642
122.10122.88124.56T:cryptmtv3
136.75136.95139.71xsalsa20
409.62414.98424.09T:aes256ctr
422.92424.28427.76T:tpy6
427.91433.86447.16T:aes192ctr
445.02449.21453.31T:aes128ctr
544.09548.14552.32T:sosemanuk
686.84691.40699.76T:ocelot2
679.11?702.52?759.32?T:ocelot1
763.35766.78770.72T:panama
881.59888.45892.74T:tpypy
1007.811023.821044.20T:amastrid
1024.891048.161071.09T:tpy