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; Skylark (503f0002); 2018 Ampere eMAG 8180; 32 x 3300MHz; unstable; gcc185, supercop-20240107

[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
1.121.121.15tango642
3.273.303.32T:sosemanuk
3.613.643.64salsa208
3.643.663.66chacha8
3.713.743.76T:panama
4.054.084.10T:aes128ctr
4.224.254.27T:nlsv2
4.304.354.66T:tpy
4.354.354.35T:tpy6
4.544.594.59T:aes192ctr
5.055.085.10chacha12
5.205.255.32salsa2012
5.225.255.25T:cryptmtv3
5.525.545.57T:aes256ctr
6.056.056.05T:tpypy
8.118.118.13chacha20
8.208.258.25salsa20
8.358.358.35xsalsa20
14.2314.2614.26T:aes128estream
19.7319.7519.75T:aes256estream
28.5428.5628.61T:ocelot1
31.8632.0332.13T:ocelot2
45.2146.2248.41T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.321.321.34tango642
3.663.663.66salsa208
3.663.683.68chacha8
4.014.014.03T:sosemanuk
4.124.144.14T:aes128ctr
4.494.504.50T:nlsv2
4.834.854.85T:aes192ctr
4.944.944.96T:panama
5.075.075.07T:tpy6
5.095.095.11chacha12
5.245.265.31salsa2012
5.605.625.62T:aes256ctr
5.775.775.77T:cryptmtv3
6.066.086.10T:tpy
7.627.627.62T:tpypy
8.138.138.15chacha20
8.248.268.26salsa20
8.518.518.51xsalsa20
14.3214.3414.34T:aes128estream
19.8719.8919.89T:aes256estream
30.3030.3230.36T:ocelot1
33.7133.7833.86T:ocelot2
48.6148.9850.46T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.661.661.66tango642
3.713.713.71chacha8
3.713.713.76salsa208
4.204.204.25T:aes128ctr
5.035.035.08T:nlsv2
5.135.135.18chacha12
5.275.275.27salsa2012
5.275.275.37T:sosemanuk
5.325.325.32T:aes192ctr
5.715.715.76T:aes256ctr
6.306.306.30T:tpy6
6.936.986.98T:panama
7.087.087.08T:cryptmtv3
8.158.208.20chacha20
8.308.308.30salsa20
8.798.798.84xsalsa20
8.948.989.03T:tpy
10.2110.2110.25T:tpypy
14.4514.5014.55T:aes128estream
20.1220.1220.17T:aes256estream
33.2533.2533.30T:ocelot1
36.5736.6236.77T:ocelot2
52.5952.7853.42T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.472.602.60tango642
3.783.783.78chacha8
3.783.913.91salsa208
4.824.954.95T:aes128ctr
5.215.215.21chacha12
5.345.345.47salsa2012
6.256.386.38T:nlsv2
6.516.516.64T:aes192ctr
6.646.646.64T:aes256ctr
7.817.817.81T:cryptmtv3
8.208.208.33chacha20
8.338.338.46salsa20
8.598.728.85T:sosemanuk
9.519.519.64T:tpy6
9.519.519.64xsalsa20
12.2412.3712.50T:panama
14.8414.8414.97T:aes128estream
15.7615.8916.80T:tpy
17.0617.1917.19T:tpypy
20.7020.7020.70T:aes256estream
41.0241.0241.15T:ocelot1
44.5344.6644.66T:ocelot2
63.6764.7165.62T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
4.694.694.69chacha8
4.69?4.69?5.86?salsa208
5.86?5.86?7.03?chacha12
5.86?5.86?7.03?salsa2012
9.389.389.38chacha20
9.389.389.38salsa20
10.5511.7211.72T:aes128ctr
14.0614.0614.06tango642
15.2315.2315.23T:aes256ctr
16.4116.4116.41T:cryptmtv3
18.7518.7518.75xsalsa20
19.9219.9219.92T:aes128estream
22.2722.2722.27T:aes192ctr
25.7826.9526.95T:nlsv2
28.1228.1229.30T:aes256estream
46.8848.0548.05T:sosemanuk
50.3950.3951.56T:tpy6
82.0382.0383.20T:panama
105.47105.47105.47T:tpypy
114.84116.02117.19T:tpy
140.62141.80141.80T:ocelot1
145.31145.31145.31T:ocelot2
196.88196.88200.39T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
37.50?46.88?46.88?chacha8
46.8846.8846.88salsa208
56.2556.2556.25chacha12
56.2556.2556.25salsa2012
75.0075.0075.00T:aes128estream
75.0075.0075.00salsa20
75.00?84.38?84.38?chacha20
84.3884.3884.38T:cryptmtv3
84.3893.7593.75T:aes128ctr
103.12103.12112.50tango642
112.50112.50112.50T:aes256estream
121.88121.88121.88T:aes256ctr
140.62140.62150.00T:nlsv2
150.00150.00159.38T:aes192ctr
150.00159.38159.38xsalsa20
375.00384.38384.38T:sosemanuk
375.00384.38384.38T:tpy6
646.88646.88656.25T:panama
806.25806.25815.62T:tpypy
890.62890.62900.00T:tpy
928.12928.12937.50T:ocelot1
937.50937.50946.88T:ocelot2
1331.251331.251359.38T:amastrid