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: aarch64; Neoverse-N1 (413fd0c1); 2021 Ampere Altra Max M128-30; 64 x 3000MHz; cfarm425, supercop-20261018

[Page version: 20261114 11:14:08]

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
0.690.710.73tango642
0.880.910.94T:aes128ctr
0.88?0.94?0.99?T:aes192ctr
1.05?1.17?1.18?T:aes256ctr
1.401.421.43chacha8
1.891.962.02T:tpy
2.012.022.03chacha12
2.002.072.11T:sosemanuk
2.162.232.30T:tpy6
2.212.282.33salsa208
2.23?2.33?2.51?T:nlsv2
2.412.502.56T:panama
2.872.912.95T:cryptmtv3
3.02?3.06?3.40?salsa2012
3.133.213.25T:tpypy
3.233.243.25chacha20
4.504.514.52xsalsa20
4.604.654.89salsa20
8.809.219.75T:aes128estream
12.2812.3612.42T:aes256estream
17.7318.1919.23T:ocelot1
18.8919.0920.00T:ocelot2
28.5328.6528.80T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.870.870.88tango642
0.970.970.99T:aes128ctr
1.231.241.24T:aes256ctr
1.281.311.34T:aes192ctr
1.461.461.47chacha8
2.062.062.07chacha12
2.332.342.37salsa208
2.512.522.65T:nlsv2
2.582.592.61T:sosemanuk
2.832.862.90T:tpy6
3.063.083.33salsa2012
3.263.273.29T:cryptmtv3
3.283.283.29chacha20
3.363.373.40T:panama
3.433.463.49T:tpy
4.604.604.61xsalsa20
4.604.634.65T:tpypy
4.634.644.82salsa20
8.909.179.57T:aes128estream
12.4212.4612.49T:aes256estream
19.2719.3120.05T:ocelot1
20.2520.3020.89T:ocelot2
29.9329.9730.01T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.061.061.07T:aes128ctr
1.131.141.15tango642
1.361.371.38T:aes256ctr
1.531.531.54chacha8
1.93?2.01?2.21?T:aes192ctr
2.122.142.25chacha12
2.432.442.47salsa208
2.96?3.07?3.46?T:nlsv2
3.133.143.23salsa2012
3.343.343.37chacha20
3.483.493.51T:sosemanuk
3.943.994.04T:tpy6
3.984.024.18T:cryptmtv3
4.644.654.75salsa20
4.774.784.79xsalsa20
4.764.824.93T:panama
5.905.935.99T:tpy
6.916.967.06T:tpypy
8.908.938.99T:aes128estream
12.5912.6212.66T:aes256estream
21.0221.0821.19T:ocelot1
22.0622.1822.89T:ocelot2
31.9532.0532.60T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.41?1.44?1.88?T:aes128ctr
1.761.791.87T:aes256ctr
1.831.851.96tango642
2.232.232.25chacha8
2.572.602.67salsa208
2.882.913.05chacha12
3.213.233.27salsa2012
3.503.563.79T:aes192ctr
3.933.974.07T:nlsv2
4.214.234.26chacha20
4.674.714.77T:cryptmtv3
4.704.724.78salsa20
5.185.195.38xsalsa20
5.815.866.06T:sosemanuk
6.826.907.02T:tpy6
8.518.569.07T:panama
9.289.329.37T:aes128estream
12.4812.5512.72T:tpy
13.0213.0713.25T:aes256estream
13.3013.4313.54T:tpypy
25.9326.1027.70T:ocelot1
26.8027.0027.52T:ocelot2
37.3937.8738.26T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
4.875.035.15salsa2012
4.84?5.15?5.46?salsa208
5.39?5.55?6.27?T:aes128ctr
6.50?6.65?9.23?salsa20
6.656.687.11T:aes256ctr
8.618.639.53chacha8
9.73?9.94?11.83?chacha12
10.5910.6710.71xsalsa20
10.7610.8411.20T:cryptmtv3
10.9011.0411.27tango642
11.9312.0312.23chacha20
13.3813.5313.71T:aes128estream
18.1818.3518.81T:aes256estream
19.79?20.19?22.17?T:nlsv2
24.44?26.13?28.70?T:aes192ctr
34.1734.5336.34T:sosemanuk
42.5742.9843.95T:tpy6
55.9756.3658.10T:panama
88.4189.4790.96T:ocelot2
88.8690.4695.23T:ocelot1
92.9693.8395.90T:tpypy
96.8898.0599.09T:tpy
109.89110.94112.00T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
37.67?38.19?43.35?salsa208
41.07?42.71?46.90?T:aes128ctr
42.3143.0245.71salsa2012
51.5052.6156.98T:aes256ctr
54.1754.8257.25salsa20
54.2555.2960.18chacha8
55.3356.2558.88T:aes128estream
59.8661.7663.11T:cryptmtv3
63.7464.2470.24chacha12
72.3073.4579.03T:aes256estream
81.3281.8383.44chacha20
84.5185.0189.12tango642
88.0188.4691.93xsalsa20
100.39?101.98?113.68?T:nlsv2
197.72?206.94?228.27?T:aes192ctr
274.60276.61291.10T:sosemanuk
330.52332.98338.00T:tpy6
442.78446.95490.33T:panama
571.69578.15607.12T:ocelot1
573.04578.67588.29T:ocelot2
737.86747.68764.29T:amastrid
739.30755.70765.05T:tpypy
764.20769.14785.00T:tpy