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: amd64; Core 2 65nm (6fb); 2007 Intel Core 2 Duo T7300; 2 x 2000MHz; trident, supercop-20260330

[Page version: 20260503 04:13:06]

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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.141.161.17tango642
1.701.701.70chacha8
1.951.981.99salsa208
2.272.272.28chacha12
2.342.432.52T:hc128
2.422.502.57T:tpy
2.652.662.66salsa2012
2.822.822.83T:trivium
2.862.903.03T:tpy6
3.063.083.09T:sosemanuk
3.363.363.37chacha20
3.363.373.40T:speck6496ctr
3.533.623.70T:hc256
3.633.633.63T:speck64128ctr
3.723.733.74T:cryptmtv3
3.803.963.98T:nlsv2
4.004.014.02xsalsa20
4.014.024.03T:snow20
4.004.024.03salsa20
4.254.274.32T:panama
3.85?4.47?4.80?T:tpypy
4.694.714.73T:rabbit
4.724.724.73T:speck128128ctr
4.894.894.90T:speck128192ctr
5.015.025.02T:speck128256ctr
5.795.795.81T:lexv2
6.386.396.39T:simon6496ctr
6.646.656.66T:simon64128ctr
8.818.838.97T:aes128ctr
9.849.859.86T:simon128128ctr
10.3510.3910.57T:aes192ctr
10.3710.4210.49T:simon128256ctr
10.5510.6010.62T:aes128estream
11.8611.9112.00T:aes256ctr
18.0918.1418.20T:aes256estream
24.00?24.92?26.72?T:ocelot1
28.4128.8729.35T:ocelot2
44.33?48.58?50.58?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.411.421.43tango642
1.731.731.73chacha8
1.992.012.01salsa208
2.302.302.30chacha12
2.682.692.69salsa2012
2.952.952.96T:trivium
3.393.393.39chacha20
3.413.423.44T:speck6496ctr
3.663.673.70T:tpy6
3.683.683.68T:speck64128ctr
3.793.803.80T:sosemanuk
4.044.054.06salsa20
4.074.114.14T:tpy
4.144.144.15T:snow20
4.134.164.17T:nlsv2
4.174.174.18xsalsa20
4.344.344.35T:cryptmtv3
4.784.784.79T:speck128128ctr
4.874.884.89T:rabbit
4.944.944.95T:speck128192ctr
5.085.085.09T:speck128256ctr
5.535.545.56T:panama
5.985.985.99T:lexv2
5.756.036.26T:tpypy
6.706.716.71T:simon6496ctr
6.977.037.04T:hc128
7.137.137.14T:simon64128ctr
9.959.9510.06T:aes128ctr
10.2310.2410.24T:simon128128ctr
10.6710.6810.69T:aes128estream
11.5711.5811.71T:aes192ctr
11.9611.9912.04T:simon128256ctr
13.1113.1313.14T:aes256ctr
15.5315.5415.58T:hc256
18.2518.2618.30T:aes256estream
26.5727.0228.05T:ocelot1
30.2930.5730.89T:ocelot2
47.3450.0951.52T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.771.781.78chacha8
1.841.861.88tango642
2.042.062.07salsa208
2.352.352.35chacha12
2.732.732.74salsa2012
3.173.183.18T:trivium
3.433.433.45chacha20
3.493.493.50T:speck6496ctr
3.773.773.78T:speck64128ctr
4.094.114.11salsa20
4.354.354.36T:snow20
4.434.434.44xsalsa20
4.584.594.82T:nlsv2
4.894.894.90T:speck128128ctr
4.824.995.04T:tpy6
5.045.045.04T:speck128192ctr
5.055.065.08T:sosemanuk
5.185.195.21T:rabbit
5.195.195.20T:speck128256ctr
5.745.755.77T:cryptmtv3
6.316.326.32T:lexv2
6.746.896.93T:tpy
7.247.247.25T:simon6496ctr
7.657.677.73T:panama
7.937.937.94T:simon64128ctr
8.539.029.29T:tpypy
10.8310.8610.87T:aes128estream
10.8610.8710.88T:simon128128ctr
11.8011.8111.83T:aes128ctr
13.5013.5513.81T:aes192ctr
14.5914.5914.62T:simon128256ctr
14.5014.6814.70T:hc128
15.0815.1415.20T:aes256ctr
18.4818.5018.55T:aes256estream
29.5830.3431.05T:ocelot1
33.0233.6433.90T:ocelot2
35.3835.4835.56T:hc256
51.6252.7353.84T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.032.032.04chacha8
2.252.252.29salsa208
2.682.682.68chacha12
3.003.013.02salsa2012
3.003.063.11tango642
3.743.743.75T:trivium
3.773.773.78T:speck6496ctr
3.953.953.96chacha20
4.054.064.06T:speck64128ctr
4.454.494.49salsa20
4.944.965.01T:snow20
5.235.235.24T:speck128128ctr
5.335.345.34T:speck128192ctr
5.385.435.44xsalsa20
5.555.555.55T:speck128256ctr
5.76?5.87?6.48?T:nlsv2
5.925.955.98T:rabbit
6.756.776.79T:cryptmtv3
7.167.177.22T:lexv2
8.228.298.42T:tpy6
8.408.458.50T:sosemanuk
9.909.919.92T:simon6496ctr
11.1311.1411.24T:aes128estream
13.4013.4413.53T:panama
13.9114.0314.82T:tpy
16.3716.7017.04T:tpypy
17.7417.8718.02T:aes128ctr
18.9919.0719.08T:aes256estream
19.8719.9320.05T:aes192ctr
21.1221.3821.53T:simon128128ctr
21.5421.6721.75T:aes256ctr
22.7722.9723.00T:simon64128ctr
27.1827.4227.50T:simon128256ctr
34.6235.1135.14T:hc128
37.5738.4739.00T:ocelot1
39.9440.2741.48T:ocelot2
57.6358.5462.52T:amastrid
88.6488.8489.09T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.304.304.32chacha8
4.314.314.38salsa208
5.465.505.51salsa2012
5.615.615.61chacha12
6.946.946.94T:speck6496ctr
7.517.567.56T:speck64128ctr
7.847.847.84salsa20
8.198.208.29chacha20
8.848.899.05T:speck128192ctr
9.059.089.27T:speck128128ctr
9.789.789.78T:speck128256ctr
11.2011.3211.33T:trivium
12.0612.2212.31T:snow20
15.3815.3815.38T:simon6496ctr
15.6615.6615.70T:aes128estream
15.5515.7215.80T:rabbit
15.8815.9616.10xsalsa20
16.7516.8517.03T:cryptmtv3
17.0417.1317.31T:lexv2
17.5917.6217.62T:simon64128ctr
18.1218.5018.70tango642
22.3122.3322.62T:simon128128ctr
23.7524.5424.62T:nlsv2
24.8224.8324.84T:simon128256ctr
26.0626.0826.26T:aes256estream
48.0248.3048.66T:sosemanuk
49.2052.2352.27T:tpy6
85.1585.4086.21T:panama
96.8698.87100.49T:aes128ctr
103.80104.65106.30T:tpy
107.18107.91108.60T:aes192ctr
110.03110.91112.00T:aes256ctr
109.12?111.77?121.36?T:tpypy
132.72134.84138.46T:ocelot1
134.57135.61137.80T:ocelot2
165.03166.52167.74T:amastrid
292.36296.80297.35T:hc128
770.58771.70773.64T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
25.2525.2525.25T:speck6496ctr
27.6227.6227.62T:speck64128ctr
30.8830.8830.88T:speck128192ctr
31.8831.8832.06T:speck128128ctr
32.0032.0032.00T:speck128256ctr
37.2540.0040.12chacha8
47.8847.8847.88chacha12
53.2553.2553.26salsa208
62.7562.8163.00salsa2012
69.7871.3071.38T:trivium
69.1471.5871.80chacha20
74.3874.9877.00T:simon6496ctr
80.2580.2580.25T:aes128estream
81.8881.8882.00salsa20
88.7588.7588.98T:simon64128ctr
95.8398.0198.80T:snow20
97.6798.14100.88T:rabbit
100.88100.97102.25T:cryptmtv3
101.38101.94103.82T:lexv2
102.68103.50104.57T:aes256estream
121.18123.59126.06T:nlsv2
122.12123.94125.81T:simon128128ctr
131.62131.69134.85T:simon128256ctr
133.51137.74138.69tango642
150.53151.29152.10xsalsa20
370.43379.05394.46T:tpy6
379.48381.49384.20T:sosemanuk
607.66614.16624.81T:aes128ctr
639.65644.42650.60T:aes256ctr
644.74648.30657.65T:aes192ctr
670.97675.61685.26T:panama
837.34845.89849.29T:tpy
854.68867.25946.50T:tpypy
882.84888.46910.75T:ocelot1
883.60894.94917.99T:ocelot2
1108.611115.951127.74T:amastrid
2336.542374.582377.44T:hc128
6163.416179.156190.03T:hc256