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: armeabi; Cortex-A7 (410fc075); 2016 Broadcom BCM2836; 4 x 900MHz; berry2, supercop-20240909

[Page version: 20241120 00:41:23]

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
8.43?9.00?9.77?T:chacha8
8.639.019.51tango642
8.55?9.30?9.70?T:tpy
9.049.439.83T:nlsv2
9.399.6510.27T:tpy6
7.99?9.79?11.30?T:sosemanuk
10.3710.6010.77salsa208
10.9911.2711.95T:cryptmtv3
11.3711.5311.97chacha8
10.56?11.84?13.18?T:chacha12
11.24?12.56?13.77?T:panama
12.6513.2613.83T:tpypy
13.38?14.01?15.04?T!!!chacha20
13.8614.0414.29salsa2012
15.0115.1315.41chacha12
20.5920.9621.35xsalsa20
20.5920.9921.44salsa20
33.5834.4235.84T:aes128ctr
39.9140.8941.58T:aes192ctr
40.9941.6042.03T:aes128estream
46.3447.4548.26T:aes256ctr
61.0361.5162.14T:aes256estream
83.5384.2984.70T:ocelot1
85.7286.8387.07T:ocelot2
151.43154.79155.33T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
9.639.9410.50T:chacha8
9.659.9410.25T:nlsv2
9.699.9610.34tango642
10.4910.6610.79salsa208
10.8210.9811.45T:tpy6
11.5511.6311.96chacha8
11.27?11.67?12.67?T:sosemanuk
12.6112.8413.10T:tpy
12.9113.0213.92T:chacha12
13.0613.1613.53T:cryptmtv3
14.0214.1214.31salsa2012
14.7714.8815.53T!!!chacha20
15.1515.2415.44chacha12
16.2216.5717.26T:panama
16.5916.7517.14T:tpypy
21.0921.1221.44salsa20
21.4021.4321.69xsalsa20
36.0036.0136.88T:aes128ctr
41.9241.9342.19T:aes128estream
42.5242.5642.84T:aes192ctr
49.0249.0949.53T:aes256ctr
61.9962.0162.33T:aes256estream
88.3488.4188.70T:ocelot1
90.9090.9491.11T:ocelot2
156.85158.00158.15T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
10.6810.6810.82salsa208
11.42?11.62?13.21?T:chacha8
11.59?11.69?13.05?tango642
11.4911.7112.53T:nlsv2
11.7411.8112.46chacha8
13.1213.2614.12T:tpy6
14.2214.2814.88salsa2012
14.75?14.99?16.93?T:chacha12
14.56?15.07?17.40?T:sosemanuk
15.3615.4416.07chacha12
16.1416.3917.86T!!!chacha20
16.6217.1018.08T:cryptmtv3
18.6018.9419.66T:tpy
21.3421.4621.94salsa20
22.1222.2222.97xsalsa20
22.4122.8223.27T:tpypy
22.5723.1124.78T:panama
38.1038.4040.05T:aes128ctr
42.3142.8143.66T:aes128estream
44.7944.8847.13T:aes192ctr
51.4351.5952.71T:aes256ctr
62.4862.5964.08T:aes256estream
95.2195.2496.70T:ocelot1
97.7397.7598.01T:ocelot2
166.29167.01168.58T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
11.2111.2211.23salsa208
12.2712.2812.29chacha8
14.5414.5714.64T:nlsv2
14.7514.7614.88salsa2012
15.9215.9215.92chacha12
16.2016.5817.11tango642
16.6616.8818.21T:chacha8
19.3419.3519.98T:tpy6
19.7319.9520.94T:chacha12
20.08?20.18?24.04?T!!!chacha20
21.1121.2622.37T:cryptmtv3
21.8021.8221.93salsa20
22.7923.2523.70T:sosemanuk
23.9923.9924.16xsalsa20
34.4134.6436.80T:tpy
37.9338.3240.32T:tpypy
38.84?39.76?43.85?T:panama
43.4643.7846.41T:aes128estream
47.6448.7752.91T:aes128ctr
55.6756.7661.16T:aes192ctr
63.5964.8468.99T:aes256ctr
64.0765.1167.20T:aes256estream
113.49114.29118.49T:ocelot1
116.07117.83122.49T:ocelot2
191.61193.15196.66T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
17.9117.9518.28salsa208
18.9418.9719.20chacha8
21.4421.4721.55salsa2012
23.0323.0623.41chacha12
28.3428.5328.59salsa20
48.1248.2749.45xsalsa20
57.8957.9158.05T:aes128estream
62.7364.1465.64T!!!chacha20
69.0969.5970.25T:nlsv2
69.6671.1776.53T:cryptmtv3
77.0377.0679.25tango642
77.0578.4279.84T:chacha8
80.7781.3482.70T:chacha12
82.0082.1186.47T:aes256estream
99.0099.42104.06T:tpy6
99.61100.34102.69T:aes128ctr
108.83?111.98?136.59?T:aes192ctr
116.28117.39124.55T:aes256ctr
120.08124.98126.97T:sosemanuk
237.27239.25247.06T:tpy
238.78245.28251.41T:tpypy
250.48?254.72?293.55?T:panama
347.81350.78381.08T:ocelot1
350.78355.12379.89T:ocelot2
505.58521.78546.02T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
135.25135.25136.88salsa208
143.75143.75144.88chacha8
164.50164.62166.62salsa2012
198.25198.50198.75chacha12
211.50211.50214.50T:aes128estream
218.75219.50222.00salsa20
280.50280.62280.75T:aes256estream
347.75348.12383.62T:nlsv2
375.75376.00376.75xsalsa20
392.88406.25423.50T:cryptmtv3
514.25525.38547.25T!!!chacha20
558.75558.75558.75tango642
559.25567.00576.12T:aes128ctr
580.75591.25614.12T:aes192ctr
615.12620.62671.38T:aes256ctr
644.12?651.88?744.75?T:chacha8
681.00?687.62?791.88?T:chacha12
722.88732.38758.50T:tpy6
943.12976.88995.62T:sosemanuk
1832.001862.251982.00T:tpy
1808.121867.501947.12T:tpypy
1964.751995.382114.50T:panama
2197.002215.002416.75T:ocelot2
2190.25?2234.75?2435.00?T:ocelot1
3392.253525.623720.12T:amastrid