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; Zen 5 (b00f21); 2024 AMD EPYC 9555; 64 x 3200MHz; tripwire, supercop-20260831

[Page version: 20261004 23:38:59]

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.120.120.13aes256ctr
0.240.240.24chacha8
0.340.340.35chacha12
0.350.360.36T:aes128ctr
0.380.390.39T:speck6496ctr
0.390.400.40T:speck64128ctr
0.440.440.44salsa208
0.41?0.45?0.47?T:aes192ctr
0.480.490.50T:speck128128ctr
0.490.500.51T:speck128192ctr
0.520.530.53T:speck128256ctr
0.530.540.55tango642
0.540.550.56chacha20
0.540.550.55salsa2012
0.730.740.75xsalsa20
0.730.740.75salsa20
0.970.981.00T:simon6496ctr
1.001.011.02T:simon64128ctr
1.081.101.11T:hc128
1.30?1.42?1.48?T:tpy
1.471.491.50T:simon128128ctr
1.521.541.57T:simon128256ctr
1.531.561.59T:hc256
1.781.791.80T:snow20
1.771.801.82T:panama
1.771.801.87T:sosemanuk
1.741.821.88T:tpy6
2.062.112.20T:tpypy
2.522.532.54T:rabbit
2.972.993.01T:cryptmtv3
3.013.013.01T:trivium
3.323.343.35T:lexv2
5.755.836.24T:nlsv2
6.726.746.78T:aes128estream
9.879.9110.01T:aes256estream
11.3311.4811.64T:ocelot1
12.6412.8312.97T:ocelot2
20.1320.7522.00T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.150.150.16aes256ctr
0.250.250.25chacha8
0.350.350.36chacha12
0.360.360.37T:aes128ctr
0.410.410.42T:speck6496ctr
0.420.420.43T:speck64128ctr
0.460.460.46salsa208
0.520.520.53T:speck128128ctr
0.540.540.54T:speck128192ctr
0.560.560.57chacha20
0.550.560.56T:speck128256ctr
0.570.570.58salsa2012
0.630.640.65T:aes192ctr
0.660.660.66tango642
0.760.760.77salsa20
0.830.830.84xsalsa20
1.091.091.10T:simon6496ctr
1.171.181.18T:simon64128ctr
1.621.631.64T:simon128128ctr
1.861.861.87T:snow20
2.002.012.05T:sosemanuk
2.112.122.13T:simon128256ctr
2.312.322.33T:panama
2.332.372.40T:tpy6
2.532.612.64T:tpy
2.632.642.64T:rabbit
3.133.133.13T:trivium
3.343.363.40T:tpypy
3.423.433.43T:lexv2
3.673.683.69T:cryptmtv3
3.963.963.97T:hc128
6.036.076.38T:nlsv2
6.796.806.82T:aes128estream
9.259.269.27T:hc256
9.9910.0010.07T:aes256estream
12.1612.2212.30T:ocelot1
13.3813.4813.55T:ocelot2
21.5621.9922.55T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.200.210.21aes256ctr
0.340.350.36chacha8
0.370.370.38T:aes128ctr
0.450.460.46T:speck6496ctr
0.470.470.47T:speck64128ctr
0.480.480.48chacha12
0.500.500.50salsa208
0.570.570.58T:speck128128ctr
0.600.610.61T:speck128192ctr
0.600.610.62T:speck128256ctr
0.620.630.66salsa2012
0.750.750.76chacha20
0.860.860.87tango642
0.900.910.92salsa20
0.930.961.02T:aes192ctr
1.081.091.10xsalsa20
1.261.281.32T:simon6496ctr
1.441.451.50T:simon64128ctr
1.861.871.89T:simon128128ctr
1.981.991.99T:snow20
2.392.432.45T:sosemanuk
2.812.822.83T:rabbit
3.083.113.13T:simon128256ctr
3.193.203.21T:panama
3.313.323.33T:trivium
3.293.423.53T:tpy6
3.593.603.61T:lexv2
4.584.604.65T:tpy
5.195.205.22T:cryptmtv3
5.175.295.44T:tpypy
6.456.486.52T:nlsv2
6.876.916.94T:aes128estream
8.728.748.76T:hc128
10.1310.1610.22T:aes256estream
13.3613.4913.59T:ocelot1
14.2914.4014.48T:ocelot2
22.0722.0922.12T:hc256
23.9024.7724.83T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.400.410.43aes256ctr
0.430.440.45chacha8
0.450.450.47T:aes128ctr
0.610.620.63chacha12
0.750.760.77salsa208
0.760.770.78T:speck6496ctr
0.770.780.79T:speck64128ctr
0.910.930.94T:speck128128ctr
0.960.980.99T:speck128256ctr
0.970.981.00chacha20
1.011.021.03T:speck128192ctr
1.161.211.24salsa2012
1.401.411.43tango642
1.74?1.80?1.95?T:aes192ctr
1.871.901.93salsa20
2.292.302.32T:snow20
2.332.342.36T:simon6496ctr
2.332.372.40xsalsa20
2.392.422.49T:simon64128ctr
3.273.293.32T:rabbit
3.443.493.52T:sosemanuk
3.633.693.83T:simon128128ctr
3.843.843.84T:trivium
4.004.044.06T:lexv2
5.495.525.54T:panama
5.785.875.99T:tpy6
5.915.935.98T:cryptmtv3
7.077.107.14T:aes128estream
7.347.407.56T:nlsv2
9.709.779.89T:tpy
10.5010.5610.63T:aes256estream
10.7010.7410.98T:tpypy
10.5610.8210.86T:simon128256ctr
16.2116.3716.62T:ocelot1
17.2317.4317.68T:ocelot2
21.4721.5021.55T:hc128
28.1428.4128.86T:amastrid
56.2956.3356.39T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.23?1.29?1.41?T:aes128ctr
3.123.223.30aes256ctr
3.433.493.54T:speck6496ctr
3.593.613.66T:speck64128ctr
3.693.743.80chacha8
3.943.994.05salsa208
4.064.134.25T:speck128128ctr
4.404.494.55T:speck128256ctr
4.584.634.68T:speck128192ctr
5.385.415.45chacha12
5.575.615.65salsa2012
5.935.996.08T:snow20
6.126.176.28T:simon6496ctr
7.427.527.64T:simon64128ctr
8.368.478.65tango642
8.658.668.71chacha20
8.798.868.91salsa20
8.989.019.18T:rabbit
8.959.079.17T:cryptmtv3
9.069.149.32T:lexv2
9.799.9010.14T:aes128estream
10.4610.4710.53T:trivium
10.7711.0111.28T:simon128128ctr
12.3312.3912.63T:aes192ctr
12.7312.7912.86xsalsa20
13.0313.1413.50T:simon128256ctr
15.4215.4615.53T:sosemanuk
15.2715.4615.64T:aes256estream
16.5016.7617.05T:nlsv2
35.0535.2835.46T:panama
39.2939.7540.12T:tpy6
54.7555.9257.43T:ocelot1
55.7456.7258.45T:ocelot2
78.1678.3979.53T:tpy
78.5180.1080.74T:tpypy
83.6985.8589.69T:amastrid
184.67184.92185.21T:hc128
494.40494.87495.35T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
9.77?11.30?12.39?T:aes128ctr
15.7115.9016.31T:speck64128ctr
15.9116.1916.44T:speck6496ctr
18.0818.3318.54T:speck128256ctr
18.2918.6819.77T:speck128128ctr
18.5018.7119.09T:speck128192ctr
25.4426.3027.21aes256ctr
27.5028.0028.52chacha8
30.2830.6832.07salsa208
33.7634.3534.82chacha12
37.5537.7037.92T:simon6496ctr
40.7141.2341.75T:aes128estream
46.0546.4046.75chacha20
46.2546.7047.84T:snow20
46.9247.2947.94T:simon64128ctr
49.7750.2051.34salsa20
51.3551.9852.54T:cryptmtv3
51.4452.0953.00T:lexv2
57.1457.6058.18salsa2012
57.2657.6858.22T:rabbit
61.1061.6262.15T:simon128128ctr
61.6261.7362.39T:trivium
62.7964.0165.69T:aes256estream
63.4964.2665.02tango642
78.9779.0079.23T:simon128256ctr
83.8684.4484.86xsalsa20
89.3190.0491.76T:nlsv2
98.1499.22101.30T:aes192ctr
122.97123.51123.98T:sosemanuk
274.48275.58277.84T:panama
303.29308.86310.60T:tpy6
337.35353.33370.50T:ocelot2
356.81369.74381.34T:ocelot1
585.85595.47605.43T:amastrid
619.19622.79626.81T:tpypy
616.84623.20634.16T:tpy
1478.231480.761483.54T:hc128
3954.313959.083963.03T:hc256