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; Cortex-A72 (410fd083); 2019 Broadcom BCM2711; 4 x 1500MHz; pi4b, supercop-20240425

[Page version: 20240719 07:49:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.031.031.03tango642
2.322.322.33chacha8
2.552.552.59T:sosemanuk
2.592.592.60salsa208
3.073.113.18T:tpy
3.153.193.29T:tpy6
3.293.293.30chacha12
3.423.423.44T:nlsv2
3.593.603.60salsa2012
3.573.613.64T:panama
4.214.214.21T:cryptmtv3
5.285.285.28chacha20
5.315.595.64T:tpypy
5.595.595.60xsalsa20
5.595.595.59salsa20
11.4711.5511.77T:aes128estream
15.75?16.34?17.75?T:aes256estream
19.4319.4819.56T:aes128ctr
22.3422.7822.92T:aes192ctr
25.5925.7625.96T:aes256ctr
26.6726.7526.75T:ocelot1
27.8627.9228.59T:ocelot2
38.45?39.83?47.06?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.231.231.23tango642
2.342.342.34chacha8
2.622.622.62salsa208
3.143.153.17T:sosemanuk
3.313.313.31chacha12
3.563.563.57T:nlsv2
3.623.623.62salsa2012
3.913.933.99T:tpy6
4.624.624.62T:cryptmtv3
4.844.844.86T:panama
4.914.934.94T:tpy
5.305.305.31chacha20
5.625.625.62salsa20
5.705.705.70xsalsa20
7.147.217.25T:tpypy
11.5911.6211.78T:aes128estream
16.2616.4417.45T:aes256estream
19.9819.9920.03T:aes128ctr
23.1023.2423.33T:aes192ctr
26.2126.2326.37T:aes256ctr
27.9827.9927.99T:ocelot1
29.1929.2129.71T:ocelot2
40.88?41.71?46.87?T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.561.561.56tango642
2.332.352.37chacha8
2.652.652.66salsa208
3.343.343.35chacha12
3.653.653.66salsa2012
3.813.833.83T:nlsv2
4.184.194.20T:sosemanuk
5.165.175.19T:tpy6
5.345.345.35chacha20
5.475.475.48T:cryptmtv3
5.665.675.67salsa20
5.885.885.89xsalsa20
6.906.916.96T:panama
7.837.837.89T:tpy
9.799.879.92T:tpypy
11.7111.7411.87T:aes128estream
16.4116.5917.49T:aes256estream
20.7920.8520.98T:aes128ctr
23.9023.9324.44T:aes192ctr
27.0227.0327.28T:aes256ctr
29.9730.0030.19T:ocelot1
31.2431.3731.40T:ocelot2
46.4846.9649.44T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.412.412.41tango642
2.732.732.76chacha8
2.752.752.76salsa208
3.753.753.75salsa2012
4.134.144.14chacha12
4.504.524.53T:nlsv2
5.755.755.76salsa20
5.825.825.88chacha20
6.356.356.37xsalsa20
6.436.536.56T:cryptmtv3
6.946.997.04T:sosemanuk
8.518.518.55T:tpy6
11.9511.9712.14T:aes128estream
12.3912.4412.49T:panama
15.9916.0816.10T:tpy
16.8417.1017.98T:aes256estream
17.2017.3317.56T:tpypy
23.0023.0723.13T:aes128ctr
26.0626.1026.95T:aes192ctr
29.1129.1629.95T:aes256ctr
35.8436.0036.06T:ocelot1
37.1637.2437.32T:ocelot2
51.7255.1855.47T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
3.773.803.84salsa208
4.804.845.19salsa2012
5.925.945.94chacha8
6.806.846.84salsa20
10.3610.3610.39chacha20
10.8011.1711.19chacha12
12.1612.1612.38xsalsa20
13.5013.5013.50tango642
14.2014.2014.42T:nlsv2
15.1415.3015.52T:aes128estream
16.42?16.58?21.36?T:cryptmtv3
22.2522.4523.52T:aes256estream
40.1240.1940.50T:sosemanuk
47.8048.4249.45T:aes128ctr
50.8350.8450.91T:tpy6
52.8453.5953.94T:aes192ctr
55.8156.5957.78T:aes256ctr
82.3182.6282.83T:panama
110.75110.92111.33T:ocelot1
111.94112.22112.97T:ocelot2
111.97112.23113.08T:tpypy
120.02120.05120.20T:tpy
149.45151.41153.97T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
34.2534.3834.38salsa208
42.2542.2542.38salsa2012
46.6246.6246.62chacha8
53.5053.8854.25T:aes128estream
58.1258.2558.62salsa20
65.0065.3865.38chacha12
77.5078.1278.75T:nlsv2
82.2582.2582.38chacha20
81.2583.0087.75T:aes256estream
96.88?99.50?141.00?T:cryptmtv3
101.25102.25103.50xsalsa20
102.75102.75105.75tango642
270.25275.25285.12T:aes128ctr
294.00299.88308.38T:aes256ctr
298.75304.75314.88T:aes192ctr
321.88322.38324.88T:sosemanuk
385.62385.75385.75T:tpy6
652.38652.50652.62T:panama
702.12702.25705.50T:ocelot2
704.62708.50719.25T:ocelot1
858.12867.50867.88T:tpypy
940.12941.50942.12T:tpy
975.25977.50981.12T:amastrid