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-A7 (410fc075); 2016 Broadcom BCM2836; 4 x 900MHz; berry2, supercop-20251222

[Page version: 20260408 07:14:54]

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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
6.376.506.77T!!!chacha8
6.746.897.19T!!!salsa208
8.51?8.83?9.71?tango642
8.969.129.38T!!!chacha12
8.60?9.17?9.65?T:tpy
9.169.269.48T!!!salsa2012
9.159.4210.09T:nlsv2
9.449.6410.07T:tpy6
8.42?9.84?11.11?T:sosemanuk
11.0911.5612.18T:cryptmtv3
11.15?12.43?13.81?T:panama
12.49?13.16?13.88?T:tpypy
13.9914.1114.35T!!!salsa20
13.9814.1314.49T!!!xsalsa20
14.0914.2514.56T!!!chacha20
33.4234.3635.66T:aes128ctr
40.0240.7942.19T:aes192ctr
41.0241.5042.37T:aes128estream
46.2947.2648.50T:aes256ctr
60.9161.6062.25T:aes256estream
83.5384.3184.92T:ocelot1
85.2886.7792.67T:ocelot2
148.17153.23158.72T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
6.516.576.77T!!!chacha8
6.846.937.15T!!!salsa208
9.109.189.36T!!!chacha12
9.279.349.48T!!!salsa2012
9.669.8810.49tango642
9.749.9410.44T:nlsv2
10.8310.9811.29T:tpy6
11.3211.7312.56T:sosemanuk
12.5912.7713.07T:tpy
13.0313.3013.61T:cryptmtv3
14.1014.1814.34T!!!salsa20
14.2314.3114.54T!!!chacha20
14.4114.5014.75T!!!xsalsa20
16.1216.4717.29T:panama
16.5616.7417.16T:tpypy
36.0036.0536.74T:aes128ctr
41.9341.9542.45T:aes128estream
42.4842.5743.28T:aes192ctr
49.0149.0649.72T:aes256ctr
61.9962.0162.43T:aes256estream
88.3388.4088.85T:ocelot1
90.8890.9695.30T:ocelot2
155.37158.69162.60T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
6.586.696.92T!!!chacha8
6.916.997.03T!!!salsa208
9.309.329.57T!!!chacha12
9.399.409.47T!!!salsa2012
11.1311.1811.55T:nlsv2
11.4111.5712.40tango642
13.1313.2914.02T:tpy6
14.2814.3614.81T!!!salsa20
14.4714.5715.04T!!!chacha20
15.1115.2115.71T!!!xsalsa20
14.70?15.34?17.85?T:sosemanuk
16.6617.1517.96T:cryptmtv3
18.5918.8619.72T:tpy
22.3522.6423.25T:tpypy
22.5723.0425.02T:panama
38.1138.7440.47T:aes128ctr
42.3642.7043.60T:aes128estream
44.7045.2147.01T:aes192ctr
51.4151.9153.82T:aes256ctr
62.4862.8064.04T:aes256estream
95.1895.6199.81T:ocelot1
97.7497.7999.06T:ocelot2
164.42165.56167.50T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
7.467.467.47T!!!chacha8
7.827.908.03T!!!salsa208
10.1310.1310.14T!!!chacha12
10.3910.3910.39T!!!salsa2012
14.5614.8415.94T:nlsv2
15.4715.6215.78T!!!chacha20
15.5815.6515.96T!!!salsa20
16.20?16.36?18.28?tango642
17.7617.9018.11T!!!xsalsa20
19.3419.3720.12T:tpy6
21.2921.9923.62T:cryptmtv3
22.97?23.86?27.17?T:sosemanuk
34.3934.7936.14T:tpy
37.8038.0140.03T:tpypy
38.9240.0343.02T:panama
43.4944.1046.36T:aes128estream
47.99?49.50?54.29?T:aes128ctr
55.3657.1361.27T:aes192ctr
63.6365.0169.68T:aes256ctr
64.1365.2067.70T:aes256estream
113.45114.10119.75T:ocelot1
115.97117.00122.32T:ocelot2
192.39193.06197.03T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
16.8416.8417.18T!!!chacha8
16.9716.9817.50T!!!salsa208
20.2220.2520.39T!!!chacha12
21.0521.1621.39T!!!salsa2012
27.0327.0628.01T!!!chacha20
28.9428.9429.11T!!!salsa20
48.1748.2248.79T!!!xsalsa20
57.9357.9658.45T:aes128estream
69.1369.1873.56T:nlsv2
70.8875.6277.37T:cryptmtv3
77.3778.5582.61tango642
82.0082.0382.53T:aes256estream
100.71101.93104.65T:tpy6
100.73102.23111.92T:aes128ctr
106.05107.63115.79T:aes192ctr
116.02116.91124.93T:aes256ctr
123.04?127.14?146.76?T:sosemanuk
236.14238.32255.15T:tpypy
237.56244.20259.30T:tpy
250.66?255.85?291.52?T:panama
349.90351.32367.49T:ocelot2
347.97?361.10?390.23?T:ocelot1
514.39525.35550.15T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
143.75143.75144.22T!!!chacha8
168.75169.17173.48T!!!salsa208
169.75169.75174.82T!!!chacha12
201.00203.38211.71T!!!salsa2012
211.57211.85214.02T:aes128estream
226.25226.25227.68T!!!chacha20
265.00265.00267.46T!!!salsa20
280.31280.50284.66T:aes256estream
347.38348.02358.56T:nlsv2
363.52?401.22?419.37?T:cryptmtv3
422.18422.33431.87T!!!xsalsa20
560.62562.77568.61tango642
565.83574.42606.85T:aes192ctr
559.34?575.86?658.12?T:aes128ctr
603.16611.20650.47T:aes256ctr
722.88723.28726.67T:tpy6
977.38?1007.40?1180.76?T:sosemanuk
1832.021855.162016.13T:tpy
1798.721856.861979.38T:tpypy
1986.17?2012.70?2256.66?T:panama
2186.952203.352407.53T:ocelot1
2191.062210.512428.18T:ocelot2
3375.223485.203648.14T:amastrid