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

[Page version: 20261120 23:01:47]

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.71tango642
0.910.910.92T:aes128ctr
0.900.920.93T:aes192ctr
1.181.181.18T:aes256ctr
1.421.421.42chacha8
1.891.952.02T:tpy
2.002.012.01chacha12
2.082.092.11T:sosemanuk
2.102.152.19T:tpy6
2.282.292.30salsa208
2.442.462.48T:nlsv2
2.482.522.55T:panama
2.993.003.00salsa2012
3.053.073.09T:cryptmtv3
3.113.163.22T:tpypy
3.223.223.23chacha20
4.484.514.52xsalsa20
4.494.514.52salsa20
8.438.568.65T:aes128estream
12.1912.2212.25T:aes256estream
19.6019.6819.78T:ocelot2
19.5819.7419.87T:ocelot1
30.4230.8031.63T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.850.850.85tango642
0.950.950.96T:aes128ctr
1.171.181.19T:aes192ctr
1.221.221.23T:aes256ctr
1.441.441.44chacha8
2.022.032.03chacha12
2.312.312.32salsa208
2.512.512.52T:sosemanuk
2.562.572.58T:nlsv2
2.772.802.82T:tpy6
3.023.023.02salsa2012
3.243.243.24chacha20
3.323.353.36T:panama
3.373.373.38T:cryptmtv3
3.403.423.45T:tpy
4.504.524.56T:tpypy
4.534.544.54salsa20
4.574.594.60xsalsa20
8.538.618.67T:aes128estream
12.2812.2912.31T:aes256estream
20.7320.7520.79T:ocelot2
20.7220.8220.86T:ocelot1
31.7732.0032.46T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.011.011.01T:aes128ctr
1.081.081.09tango642
1.301.301.30T:aes256ctr
1.471.471.47chacha8
1.661.671.69T:aes192ctr
2.052.052.06chacha12
2.342.352.36salsa208
2.822.832.85T:nlsv2
3.043.043.04salsa2012
3.233.253.26T:sosemanuk
3.263.263.27chacha20
3.823.873.91T:tpy6
3.984.014.03T:cryptmtv3
4.574.584.59salsa20
4.714.724.73xsalsa20
4.734.744.75T:panama
5.805.835.89T:tpy
6.756.786.81T:tpypy
8.618.708.78T:aes128estream
12.3912.4112.45T:aes256estream
22.4122.4522.50T:ocelot2
22.4322.5622.68T:ocelot1
33.6833.7734.05T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.301.311.32T:aes128ctr
1.621.621.64T:aes256ctr
1.691.701.72tango642
2.062.072.08chacha8
2.372.382.39salsa208
2.722.732.74chacha12
2.742.752.77T:aes192ctr
3.103.113.12salsa2012
3.403.423.44T:nlsv2
4.034.044.06chacha20
4.544.564.59T:cryptmtv3
4.624.644.67salsa20
5.045.065.07xsalsa20
5.235.245.29T:sosemanuk
6.606.686.75T:tpy6
8.408.438.48T:panama
8.868.959.04T:aes128estream
12.3212.3812.49T:tpy
12.6912.7212.76T:aes256estream
12.7312.7912.99T:tpypy
27.0327.2227.35T:ocelot2
27.0927.3027.46T:ocelot1
38.4539.5239.68T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
2.94?3.18?3.28?salsa208
3.573.633.70salsa2012
4.044.194.34T:aes128ctr
5.015.155.21T:aes256ctr
5.145.175.33salsa20
6.856.957.05chacha8
7.998.088.17chacha12
9.369.419.54xsalsa20
9.579.639.73tango642
9.459.649.88T:cryptmtv3
10.1510.2910.51chacha20
11.9612.0612.14T:aes128estream
13.0013.0813.17T:nlsv2
16.7616.8617.07T:aes256estream
18.3419.0419.22T:aes192ctr
27.8427.9728.15T:sosemanuk
41.7242.1942.89T:tpy6
55.1255.2355.40T:panama
85.2586.4288.75T:ocelot2
87.3187.9088.57T:ocelot1
89.5889.8990.26T:tpypy
95.1195.6696.84T:tpy
109.14110.01111.49T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
22.3122.5622.98salsa208
31.7031.9532.71salsa2012
31.7032.2933.80T:aes128ctr
39.2539.6441.17T:aes256ctr
40.1040.5441.57salsa20
40.5741.0441.96chacha8
45.8547.1248.16T:aes128estream
48.9849.3850.67chacha12
50.7051.3953.69T:cryptmtv3
61.2261.8064.18T:nlsv2
62.8564.0365.72T:aes256estream
66.7967.3568.49chacha20
73.6073.9474.38xsalsa20
73.5574.1676.38tango642
148.96150.05151.57T:aes192ctr
222.66224.47227.82T:sosemanuk
320.11322.90329.08T:tpy6
428.25431.79434.34T:panama
553.93563.53568.88T:ocelot2
561.35564.55570.32T:ocelot1
696.81699.92703.64T:tpypy
712.46719.88728.00T:amastrid
750.07752.79759.30T:tpy