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

[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
2.962.972.98chacha8
3.883.893.90tango642
4.014.024.04T:tpy6
4.054.064.07salsa208
4.044.104.11chacha12
4.024.144.21T:tpy
4.304.304.31T:nlsv2
4.654.724.79T:sosemanuk
5.735.745.81salsa2012
5.865.875.91T:panama
6.116.126.14T:cryptmtv3
6.176.186.18T:speck64128ctr
6.596.626.62chacha20
6.776.856.90T:tpypy
9.099.109.15salsa20
9.099.139.16xsalsa20
16.3316.4216.55T:aes128ctr
18.1018.1518.34T:aes128estream
19.2919.4619.60T:aes192ctr
22.0722.1322.28T:aes256ctr
25.1825.2025.23T:aes256estream
54.1054.2154.31T:ocelot1
55.2655.3455.43T:ocelot2
86.5788.2190.78T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
3.063.063.07chacha8
4.174.204.21chacha12
4.254.254.25salsa208
4.554.564.57tango642
4.694.694.70T:nlsv2
4.954.964.97T:tpy6
5.625.655.69T:sosemanuk
5.985.986.03salsa2012
6.276.286.28T:speck64128ctr
6.246.326.38T:tpy
6.696.716.71chacha20
7.177.187.18T:cryptmtv3
7.787.787.81T:panama
9.089.109.13T:tpypy
9.459.459.49salsa20
9.619.649.65xsalsa20
18.1618.1918.26T:aes128ctr
18.2718.2818.33T:aes128estream
21.1721.2121.28T:aes192ctr
23.8823.9024.00T:aes256ctr
25.3525.3525.36T:aes256estream
56.4856.5156.56T:ocelot1
57.6157.6457.69T:ocelot2
89.9190.5791.72T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
3.223.223.22chacha8
4.344.364.38chacha12
4.564.564.60salsa208
5.625.625.62T:nlsv2
5.675.675.69tango642
6.386.426.42salsa2012
6.456.466.47T:speck64128ctr
6.506.506.53T:tpy6
6.846.866.86chacha20
7.257.317.35T:sosemanuk
8.868.868.88T:cryptmtv3
9.919.939.95T:tpy
10.0410.0410.06salsa20
10.4610.4710.48xsalsa20
10.9610.9911.03T:panama
12.8012.9313.00T:tpypy
18.5518.5718.58T:aes128estream
21.0721.1421.30T:aes128ctr
24.0724.1524.39T:aes192ctr
25.5825.6725.67T:aes256estream
26.8226.8626.97T:aes256ctr
60.3160.3560.53T:ocelot1
61.4561.5061.63T:ocelot2
91.6292.4494.45T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
4.404.404.41chacha8
4.934.934.96salsa208
5.675.705.73chacha12
6.806.816.81salsa2012
6.906.916.91T:speck64128ctr
7.737.757.77T:nlsv2
8.198.208.22chacha20
8.678.688.73tango642
10.5110.5210.55salsa20
10.6510.6510.69T:tpy6
11.6711.6811.69xsalsa20
11.6511.7911.86T:sosemanuk
11.8011.8111.86T:cryptmtv3
19.0619.0919.10T:aes128estream
19.3719.4319.54T:panama
19.7719.7919.80T:tpy
22.7822.8122.86T:tpypy
26.2426.3226.41T:aes256estream
30.6030.7131.11T:aes128ctr
33.8134.0834.48T:aes192ctr
37.0137.0737.31T:aes256ctr
70.3970.6170.73T:ocelot1
71.5871.8272.38T:ocelot2
108.06108.28108.41T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
11.2711.4111.42salsa208
12.6912.7313.12T:speck64128ctr
14.5814.7814.80salsa2012
14.8614.8814.92chacha8
17.1917.3617.38chacha12
19.9119.9820.03chacha20
21.2021.5521.56salsa20
26.5526.9227.00T:aes128estream
31.5931.7031.94xsalsa20
34.5334.8634.95T:aes256estream
38.5038.6438.86T:cryptmtv3
41.8441.9142.06T:nlsv2
46.5246.5246.59tango642
60.8461.5862.34T:sosemanuk
63.5363.8063.91T:tpy6
123.39124.61125.59T:aes128ctr
125.53126.88129.12T:aes192ctr
127.17127.64128.14T:panama
128.30129.59131.70T:aes256ctr
145.48145.58145.62T:tpy
150.84151.00151.39T:tpypy
200.42200.78201.84T:ocelot1
202.28202.66203.08T:ocelot2
264.69265.48271.64T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
53.1253.1253.62T:speck64128ctr
96.5096.7597.00chacha8
96.7597.75102.25salsa208
107.25107.50108.38T:aes128estream
116.62116.75120.25chacha12
123.00124.75128.88salsa2012
127.88128.25128.88T:aes256estream
157.25157.62158.50chacha20
176.00178.75181.75salsa20
219.88220.38221.12T:nlsv2
253.38254.12256.00T:cryptmtv3
257.88260.12262.12xsalsa20
347.25348.25348.75tango642
481.38482.00483.00T:tpy6
482.50486.62493.00T:sosemanuk
878.25884.62897.88T:aes128ctr
878.75889.50908.75T:aes256ctr
869.75895.12903.62T:aes192ctr
996.881002.381010.38T:panama
1137.621138.751139.50T:tpy
1155.881156.621158.12T:tpypy
1221.501225.381230.88T:ocelot2
1225.501227.881235.38T:ocelot1
1704.121727.751731.12T:amastrid