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: amd64; K10 45nm (100f63); 2010 AMD Athlon II Neo K125; 1 x 1700MHz; h3neo, supercop-20240909

[Page version: 20241017 10:58:49]

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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.211.211.21tango642
2.822.822.83chacha8
2.842.902.95T:hc128
3.443.443.44salsa208
3.483.493.50T:tpy6
3.593.613.62T:tpy
3.963.963.96chacha12
4.014.034.03T:nlsv2
4.034.064.08T:sosemanuk
4.094.134.20T:snow20
4.124.144.25T:hc256
4.184.194.19T:trivium
4.314.344.39T:panama
4.464.474.47T:rabbit
4.804.814.81salsa2012
4.964.974.97T:lexv2
5.405.405.58T:cryptmtv3
5.41?5.81?6.23?T:tpypy
6.236.246.24chacha20
7.487.487.51salsa20
7.477.497.50xsalsa20
10.2210.2310.26T:aes128estream
19.3619.3919.41T:aes256estream
27.7227.8328.18T:aes128ctr
28.9829.5429.63T:ocelot1
30.9631.2432.37T:ocelot2
31.2631.3031.36T:aes192ctr
34.8634.9835.06T:aes256ctr
51.8552.9354.29T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.461.461.46tango642
2.852.852.85chacha8
3.463.463.46salsa208
3.983.983.98chacha12
4.244.254.31T:snow20
4.284.294.29T:nlsv2
4.314.324.33T:sosemanuk
4.354.354.36T:trivium
4.474.474.47T:tpy6
4.594.594.59T:rabbit
4.844.844.84salsa2012
5.135.135.13T:lexv2
5.615.625.62T:tpy
5.635.645.67T:panama
6.216.216.25T:cryptmtv3
6.266.276.27chacha20
7.517.517.53salsa20
7.517.557.57T:hc128
7.647.657.65xsalsa20
7.858.148.15T:tpypy
10.3110.3210.32T:aes128estream
16.4216.4316.50T:hc256
19.5019.5119.52T:aes256estream
28.2628.3428.59T:aes128ctr
31.2531.5431.55T:ocelot1
31.8031.8031.83T:aes192ctr
33.4533.5834.22T:ocelot2
35.5135.5135.57T:aes256ctr
54.5955.3556.17T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.881.881.88tango642
2.892.892.89chacha8
3.503.503.50salsa208
4.034.034.03chacha12
4.454.464.50T:snow20
4.634.634.64T:trivium
4.794.804.80T:rabbit
4.834.844.84T:sosemanuk
4.884.894.89salsa2012
5.005.015.02T:nlsv2
5.405.405.40T:lexv2
6.096.116.11T:tpy6
6.316.326.32chacha20
7.567.577.57salsa20
7.797.827.83T:panama
7.917.917.92xsalsa20
8.278.278.27T:cryptmtv3
8.968.978.99T:tpy
10.4110.4510.45T:aes128estream
11.2212.0112.02T:tpypy
15.2415.2815.30T:hc128
19.6819.7319.76T:aes256estream
29.1029.1629.22T:aes128ctr
32.6132.7132.89T:aes192ctr
34.7234.8335.04T:ocelot1
36.4436.5336.65T:aes256ctr
36.8836.9036.96T:hc256
37.1037.7838.03T:ocelot2
59.7860.4660.57T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.972.972.99tango642
3.283.303.31chacha8
3.623.623.63salsa208
4.594.594.59chacha12
4.964.995.07T:snow20
5.285.285.29salsa2012
5.355.355.36T:rabbit
5.375.375.39T:trivium
6.146.166.16T:lexv2
6.286.286.33T:sosemanuk
6.486.486.51T:nlsv2
7.277.277.28chacha20
8.178.178.19salsa20
9.029.069.06xsalsa20
8.919.299.29T:cryptmtv3
10.4610.4710.50T:tpy6
10.7210.7810.84T:aes128estream
13.5813.6113.65T:panama
17.8817.8817.90T:tpy
20.2520.2820.39T:aes256estream
20.2422.3922.40T:tpypy
31.3131.3531.42T:aes128ctr
34.8634.9634.99T:aes192ctr
35.9336.0036.03T:hc128
38.6538.7639.09T:aes256ctr
44.1444.6244.69T:ocelot1
46.4146.5147.50T:ocelot2
68.1868.6168.76T:amastrid
91.4691.4691.51T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.624.624.62salsa208
6.566.566.75chacha8
8.538.538.53salsa2012
9.239.259.27chacha12
11.7511.7811.80T:snow20
12.1212.1612.16T:rabbit
13.0013.0013.06salsa20
14.3114.5214.69T:aes128estream
14.5614.5814.77T:trivium
14.6114.6114.62chacha20
15.0615.2315.25T:lexv2
16.6216.6416.84tango642
20.4520.4520.95T:cryptmtv3
20.8120.8120.88xsalsa20
22.4422.4522.48T:sosemanuk
27.2827.3327.41T:aes256estream
32.6632.9533.02T:nlsv2
59.6659.9460.03T:aes128ctr
63.0363.1964.89T:aes192ctr
65.7265.9466.47T:tpy6
68.4771.9575.56T:aes256ctr
87.1787.5287.55T:panama
131.73131.84132.12T:tpy
135.30?135.38?154.94?T:tpypy
164.72165.06165.77T:ocelot1
165.41167.12168.84T:ocelot2
197.89199.80200.89T:amastrid
299.81299.81299.94T:hc128
789.81789.97790.41T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
42.3842.3842.50salsa208
54.8854.8855.25T:aes128estream
56.0058.7559.75chacha8
71.0071.0071.00salsa2012
72.6272.6272.75T:rabbit
78.3878.8882.25chacha12
87.5087.6289.12T:trivium
87.3887.7588.38T:lexv2
91.6292.2593.12T:snow20
102.88103.62105.12T:aes256estream
108.38108.50108.75salsa20
111.75111.88112.62T:cryptmtv3
119.25120.25121.50chacha20
124.12124.25125.88tango642
147.25147.25147.50T:nlsv2
168.75169.12169.38xsalsa20
177.12177.50177.88T:sosemanuk
305.50309.50324.88T:aes128ctr
329.00331.00336.00T:aes192ctr
348.50?350.00?389.88?T:aes256ctr
502.38506.00538.62T:tpy6
686.25693.25694.12T:panama
1029.251031.881033.38T:tpy
1046.751048.121048.50T:tpypy
1105.501109.121110.25T:ocelot1
1113.381119.381132.50T:ocelot2
1335.001345.121366.38T:amastrid
2397.502397.622397.88T:hc128
6311.886313.886315.25T:hc256