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

[Page version: 20261006 19:37:01]

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.25chacha8
0.340.350.35chacha12
0.350.360.36T:aes128ctr
0.390.390.40T:speck6496ctr
0.390.400.41T:speck64128ctr
0.440.440.45salsa208
0.470.480.50T:aes192ctr
0.490.490.50T:speck128128ctr
0.500.500.51T:speck128192ctr
0.520.520.53T:speck128256ctr
0.530.540.56tango642
0.540.550.56salsa2012
0.550.560.56chacha20
0.730.740.75salsa20
0.730.740.75xsalsa20
0.980.981.00T:simon6496ctr
0.84?1.03?1.04?T:simon64128ctr
1.081.091.11T:hc128
1.28?1.39?1.46?T:tpy
1.471.481.50T:simon128128ctr
1.521.551.58T:simon128256ctr
1.531.561.59T:hc256
1.60?1.72?1.86?T:tpy6
1.761.781.80T:panama
1.771.781.79T:snow20
1.771.791.82T:sosemanuk
1.992.062.13T:tpypy
2.522.532.54T:rabbit
2.972.993.01T:cryptmtv3
3.013.013.01T:trivium
3.323.343.35T:lexv2
5.795.855.90T:nlsv2
6.736.756.77T:aes128estream
9.889.909.93T:aes256estream
11.5511.6311.73T:ocelot1
12.6912.8012.96T:ocelot2
19.47?21.13?21.77?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.150.150.15aes256ctr
0.250.250.25chacha8
0.350.350.36chacha12
0.360.360.37T:aes128ctr
0.410.420.42T:speck6496ctr
0.420.430.43T:speck64128ctr
0.460.460.46salsa208
0.520.520.53T:speck128128ctr
0.540.540.55T:speck128192ctr
0.550.550.56T:speck128256ctr
0.560.560.57chacha20
0.570.570.58salsa2012
0.650.660.67T:aes192ctr
0.660.660.67tango642
0.760.760.77salsa20
0.830.830.84xsalsa20
1.091.091.10T:simon6496ctr
1.181.181.19T:simon64128ctr
1.621.631.64T:simon128128ctr
1.851.861.86T:snow20
1.992.002.01T:sosemanuk
2.292.302.31T:panama
2.272.342.43T:tpy6
2.542.572.60T:tpy
2.632.642.64T:rabbit
2.952.962.97T:simon128256ctr
3.133.133.13T:trivium
3.263.293.33T:tpypy
3.423.433.44T:lexv2
3.683.693.70T:cryptmtv3
3.973.973.98T:hc128
6.166.186.20T:nlsv2
6.806.816.82T:aes128estream
9.259.269.28T:hc256
9.979.9810.00T:aes256estream
12.2612.2912.32T:ocelot1
13.3613.4213.50T:ocelot2
20.9922.0922.42T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.210.210.21aes256ctr
0.340.340.36chacha8
0.370.370.38T:aes128ctr
0.450.460.46T:speck6496ctr
0.460.470.47T:speck64128ctr
0.480.480.49chacha12
0.500.500.51salsa208
0.570.570.58T:speck128128ctr
0.600.600.61T:speck128256ctr
0.600.610.61T:speck128192ctr
0.620.630.65salsa2012
0.750.750.76chacha20
0.860.860.88tango642
0.900.910.93salsa20
0.930.940.97T:aes192ctr
1.071.091.10xsalsa20
1.261.271.29T:simon6496ctr
1.431.451.46T:simon64128ctr
1.861.881.89T:simon128128ctr
1.981.981.99T:snow20
2.382.392.41T:sosemanuk
2.812.822.83T:rabbit
3.163.183.20T:panama
3.253.293.32T:tpy6
3.323.333.33T:trivium
3.593.603.62T:lexv2
4.434.564.66T:tpy
5.185.225.25T:cryptmtv3
5.315.345.35T:simon128256ctr
5.315.365.39T:tpypy
6.716.766.81T:nlsv2
6.876.906.92T:aes128estream
8.748.768.78T:hc128
10.1110.1410.17T:aes256estream
13.3513.4313.54T:ocelot1
14.3414.4914.71T:ocelot2
22.0822.0922.11T:hc256
22.9323.5723.71T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.400.410.44aes256ctr
0.450.450.47T:aes128ctr
0.450.450.46chacha8
0.630.640.66chacha12
0.750.760.77salsa208
0.750.770.79T:speck6496ctr
0.780.790.80T:speck64128ctr
0.910.920.94T:speck128128ctr
0.960.981.00T:speck128256ctr
0.970.991.00chacha20
1.011.021.03T:speck128192ctr
1.161.211.24salsa2012
1.391.401.41tango642
1.741.751.80T:aes192ctr
1.861.891.91salsa20
2.292.302.32T:snow20
2.312.332.36T:simon6496ctr
2.332.362.40xsalsa20
2.372.392.43T:simon64128ctr
3.263.293.33T:rabbit
3.393.413.45T:sosemanuk
3.613.643.74T:simon128128ctr
3.843.843.85T:trivium
4.014.024.05T:lexv2
4.034.064.10T:simon128256ctr
5.435.485.51T:panama
5.905.935.98T:cryptmtv3
5.915.986.06T:tpy6
7.077.107.15T:aes128estream
8.228.318.37T:nlsv2
9.829.9310.24T:tpy
10.4810.5010.54T:aes256estream
10.6210.6410.68T:tpypy
15.9116.1016.75T:ocelot1
17.4117.7117.97T:ocelot2
21.5121.5321.57T:hc128
28.2328.4328.54T:amastrid
56.2756.3256.39T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.23?1.30?1.42?T:aes128ctr
3.073.183.32aes256ctr
3.453.493.54T:speck6496ctr
3.603.653.73T:speck64128ctr
3.893.943.95chacha8
3.953.994.02salsa208
4.084.164.25T:speck128128ctr
4.444.534.61T:speck128256ctr
4.574.624.68T:speck128192ctr
5.485.535.60chacha12
5.595.655.68salsa2012
5.956.016.16T:snow20
6.076.156.29T:simon6496ctr
7.447.527.68T:simon64128ctr
8.338.398.46tango642
8.588.678.75chacha20
8.828.868.93salsa20
8.989.079.12T:cryptmtv3
8.989.089.27T:rabbit
9.139.239.28T:lexv2
9.669.769.96T:aes128estream
10.5010.5510.60T:trivium
10.8211.0011.22T:simon128128ctr
12.3812.5112.99T:aes192ctr
12.6512.7512.88xsalsa20
13.0213.2613.46T:simon128256ctr
15.0515.1815.42T:aes256estream
15.4515.5015.59T:sosemanuk
27.1828.4629.48T:nlsv2
34.4534.7535.16T:panama
38.6739.4939.79T:tpy6
54.7355.9957.72T:ocelot2
55.5456.8758.24T:ocelot1
78.6678.9379.24T:tpy
79.3180.2780.90T:tpypy
89.5191.2595.67T:amastrid
185.04185.60185.88T:hc128
494.47494.83495.33T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
9.75?10.76?11.91?T:aes128ctr
13.7513.7513.95T:speck64128ctr
16.0416.2917.60T:speck6496ctr
18.0218.3919.23T:speck128128ctr
18.2118.4318.62T:speck128256ctr
18.5318.8319.07T:speck128192ctr
25.1625.7726.77aes256ctr
30.5130.9433.26salsa208
31.2931.5031.73chacha12
37.5237.7437.96T:simon6496ctr
37.7538.2338.93T:aes128estream
38.5438.7138.98chacha8
46.0246.4546.90chacha20
46.2146.8048.79T:snow20
46.8647.0147.18T:simon64128ctr
50.3250.7152.45salsa20
51.1151.5151.95T:cryptmtv3
52.0352.6053.18T:lexv2
56.8957.6858.27salsa2012
57.4357.8558.56T:rabbit
60.9961.4762.19T:simon128128ctr
61.7761.8962.35T:trivium
62.6063.3964.85T:aes256estream
63.2363.5964.62tango642
78.9879.0379.22T:simon128256ctr
83.8284.2285.10xsalsa20
106.77108.50110.98T:aes192ctr
122.99123.60124.23T:sosemanuk
172.97176.18182.07T:nlsv2
271.22272.25274.93T:panama
305.44309.40315.77T:tpy6
335.40?348.73?374.53?T:ocelot2
337.97351.02361.14T:ocelot1
602.43612.00620.30T:amastrid
617.02621.74627.21T:tpy
618.42635.02641.96T:tpypy
1479.001483.041485.51T:hc128
3957.423959.513963.03T:hc256