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-A8 (413fc082); 2012 TI Sitara XAM3359AZCZ100; 1 x 1000MHz; bblack, supercop-20260330

[Page version: 20260919 19:52:43]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
2.60?2.69?3.17?chacha8
3.883.914.18chacha12
3.913.914.07salsa208
5.21?5.43?5.86?xsalsa20
5.21?5.51?5.86?salsa20
5.375.535.78salsa2012
5.345.565.86T:tpy
5.18?5.86?7.57?T:tpy6
5.866.166.48tango642
6.186.186.18chacha20
6.216.516.51T:nlsv2
6.927.167.27T:sosemanuk
8.148.228.49T:cryptmtv3
8.658.799.14T:tpypy
9.119.419.77T:speck64128ctr
11.3911.4211.77T:panama
18.9119.4819.53T:aes128ctr
22.8423.1123.19T:aes192ctr
26.3726.6126.88T:aes256ctr
40.6940.6940.91T:aes256estream
56.1556.6157.54T:aes128estream
71.6171.6472.81T:ocelot1
74.5474.6375.20T:ocelot2
105.09108.83112.03T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
3.173.173.36chacha8
4.374.394.39chacha12
4.394.394.41salsa208
5.865.866.04salsa2012
5.865.966.10salsa20
6.106.106.35xsalsa20
6.596.596.59chacha20
7.107.327.32T:nlsv2
7.18?7.47?8.61?T:tpy6
7.327.557.57tango642
8.548.578.79T:tpy
9.529.529.60T:sosemanuk
9.779.9510.01T:speck64128ctr
10.2510.2510.27T:cryptmtv3
11.8611.9611.98T:tpypy
15.6215.6215.67T:panama
20.2820.5120.51T:aes128ctr
24.7024.9024.96T:aes192ctr
28.3228.5028.56T:aes256ctr
41.2641.2641.40T:aes256estream
57.3757.5457.86T:aes128estream
75.2075.2275.89T:ocelot1
77.6477.7078.12T:ocelot2
110.80113.06115.07T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
3.913.913.91chacha8
4.835.215.21chacha12
4.945.215.21salsa208
6.516.516.51salsa20
6.516.516.51salsa2012
7.167.167.16xsalsa20
7.167.167.38chacha20
9.119.119.11T:nlsv2
9.559.779.77tango642
9.779.8210.58T:tpy6
10.4210.4211.01T:speck64128ctr
13.6713.6713.78T:tpy
13.6713.6713.83T:sosemanuk
14.0014.3214.32T:cryptmtv3
16.9316.9316.93T:tpypy
22.1422.1422.57T:aes128ctr
22.1422.5222.79T:panama
27.5127.9927.99T:aes192ctr
31.2531.2531.90T:aes256ctr
42.1042.3242.32T:aes256estream
57.5159.2459.41T:aes128estream
80.7380.7381.11T:ocelot1
82.6882.6882.90T:ocelot2
121.42123.05123.32T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
5.21?5.93?6.94?chacha8
6.946.946.94salsa208
6.946.947.52chacha12
7.67?8.68?8.68?salsa20
8.688.688.68salsa2012
8.68?10.42?10.42?chacha20
8.68?10.42?10.42?xsalsa20
12.1512.1512.15T:speck64128ctr
13.6013.8913.89T:nlsv2
15.6215.6215.62tango642
17.07?17.51?19.10?T:tpy6
19.1019.1020.11T:cryptmtv3
24.3124.3125.61T:sosemanuk
26.6227.7827.78T:tpy
29.5129.6631.25T:aes128ctr
29.8031.2531.25T:tpypy
38.1938.1938.63T:aes192ctr
39.9341.0941.81T:panama
41.6742.5343.40T:aes256ctr
43.4044.9945.14T:aes256estream
59.0359.1760.76T:aes128estream
95.4995.4996.50T:ocelot1
95.4996.3597.22T:ocelot2
137.15138.45140.34T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
31.2531.2531.25chacha8
31.2531.2531.25salsa208
31.2531.2532.55salsa2012
31.2531.2533.85chacha12
31.25?31.25?36.46?T:speck64128ctr
31.25?31.25?37.76?salsa20
31.25?35.16?46.88?chacha20
46.8846.8848.18xsalsa20
67.71?78.12?78.12?T:aes256estream
75.5278.1278.12T:cryptmtv3
78.12?78.12?89.84?T:nlsv2
78.12?92.45?93.75?T:aes128estream
83.33?93.75?93.75?tango642
109.38109.38115.89T:tpy6
109.38?115.89?125.00?T:aes128ctr
109.38?118.49?125.00?T:aes256ctr
123.70?127.60?149.74?T:aes192ctr
156.25156.25156.25T:sosemanuk
201.82203.12203.12T:tpy
203.12203.12210.94T:tpypy
265.62265.62272.14T:ocelot2
265.62277.34281.25T:panama
281.25281.25290.36T:ocelot1
361.98375.00375.00T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
156.25?250.00?250.00?T:speck64128ctr
250.00250.00250.00chacha8
250.00?250.00?291.67?chacha12
250.00?250.00?322.92?salsa20
250.00?250.00?354.17?salsa208
250.00?281.25?375.00?chacha20
250.00?302.08?375.00?salsa2012
312.50?375.00?375.00?T:aes256estream
354.17375.00375.00T:aes128estream
375.00?375.00?437.50?xsalsa20
437.50?500.00?500.00?T:nlsv2
500.00500.00541.67T:cryptmtv3
625.00?635.42?750.00?tango642
739.58750.00750.00T:aes256ctr
750.00750.00791.67T:aes192ctr
812.50875.00875.00T:tpy6
875.00875.00916.67T:aes128ctr
1239.581250.001250.00T:sosemanuk
1500.001593.751625.00T:tpy
1562.501625.001625.00T:tpypy
1625.001625.001625.00T:ocelot2
1750.001750.001802.08T:ocelot1
2125.002125.002239.58T:panama
2270.832375.002375.00T:amastrid