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-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
2.972.972.98chacha8
3.893.893.91tango642
4.014.024.05T:tpy6
4.014.054.11T:tpy
4.054.054.07salsa208
4.044.104.10chacha12
4.294.294.30T:nlsv2
4.604.694.73T:sosemanuk
5.735.745.75salsa2012
5.865.885.91T:panama
6.126.136.13T:cryptmtv3
6.166.186.19T:speck64128ctr
6.596.626.63chacha20
6.806.896.93T:tpypy
9.109.119.15xsalsa20
9.109.159.15salsa20
16.3816.4816.62T:aes128ctr
18.1218.1518.18T:aes128estream
19.3519.4819.78T:aes192ctr
22.2822.4522.60T:aes256ctr
25.1425.2225.32T:aes256estream
54.0454.2254.37T:ocelot1
55.3155.5055.58T:ocelot2
84.7487.2288.93T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
3.063.063.07chacha8
4.174.204.20chacha12
4.254.254.25salsa208
4.564.564.57tango642
4.694.694.69T:nlsv2
4.954.954.97T:tpy6
5.585.615.64T:sosemanuk
5.985.985.99salsa2012
6.236.256.29T:tpy
6.276.286.29T:speck64128ctr
6.696.716.71chacha20
7.177.187.18T:cryptmtv3
7.777.787.79T:panama
9.059.119.14T:tpypy
9.459.489.49salsa20
9.629.629.65xsalsa20
18.1818.2118.30T:aes128ctr
18.2818.2918.30T:aes128estream
21.1621.2021.40T:aes192ctr
24.1924.2424.31T:aes256ctr
25.3425.3825.44T:aes256estream
56.4856.5156.61T:ocelot1
57.7457.7957.84T:ocelot2
88.3190.1190.62T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
3.223.223.22chacha8
4.354.374.38chacha12
4.554.554.56salsa208
5.635.645.65T:nlsv2
5.665.675.69tango642
6.376.386.38salsa2012
6.446.466.47T:speck64128ctr
6.506.506.52T:tpy6
6.846.866.86chacha20
7.227.257.29T:sosemanuk
8.868.868.86T:cryptmtv3
9.909.9210.03T:tpy
10.0410.0610.06salsa20
10.4810.4910.49xsalsa20
10.9210.9410.96T:panama
12.7712.7712.80T:tpypy
18.4918.5018.54T:aes128estream
21.0421.1021.46T:aes128ctr
23.9824.0624.17T:aes192ctr
25.6525.6725.68T:aes256estream
27.1127.1827.46T:aes256ctr
60.2560.3060.50T:ocelot1
61.3961.4861.70T:ocelot2
93.6793.8895.33T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
4.404.404.41chacha8
4.914.954.96salsa208
5.715.725.73chacha12
6.776.806.80salsa2012
6.916.916.94T:speck64128ctr
7.767.807.82T:nlsv2
8.278.288.29chacha20
8.658.688.69tango642
10.5510.5510.56salsa20
10.6310.6710.68T:tpy6
11.6911.6911.73xsalsa20
11.6511.7311.84T:sosemanuk
11.8011.8111.83T:cryptmtv3
18.7819.1119.18T:aes128estream
19.3519.4019.46T:panama
19.7219.7419.78T:tpy
22.7722.7822.79T:tpypy
26.2926.3826.50T:aes256estream
30.5630.7731.17T:aes128ctr
33.7133.9634.14T:aes192ctr
37.2637.4437.90T:aes256ctr
70.4670.5570.77T:ocelot1
71.6871.8572.17T:ocelot2
104.75107.37109.01T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
11.2711.4211.42salsa208
13.0913.1413.19T:speck64128ctr
14.5814.8014.80salsa2012
14.8814.8914.94chacha8
17.3617.3617.38chacha12
19.9820.0220.03chacha20
21.2021.5521.56salsa20
26.9227.0827.34T:aes128estream
31.8332.1432.17xsalsa20
34.8635.1235.30T:aes256estream
38.4838.5038.59T:cryptmtv3
41.8441.9742.25T:nlsv2
46.5246.5246.61tango642
60.7761.3661.97T:sosemanuk
63.5563.7763.86T:tpy6
122.12123.89127.38T:aes128ctr
123.69125.59126.42T:aes192ctr
127.00127.38128.12T:panama
126.19127.55131.09T:aes256ctr
145.58145.64145.94T:tpy
150.89150.95151.08T:tpypy
200.36201.23201.45T:ocelot1
201.70202.06202.41T:ocelot2
272.56273.52274.05T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
53.1253.1253.62T:speck64128ctr
96.3896.5096.75chacha8
96.5097.7597.75salsa208
109.38111.62112.50T:aes128estream
116.62116.62116.62chacha12
123.25124.75128.50salsa2012
130.25133.00134.88T:aes256estream
157.25157.62158.62chacha20
176.00178.75181.62salsa20
219.62220.62224.00T:nlsv2
253.25253.38254.12T:cryptmtv3
265.38265.75267.75xsalsa20
347.38347.75348.38tango642
480.25481.12482.75T:tpy6
480.62484.25491.25T:sosemanuk
862.75869.50887.50T:aes192ctr
866.75875.00884.75T:aes256ctr
873.62881.62905.88T:aes128ctr
997.001002.501007.00T:panama
1136.621137.001139.88T:tpy
1156.251157.251161.88T:tpypy
1222.621229.621234.25T:ocelot1
1223.501231.621237.00T:ocelot2
1719.121721.881726.75T:amastrid