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

[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
1.031.031.03tango642
2.272.282.32chacha8
2.542.562.58T:sosemanuk
2.592.592.59salsa208
3.03?3.14?3.44?T:tpy
3.173.183.19T:tpy6
3.293.293.30chacha12
3.343.443.53T:nlsv2
3.593.593.59salsa2012
3.583.603.61T:panama
4.554.554.59T:cryptmtv3
5.275.285.29chacha20
5.325.485.50T:tpypy
5.595.595.60xsalsa20
5.595.595.60salsa20
11.4311.5612.10T:aes128estream
16.1716.2616.53T:aes256estream
19.2619.5820.73T:aes128ctr
22.6222.6522.81T:aes192ctr
25.7525.8325.86T:aes256ctr
26.5427.0827.39T:ocelot1
27.6928.3728.46T:ocelot2
42.2143.2343.55T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.231.231.23tango642
2.302.312.34chacha8
2.622.622.62salsa208
3.253.253.26T:sosemanuk
3.313.313.31chacha12
3.553.573.64T:nlsv2
3.623.623.62salsa2012
3.923.923.92T:tpy6
4.864.864.86T:panama
4.804.885.09T:tpy
5.065.075.09T:cryptmtv3
5.295.295.30chacha20
5.625.625.62salsa20
5.705.705.70xsalsa20
7.067.127.13T:tpypy
11.6011.6212.02T:aes128estream
16.3116.3516.56T:aes256estream
19.9719.9920.86T:aes128ctr
23.1123.1223.20T:aes192ctr
26.2526.3026.31T:aes256ctr
28.5928.6128.68T:ocelot1
29.7029.7429.75T:ocelot2
44.3844.6544.81T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.551.551.56tango642
2.352.362.36chacha8
2.652.652.66salsa208
3.343.343.35chacha12
3.653.663.66salsa2012
3.823.843.99T:nlsv2
4.424.454.48T:sosemanuk
5.085.175.17T:tpy6
5.325.325.33chacha20
5.655.665.66salsa20
5.885.885.89xsalsa20
6.146.156.20T:cryptmtv3
6.956.966.96T:panama
7.687.707.82T:tpy
9.769.779.88T:tpypy
11.7111.7511.99T:aes128estream
16.5016.5216.60T:aes256estream
20.6920.7121.70T:aes128ctr
23.8323.8823.93T:aes192ctr
26.9927.0927.11T:aes256ctr
30.7330.8831.26T:ocelot1
31.8531.9032.18T:ocelot2
47.7948.2648.56T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.412.412.41tango642
2.762.762.76salsa208
3.133.133.13chacha8
3.753.763.76salsa2012
3.763.763.78chacha12
4.524.524.76T:nlsv2
5.755.765.76salsa20
6.236.306.30chacha20
6.366.376.38xsalsa20
7.367.407.49T:cryptmtv3
7.637.697.75T:sosemanuk
8.338.398.46T:tpy6
11.9611.9712.23T:aes128estream
12.5212.5512.59T:panama
15.4915.5415.55T:tpy
16.8416.8917.01T:aes256estream
17.2717.2817.76T:tpypy
22.4822.5723.53T:aes128ctr
25.7825.9526.04T:aes192ctr
29.0929.1129.21T:aes256ctr
36.59?37.10?40.72?T:ocelot1
37.7237.9238.03T:ocelot2
54.8255.4156.95T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
3.833.833.83salsa208
4.784.834.83salsa2012
6.786.836.84salsa20
7.397.397.39chacha12
9.339.339.34chacha8
12.2512.2512.45xsalsa20
13.4813.4813.52tango642
14.0914.1414.14chacha20
14.4114.4814.50T:nlsv2
15.1915.1915.36T:aes128estream
17.59?20.27?21.28?T:cryptmtv3
22.0222.0823.64T:aes256estream
45.4146.1647.12T:aes128ctr
46.8047.2547.94T:sosemanuk
50.2550.4751.33T:aes192ctr
50.7850.7850.80T:tpy6
54.8054.9856.36T:aes256ctr
83.3983.6484.38T:panama
113.03113.12115.11T:tpypy
115.92116.39116.45T:tpy
111.95120.64121.39T:ocelot1
122.08122.28122.52T:ocelot2
148.55152.58152.91T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
34.5034.5034.50salsa208
42.1242.1242.50salsa2012
53.5053.7553.75chacha8
54.0054.2555.88T:aes128estream
58.1258.5058.62salsa20
58.5058.5058.50chacha12
79.0079.1281.00T:nlsv2
81.0081.5082.62T:aes256estream
90.2590.6290.62chacha20
102.00102.75104.12xsalsa20
102.75102.75102.75tango642
122.25124.75131.75T:cryptmtv3
253.50256.25259.50T:aes128ctr
273.75274.50277.38T:aes192ctr
287.50290.75300.25T:aes256ctr
379.00384.12386.38T:sosemanuk
385.38385.62385.88T:tpy6
665.50667.12671.88T:panama
705.75709.88773.62T:ocelot1
706.38772.62775.88T:ocelot2
867.75869.12893.50T:tpypy
910.38911.12912.12T:tpy
980.00997.121040.12T:amastrid