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-A76 (414fd0b1); 2023 Broadcom BCM2712; 4 x 1500MHz; pi5, supercop-20250415

[Page version: 20250615 19:27:09]

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
0.780.790.80tango642
0.850.860.87T:aes128ctr
0.870.900.93T:aes192ctr
1.111.121.12T:aes256ctr
1.441.451.45chacha8
2.022.032.05T:sosemanuk
1.992.062.11T:tpy
2.052.062.06chacha12
2.212.262.32T:tpy6
2.442.452.47T:panama
2.452.462.48T:nlsv2
2.472.472.48salsa208
2.752.832.86T:salsa2012
3.043.053.06T:cryptmtv3
3.273.283.28salsa2012
3.233.293.35T:tpypy
3.293.293.30chacha20
4.264.284.31T:salsa20
4.764.784.88xsalsa20
4.814.894.90salsa20
9.249.279.29T:aes128estream
12.8412.8913.06T:aes256estream
19.7419.9220.04T:ocelot1
20.3820.6320.82T:ocelot2
31.9532.1732.91T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.890.890.90T:aes128ctr
0.930.930.94tango642
1.161.161.16T:aes256ctr
1.191.201.21T:aes192ctr
1.451.451.46chacha8
2.062.072.07chacha12
2.462.462.47T:sosemanuk
2.482.492.49salsa208
2.562.572.58T:nlsv2
2.872.892.92T:tpy6
2.973.023.03T:salsa2012
3.293.293.29salsa2012
3.303.313.31chacha20
3.313.323.32T:panama
3.363.373.37T:cryptmtv3
3.513.533.55T:tpy
4.424.434.45T:salsa20
4.754.774.81T:tpypy
4.874.874.94xsalsa20
4.844.894.89salsa20
9.339.349.35T:aes128estream
12.9712.9913.10T:aes256estream
20.8921.0021.07T:ocelot1
21.5721.7121.83T:ocelot2
33.4033.4933.69T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.960.960.96T:aes128ctr
1.171.171.18tango642
1.241.241.25T:aes256ctr
1.471.471.48chacha8
1.651.671.68T:aes192ctr
2.082.082.09chacha12
2.512.512.51salsa208
2.822.832.84T:nlsv2
3.223.223.25T:sosemanuk
3.303.313.32salsa2012
3.323.323.32chacha20
3.283.343.35T:salsa2012
3.913.933.97T:tpy6
4.014.024.04T:cryptmtv3
4.704.714.73T:salsa20
4.734.764.78T:panama
4.874.924.94salsa20
5.015.025.02xsalsa20
5.935.966.00T:tpy
7.227.257.30T:tpypy
9.439.469.49T:aes128estream
13.1413.1613.21T:aes256estream
22.5822.8422.89T:ocelot1
23.3223.4423.59T:ocelot2
33.8535.8835.94T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.181.191.20T:aes128ctr
1.541.541.56T:aes256ctr
1.781.801.80chacha8
1.801.821.84tango642
2.442.452.45chacha12
2.582.582.59salsa208
2.953.043.06T:aes192ctr
3.383.393.39salsa2012
3.403.413.44T:nlsv2
3.833.843.87chacha20
4.134.144.16T:salsa2012
4.544.554.58T:cryptmtv3
4.884.954.97salsa20
5.205.225.27T:sosemanuk
5.425.435.45xsalsa20
5.385.445.46T:salsa20
6.566.626.76T:tpy6
8.518.568.57T:panama
9.759.789.81T:aes128estream
12.5412.6012.78T:tpy
13.5013.5413.59T:aes256estream
13.7813.8614.10T:tpypy
27.3627.6227.72T:ocelot1
27.9328.5028.64T:ocelot2
41.7441.9342.18T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
3.113.143.17salsa208
3.733.773.89T:aes128ctr
3.893.913.97salsa2012
4.224.284.36chacha8
4.914.925.12T:aes256ctr
5.585.595.66salsa20
5.565.755.88chacha12
8.148.258.45chacha20
9.569.669.78T:cryptmtv3
9.9810.0510.12tango642
10.0910.1610.22xsalsa20
13.0313.1113.19T:nlsv2
13.4413.5313.73T:aes128estream
13.7813.8413.88T:salsa20
14.3614.5214.70T:salsa2012
17.8418.0318.27T:aes256estream
19.0519.2020.36T:aes192ctr
29.3029.5229.66T:sosemanuk
41.3441.6442.31T:tpy6
56.1956.4556.66T:panama
88.8689.2889.83T:ocelot1
90.0391.5592.45T:ocelot2
96.3696.6797.52T:tpy
97.8198.9299.52T:tpypy
121.77122.38123.48T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
25.8826.0026.25salsa208
29.5029.5030.12T:aes128ctr
32.0032.3832.62salsa2012
32.8833.3833.88chacha8
38.3838.7539.62T:aes256ctr
43.1243.2543.75chacha12
45.0045.2545.50salsa20
50.7551.2553.88T:cryptmtv3
54.0055.0056.25T:aes128estream
61.1261.5061.88T:nlsv2
63.6264.5064.88chacha20
67.2568.7571.12T:aes256estream
76.5077.0077.62tango642
81.5082.0082.75xsalsa20
114.50114.88120.62T:salsa20
119.00120.88121.38T:salsa2012
148.62150.12160.50T:aes192ctr
234.62236.00238.88T:sosemanuk
316.38318.50326.50T:tpy6
444.50450.75450.88T:panama
582.12584.75587.88T:ocelot1
586.88591.88595.50T:ocelot2
752.12757.12763.38T:tpy
757.88765.25777.12T:tpypy
809.25812.50819.75T:amastrid