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; pi3bplus, supercop-20241022

[Page version: 20241215 22:59:29]

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.47chacha12
3.683.733.88T:sosemanuk
4.034.064.06salsa208
5.055.065.08salsa2012
5.255.275.34T:tpy
5.365.375.38chacha20
5.385.385.39T:tpy6
6.656.686.90T:panama
6.866.926.98T:nlsv2
7.107.117.25T:cryptmtv3
7.257.267.28xsalsa20
7.267.267.30salsa20
9.019.089.18T:tpypy
17.4417.4717.49T:aes128estream
24.4624.4724.53T:aes256estream
27.5027.6427.90T:aes128ctr
31.6731.9032.42T:aes192ctr
34.9536.1536.95T:aes256ctr
51.3151.5352.09T:ocelot1
52.7152.9853.23T:ocelot2
74.9378.5181.18T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.921.921.93tango642
2.552.552.55chacha8
3.493.493.50chacha12
4.074.094.09salsa208
4.714.734.83T:sosemanuk
5.105.105.11salsa2012
5.405.405.41chacha20
6.476.476.48T:tpy6
7.137.167.21T:nlsv2
7.297.297.32salsa20
7.407.407.42xsalsa20
7.998.008.05T:tpy
8.288.298.39T:cryptmtv3
8.738.748.90T:panama
11.5711.6211.70T:tpypy
17.5617.5617.58T:aes128estream
24.5924.5924.64T:aes256estream
28.4628.4928.67T:aes128ctr
32.7232.7733.13T:aes192ctr
36.9737.0037.59T:aes256ctr
53.7653.9154.25T:ocelot1
55.3155.3755.54T:ocelot2
78.9781.3882.83T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.362.372.38tango642
2.602.602.60chacha8
3.553.553.55chacha12
4.154.154.15salsa208
5.155.165.27salsa2012
5.455.465.46chacha20
6.496.526.58T:sosemanuk
7.347.347.35salsa20
7.637.637.65xsalsa20
7.777.787.81T:nlsv2
8.288.288.28T:tpy6
10.7010.7010.71T:cryptmtv3
12.1712.2012.27T:panama
12.5512.5512.56T:tpy
15.8315.8415.84T:tpypy
17.7317.7617.77T:aes128estream
24.7924.8424.85T:aes256estream
29.8429.9532.32T:aes128ctr
34.0634.1536.77T:aes192ctr
38.3038.4542.07T:aes256ctr
57.7657.8558.00T:ocelot1
59.2659.3559.49T:ocelot2
83.8684.2286.87T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
3.103.113.11chacha8
3.533.543.56tango642
4.094.094.09chacha12
4.294.294.29salsa208
5.315.315.33salsa2012
6.136.146.15chacha20
7.507.507.50salsa20
8.278.278.27xsalsa20
9.209.229.26T:nlsv2
11.0411.1411.25T:sosemanuk
12.6712.7112.84T:cryptmtv3
13.1113.1213.13T:tpy6
18.1618.1618.17T:aes128estream
21.3521.3721.40T:panama
24.7224.7324.73T:tpy
25.3725.3825.51T:aes256estream
27.2127.2327.24T:tpypy
33.5733.6534.03T:aes128ctr
37.6937.8338.02T:aes192ctr
42.0142.1742.89T:aes256ctr
68.0568.2568.90T:ocelot1
69.9570.0572.81T:ocelot2
98.4899.1499.47T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
5.985.985.98salsa208
7.087.087.08salsa2012
7.177.177.17chacha8
8.478.478.47chacha12
9.259.259.25salsa20
11.6411.6411.64chacha20
16.2516.2516.27xsalsa20
18.5218.5218.62tango642
23.9223.9523.98T:aes128estream
31.6232.1232.66T:cryptmtv3
32.7532.7832.80T:nlsv2
32.8132.8332.84T:aes256estream
67.4568.0568.44T:sosemanuk
74.8375.0575.08T:tpy6
81.4882.1782.56T:aes128ctr
83.5384.0686.20T:aes192ctr
88.4788.8891.44T:aes256ctr
138.92139.20139.42T:panama
172.86173.08173.14T:tpypy
180.17180.20180.27T:tpy
204.08204.28205.19T:ocelot1
205.91206.09206.59T:ocelot2
265.00267.52270.67T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
55.8855.8855.88salsa208
56.0056.0056.00chacha8
64.5064.5064.50salsa2012
66.2566.2566.25chacha12
81.8882.0082.88salsa20
87.8888.1288.12T:aes128estream
91.6291.6291.88chacha20
116.50116.50116.75T:aes256estream
138.00138.88138.88xsalsa20
139.50141.00141.50tango642
146.50146.62146.88T:nlsv2
158.75?197.12?206.88?T:cryptmtv3
480.12496.50502.88T:aes192ctr
494.88499.00504.00T:aes128ctr
493.25507.12513.88T:aes256ctr
537.25540.88548.50T:sosemanuk
555.25557.00557.62T:tpy6
1091.381093.751096.38T:panama
1275.751278.121280.38T:ocelot2
1280.881282.381285.12T:ocelot1
1315.501317.121317.38T:tpypy
1386.881388.621389.38T:tpy
1757.121763.381765.50T:amastrid