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-A17 (410fc0d1); 2014 Rockchip RK3288; 4 x 1800MHz; tinker, supercop-20240107

[Page version: 20240726 23:46:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
2.442.442.45chacha8
3.293.383.40chacha12
3.883.893.90tango642
3.984.004.06T:tpy
4.014.024.03T:tpy6
4.004.204.25salsa208
4.284.294.30T:nlsv2
5.155.275.35chacha20
5.666.056.05salsa2012
6.126.126.13T:cryptmtv3
6.166.176.18T:speck64128ctr
6.256.506.58salsa20
6.206.586.65xsalsa20
6.796.916.96T:tpypy
17.6417.6517.67T:aes128ctr
18.1618.1918.33T:aes128estream
19.2919.3919.63T:aes192ctr
21.5321.6721.91T:aes256ctr
25.1825.2025.24T:aes256estream
54.5254.6254.76T:ocelot1
55.7455.8956.10T:ocelot2
84.0084.5685.51T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.652.652.66chacha8
3.543.603.61chacha12
4.254.414.41salsa208
4.694.704.70tango642
4.814.824.83T:nlsv2
5.095.095.10T:tpy6
5.425.505.53chacha20
5.956.196.19salsa2012
6.356.356.40T:tpy
6.416.416.42T:speck64128ctr
6.576.746.78salsa20
6.716.997.01xsalsa20
7.317.317.32T:cryptmtv3
9.229.289.31T:tpypy
18.4418.4518.46T:aes128estream
18.5118.5218.53T:aes128ctr
21.4221.4421.59T:aes192ctr
23.6723.7223.87T:aes256ctr
25.5025.5125.53T:aes256estream
56.9856.9957.08T:ocelot1
58.2158.2658.39T:ocelot2
88.0788.3688.87T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.993.023.03chacha8
3.913.923.97chacha12
4.614.754.75salsa208
5.765.805.90chacha20
5.995.996.00T:nlsv2
6.046.056.06tango642
6.316.316.54salsa2012
6.806.826.83T:speck64128ctr
6.876.876.87T:tpy6
6.977.097.17salsa20
7.327.377.58xsalsa20
9.239.249.25T:cryptmtv3
10.2610.2710.28T:tpy
13.1613.1813.23T:tpypy
18.6718.8518.89T:aes128estream
19.9719.9820.00T:aes128ctr
24.8224.9025.00T:aes192ctr
25.9526.0126.08T:aes256estream
27.1027.1927.31T:aes256ctr
60.9260.9461.11T:ocelot1
62.1562.2662.55T:ocelot2
91.4196.2496.34T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
4.204.234.30chacha8
5.265.285.36chacha12
5.865.926.00salsa208
7.347.387.44chacha20
7.917.917.92T:speck64128ctr
7.837.967.99salsa2012
7.938.078.13salsa20
8.718.748.76T:nlsv2
9.019.049.05xsalsa20
9.659.659.66tango642
11.6311.6411.66T:tpy6
12.7912.7912.80T:cryptmtv3
19.7019.7320.08T:aes128estream
20.7120.7220.76T:tpy
23.7623.7723.83T:tpypy
26.2726.3126.36T:aes128ctr
27.3527.4027.41T:aes256estream
35.9136.1336.34T:aes192ctr
38.5238.7239.06T:aes256ctr
71.4471.5072.02T:ocelot1
72.7473.1073.59T:ocelot2
108.48108.68108.85T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
18.8818.8919.28chacha8
20.0920.1120.14salsa208
20.6220.6721.12chacha12
21.8121.9722.12T:speck64128ctr
22.3822.5522.75salsa20
23.4123.4423.64salsa2012
23.7823.9824.55chacha20
32.5032.8333.62xsalsa20
35.1235.3835.83T:aes128estream
43.6143.8144.00T:aes256estream
47.1647.2347.28T:cryptmtv3
50.5850.6950.83T:nlsv2
55.3455.5655.62tango642
72.4172.4772.52T:tpy6
95.6695.9796.31T:aes128ctr
141.88142.83143.66T:aes192ctr
143.73146.39149.34T:aes256ctr
154.44154.44154.58T:tpy
159.84159.97160.08T:tpypy
205.98206.42206.91T:ocelot2
205.78206.69208.08T:ocelot1
275.78276.31277.31T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
123.75124.62125.12T:speck64128ctr
153.75153.75156.50chacha8
168.00168.25170.62chacha12
178.00178.50180.25T:aes128estream
184.75186.00187.38salsa20
186.62186.62187.12salsa208
195.25197.75201.62chacha20
199.00200.00202.38T:aes256estream
213.75214.25215.38salsa2012
267.12270.25272.12xsalsa20
294.62295.50297.25T:nlsv2
323.50324.12326.75T:cryptmtv3
420.88422.50423.12tango642
552.25552.38554.12T:tpy6
737.50741.00743.75T:aes128ctr
987.001017.621043.00T:aes256ctr
1005.881019.501045.38T:aes192ctr
1205.881207.621209.88T:tpy
1227.751228.121231.00T:tpypy
1266.381269.501310.25T:ocelot2
1271.621279.881322.12T:ocelot1
1768.881795.001821.25T:amastrid