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; ARM1176 (410fb767); 2011 Broadcom BCM2835; 1 x 1000MHz; berry0, supercop-20240107

[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
9.029.089.15chacha8
9.319.459.62T:tpy6
9.559.669.95T:nlsv2
9.8310.0810.47T:tpy
11.5911.7611.90salsa208
12.5412.5612.65chacha12
12.4012.6112.81tango642
13.2413.4213.89T:cryptmtv3
15.5615.6015.79salsa2012
18.4819.0019.39T:tpypy
19.4019.5819.82chacha20
22.6122.6522.80xsalsa20
22.6522.7522.77salsa20
48.1348.2248.38T:aes128estream
49.7150.5051.77T:aes128ctr
56.5157.0457.67T:aes192ctr
63.1263.7764.32T:aes256ctr
70.8070.9871.17T:aes256estream
86.7486.8487.09T:ocelot1
89.1789.2590.18T:ocelot2
143.10156.31157.38T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
9.329.359.38chacha8
10.5110.5810.80T:nlsv2
11.4411.5411.66T:tpy6
11.9011.9412.04salsa208
12.8112.8212.87chacha12
14.0514.1414.24tango642
14.5614.6814.94T:tpy
15.5215.5715.90T:cryptmtv3
15.8015.8115.93salsa2012
19.8419.8619.97chacha20
22.5022.6422.92T:tpypy
22.9122.9322.95salsa20
23.2623.2623.34xsalsa20
48.6748.7148.80T:aes128estream
52.2252.5053.25T:aes128ctr
59.0859.2759.51T:aes192ctr
65.6865.9166.17T:aes256ctr
71.5071.5271.65T:aes256estream
91.1991.2391.40T:ocelot1
93.6593.6794.31T:ocelot2
151.40159.58160.26T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
9.669.739.79chacha8
12.1912.1912.42salsa208
12.6712.7112.77T:nlsv2
13.2213.2513.27chacha12
14.9014.9014.94T:tpy6
16.0716.1816.23salsa2012
16.5616.6316.81tango642
19.5419.5919.82T:cryptmtv3
20.1320.2420.63chacha20
21.9822.2122.57T:tpy
23.1823.1823.29salsa20
24.1624.2424.35xsalsa20
28.0028.2729.03T:tpypy
49.3849.6049.69T:aes128estream
55.2255.5556.03T:aes128ctr
62.2862.9263.62T:aes192ctr
68.8669.4670.20T:aes256ctr
72.1972.2372.34T:aes256estream
98.4898.5498.74T:ocelot1
100.88101.09101.23T:ocelot2
168.50168.77168.96T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
10.5910.7410.86chacha8
13.1513.1513.78salsa208
14.3814.4414.45chacha12
17.0317.1717.31salsa2012
17.6117.6717.74T:nlsv2
21.0921.5922.42chacha20
23.2623.5423.94tango642
24.1724.1724.51salsa20
24.3924.5224.54T:tpy6
25.4525.7326.21T:cryptmtv3
26.7526.9627.24xsalsa20
43.4743.6044.39T:tpy
47.7147.9248.49T:tpypy
51.8652.0452.17T:aes128estream
63.8664.7265.83T:aes128ctr
71.3872.7173.90T:aes192ctr
74.1974.4774.66T:aes256estream
77.3979.1880.22T:aes256ctr
118.16118.31118.83T:ocelot1
120.27120.36120.93T:ocelot2
194.76195.36195.92T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
25.36?25.39?30.97?salsa208
23.9226.4426.48chacha8
26.9228.1729.34chacha12
29.1730.3931.67salsa2012
36.64?36.66?41.09?salsa20
33.22?37.05?45.19?chacha20
59.2261.7264.22xsalsa20
81.2383.1985.75T:aes128estream
85.2885.4490.84T:cryptmtv3
94.5395.7796.97T:nlsv2
102.39104.25107.05T:aes256estream
110.33113.78117.31tango642
142.78147.73147.81T:tpy6
168.47?180.62?194.52?T:aes128ctr
181.80?193.09?208.03?T:aes192ctr
184.98?206.30?210.58?T:aes256ctr
306.41308.20310.98T:tpypy
319.05319.61321.67T:tpy
368.25369.42371.88T:ocelot1
370.16373.91377.77T:ocelot2
523.25531.95534.97T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
192.12?192.25?237.25?salsa208
194.62?223.38?224.00?chacha8
221.88?241.88?252.25?salsa2012
237.88242.88247.88chacha12
282.75282.88308.50salsa20
278.12?299.00?372.62?chacha20
342.38354.75371.00T:aes128estream
390.75412.38426.75T:aes256estream
469.50487.12502.50xsalsa20
510.00513.12516.38T:nlsv2
547.62?568.12?609.38?T:cryptmtv3
784.62804.25841.12tango642
1060.88?1107.25?1189.25?T:aes128ctr
1077.881117.751118.12T:tpy6
1078.12?1122.88?1300.62?T:aes256ctr
1104.50?1200.38?1294.62?T:aes192ctr
2343.382353.122397.50T:ocelot1
2327.122358.622393.00T:ocelot2
2348.502359.882370.75T:tpypy
2489.122489.752503.50T:tpy
3469.003484.623503.00T:amastrid