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-20251222

[Page version: 20260221 06:45: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 (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.700.710.72tango642
0.890.890.90T:aes128ctr
0.880.900.91T:aes192ctr
1.171.171.17T:aes256ctr
1.441.451.45chacha8
1.881.952.00T:tpy
2.062.062.07chacha12
2.082.112.16T:sosemanuk
2.112.192.23T:tpy6
2.282.282.29salsa208
2.442.452.47T:nlsv2
2.502.522.55T:panama
3.023.023.03salsa2012
3.043.063.08T:cryptmtv3
3.133.173.21T:tpypy
3.243.253.26chacha20
4.474.504.53xsalsa20
4.524.534.55salsa20
8.558.618.80T:aes128estream
12.2012.2412.39T:aes256estream
19.3719.5619.94T:ocelot1
19.5919.7019.79T:ocelot2
26.7127.8728.35T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.850.850.86tango642
0.940.940.94T:aes128ctr
1.161.171.18T:aes192ctr
1.211.211.22T:aes256ctr
1.461.461.46chacha8
2.072.072.08chacha12
2.302.302.30salsa208
2.542.552.58T:sosemanuk
2.562.562.57T:nlsv2
2.782.822.84T:tpy6
3.043.043.04salsa2012
3.263.273.27chacha20
3.353.363.37T:cryptmtv3
3.383.413.44T:tpy
3.413.423.44T:panama
4.504.524.54T:tpypy
4.544.554.56salsa20
4.574.594.61xsalsa20
8.668.678.81T:aes128estream
12.3112.3212.43T:aes256estream
20.5620.6420.90T:ocelot1
20.6920.7220.76T:ocelot2
28.4529.2829.59T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.011.011.03T:aes128ctr
1.081.081.09tango642
1.291.291.30T:aes256ctr
1.481.481.49chacha8
1.611.651.66T:aes192ctr
2.102.102.11chacha12
2.322.332.33salsa208
2.812.832.84T:nlsv2
3.063.073.07salsa2012
3.303.303.30chacha20
3.313.333.35T:sosemanuk
3.833.863.90T:tpy6
3.984.004.02T:cryptmtv3
4.594.594.60salsa20
4.704.724.74xsalsa20
4.924.934.95T:panama
5.785.805.86T:tpy
6.786.816.85T:tpypy
8.748.788.90T:aes128estream
12.4212.4712.53T:aes256estream
22.4322.4922.68T:ocelot2
22.4422.5022.60T:ocelot1
31.4031.7331.89T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.291.301.32T:aes128ctr
1.621.641.66T:aes256ctr
1.691.701.72tango642
1.791.801.82chacha8
2.362.382.40salsa208
2.472.482.50chacha12
2.782.842.89T:aes192ctr
3.093.113.13salsa2012
3.423.443.45T:nlsv2
4.064.084.10chacha20
4.544.564.59T:cryptmtv3
4.594.604.63salsa20
5.075.085.10xsalsa20
5.395.455.49T:sosemanuk
6.596.686.76T:tpy6
8.918.928.97T:panama
8.958.999.09T:aes128estream
12.3212.3912.43T:tpy
12.6612.7212.84T:tpypy
12.7212.7612.86T:aes256estream
27.0227.1127.23T:ocelot2
27.1327.2527.42T:ocelot1
37.1337.3037.60T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
2.933.033.12salsa208
3.693.743.82salsa2012
4.064.104.31T:aes128ctr
4.294.374.57chacha8
5.065.265.38T:aes256ctr
5.235.505.64salsa20
5.575.645.81chacha12
9.349.419.50xsalsa20
9.429.509.74T:cryptmtv3
9.579.669.77tango642
10.2110.3910.62chacha20
11.7211.7811.91T:aes128estream
13.1013.2013.30T:nlsv2
16.8616.9817.14T:aes256estream
18.0118.4118.77T:aes192ctr
29.5129.6529.82T:sosemanuk
41.5341.9042.87T:tpy6
58.6558.7658.87T:panama
85.6986.4087.74T:ocelot2
87.5988.1689.59T:ocelot1
89.5890.0490.61T:tpypy
94.8395.4796.44T:tpy
106.44107.37108.69T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
26.4026.5527.16salsa208
31.8232.2033.14T:aes128ctr
32.0932.5233.79salsa2012
33.0933.5133.89chacha8
38.8539.3340.02T:aes256ctr
40.2640.7541.46T:aes128estream
40.3840.9541.68salsa20
43.5644.0144.79chacha12
51.0351.8353.60T:cryptmtv3
61.2061.7362.58T:nlsv2
63.5264.7966.59T:aes256estream
68.3469.0570.68chacha20
74.1074.5575.11xsalsa20
73.8574.8677.87tango642
141.90145.77148.03T:aes192ctr
239.95240.80241.90T:sosemanuk
318.62320.93328.92T:tpy6
470.44471.01471.30T:panama
563.59567.24575.19T:ocelot1
550.33573.85581.75T:ocelot2
692.19696.20699.24T:tpypy
721.47732.68738.19T:amastrid
748.47754.26759.95T:tpy