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 4 (a60f12); 2023 AMD Ryzen 7 7700; 8 x 3800MHz; hertz, supercop-20241011

[Page version: 20241021 10:28: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, the median of many speed measurements, the third quartile of many speed measurements, and the name of the primitive. Measurements with large variance 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.240.240.25aes256ctr
0.320.320.33chacha8
0.34?0.36?0.39?T:aes128ctr
0.40?0.44?0.49?T:aes192ctr
0.430.440.44chacha12
0.440.460.46tango642
0.580.580.59salsa208
0.640.650.66T:speck6496ctr
0.670.680.69chacha20
0.660.690.70T:speck64128ctr
0.690.700.71salsa2012
0.760.770.84T:speck128128ctr
0.75?0.79?0.86?T:speck128192ctr
0.810.810.83T:speck128256ctr
0.940.950.95salsa20
0.940.950.96xsalsa20
1.28?1.29?1.46?T:hc128
1.20?1.31?1.44?T:tpy
1.351.351.38T:simon128128ctr
1.411.431.45T:simon128256ctr
1.491.491.53T:trivium
1.501.511.53T:nlsv2
1.681.681.70T:sosemanuk
1.681.691.69T:simon6496ctr
1.771.781.80T:hc256
1.771.821.82T:cryptmtv3
1.811.821.83T:simon64128ctr
1.73?1.93?1.98?T:tpy6
2.062.072.09T:panama
2.402.412.42T:snow20
1.93?2.45?3.04?T:tpypy
2.572.582.59T:rabbit
4.024.044.08T:lexv2
8.128.138.15T:aes128estream
12.6512.6812.72T:aes256estream
13.4713.5813.66T:ocelot1
13.9714.4914.61T:ocelot2
26.5426.9928.45T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.27aes256ctr
0.340.340.35chacha8
0.370.370.40T:aes128ctr
0.460.460.46chacha12
0.580.580.58tango642
0.610.610.61salsa208
0.670.670.70T:aes192ctr
0.680.680.68T:speck6496ctr
0.700.710.71chacha20
0.710.720.72T:speck64128ctr
0.730.730.73salsa2012
0.820.820.88T:speck128128ctr
0.840.850.90T:speck128192ctr
0.870.870.88T:speck128256ctr
0.970.980.98salsa20
1.061.061.07xsalsa20
1.501.501.52T:simon128128ctr
1.611.611.64T:trivium
1.671.671.68T:nlsv2
1.791.801.81T:simon128256ctr
1.811.811.82T:simon6496ctr
1.961.961.97T:simon64128ctr
2.052.052.06T:sosemanuk
2.372.392.39T:cryptmtv3
2.352.442.46T:tpy6
2.482.482.49T:snow20
2.462.502.58T:tpy
2.642.642.65T:rabbit
2.702.712.71T:panama
3.48?3.60?4.00?T:tpypy
3.783.793.92T:hc128
4.144.154.18T:lexv2
8.198.198.21T:aes128estream
8.238.248.24T:hc256
12.7512.7712.79T:aes256estream
14.3814.4414.48T:ocelot1
15.1115.4315.49T:ocelot2
28.0628.1729.03T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.290.30aes256ctr
0.400.420.42T:aes128ctr
0.480.480.48chacha8
0.590.590.59salsa208
0.640.650.65chacha12
0.720.730.73salsa2012
0.730.730.74T:speck6496ctr
0.750.760.81T:speck64128ctr
0.800.810.81tango642
0.900.920.93T:speck128128ctr
0.950.960.98T:speck128256ctr
0.960.970.98chacha20
0.950.971.03T:speck128192ctr
0.991.001.01salsa20
1.071.121.16T:aes192ctr
1.231.241.26xsalsa20
1.741.751.81T:simon128128ctr
1.811.821.83T:trivium
2.022.022.03T:simon6496ctr
2.052.082.10T:nlsv2
2.202.212.22T:simon64128ctr
2.382.422.45T:simon128256ctr
2.602.602.62T:snow20
2.712.712.73T:sosemanuk
2.752.762.77T:rabbit
3.143.263.37T:tpy6
3.563.573.60T:cryptmtv3
3.763.793.81T:panama
4.334.364.36T:lexv2
4.514.544.60T:tpy
5.44?5.59?6.72?T:tpypy
7.937.947.94T:hc128
8.288.298.29T:aes128estream
12.9312.9412.95T:aes256estream
15.6815.8515.98T:ocelot1
16.5816.8917.01T:ocelot2
18.9418.9618.96T:hc256
29.1030.4130.72T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.510.510.52T:aes128ctr
0.560.560.57aes256ctr
0.570.580.58salsa208
0.620.620.64chacha8
0.830.830.84chacha12
0.830.840.86salsa2012
1.041.041.05T:speck6496ctr
1.081.091.10T:speck64128ctr
1.261.271.30chacha20
1.321.321.33salsa20
1.331.341.36T:speck128128ctr
1.371.391.40tango642
1.411.421.45T:speck128256ctr
1.391.431.47T:speck128192ctr
1.931.931.94xsalsa20
1.972.072.13T:aes192ctr
2.302.312.32T:trivium
2.642.662.69T:simon128128ctr
2.892.912.94T:simon128256ctr
2.922.922.95T:snow20
2.922.952.98T:nlsv2
3.023.043.05T:rabbit
3.473.473.51T:simon6496ctr
3.37?3.89?3.93?T:simon64128ctr
4.354.354.47T:cryptmtv3
4.474.474.48T:sosemanuk
4.874.884.90T:lexv2
5.57?6.00?6.24?T:tpy6
6.516.536.55T:panama
8.578.608.62T:aes128estream
9.819.8510.03T:tpy
10.3411.2211.39T:tpypy
13.2613.2813.34T:aes256estream
18.9919.0319.07T:hc128
19.5619.6519.75T:ocelot1
20.5520.6620.79T:ocelot2
34.2935.4035.71T:amastrid
47.5447.5847.76T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.53?1.59?1.77?T:aes128ctr
2.522.532.55salsa208
2.92?3.09?3.27?aes256ctr
3.313.313.34salsa2012
3.944.084.09T:speck6496ctr
4.304.444.52T:speck64128ctr
4.774.864.86salsa20
5.055.145.19T:speck128128ctr
5.235.235.39chacha8
5.125.285.42T:speck128192ctr
5.33?5.58?6.70?T:speck128256ctr
6.566.586.84T:simon6496ctr
6.706.756.80T:rabbit
6.806.836.98T:simon64128ctr
7.037.127.28T:snow20
7.177.257.33chacha12
8.238.238.28T:simon128128ctr
8.388.478.50T:trivium
8.598.698.97T:cryptmtv3
9.199.399.48tango642
9.569.619.62T:simon128256ctr
10.2210.2310.27xsalsa20
10.8810.9511.06chacha20
11.5011.6111.72T:lexv2
11.6611.6711.75T:aes128estream
14.4515.3815.97T:aes192ctr
16.5216.6416.77T:nlsv2
17.8417.9218.14T:aes256estream
23.9224.0924.34T:sosemanuk
37.4138.0538.67T:tpy6
42.1942.3642.50T:panama
68.8469.8170.97T:ocelot2
67.5371.4273.03T:ocelot1
77.4177.8178.42T:tpy
77.7878.7382.98T:tpypy
99.61100.23101.50T:amastrid
160.83160.95161.12T:hc128
413.86414.19414.80T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.6213.0013.75T:aes128ctr
18.3818.3818.38T:speck128128ctr
19.3819.3819.50T:speck128192ctr
20.6220.6220.62T:speck128256ctr
23.8824.1225.25T:speck64128ctr
24.7525.7526.38aes256ctr
25.8826.1228.62T:speck6496ctr
30.8831.1231.75chacha8
37.7537.7537.88T:rabbit
37.8838.0038.38salsa2012
38.6238.6238.88chacha12
39.5039.8840.38salsa208
40.1240.1240.25T:simon6496ctr
46.3846.5046.75T:simon64128ctr
49.2549.3849.50T:aes128estream
54.1254.1255.00salsa20
55.2555.6257.88T:cryptmtv3
55.3855.7556.25T:snow20
56.6257.1258.25T:trivium
60.0060.3860.88chacha20
67.0067.5067.88tango642
67.6268.6269.12T:aes256estream
68.3869.7571.25T:lexv2
76.6276.6276.75T:simon128128ctr
87.7587.7587.75T:simon128256ctr
87.1288.0089.00T:nlsv2
97.7598.5098.62xsalsa20
118.75123.38127.88T:aes192ctr
192.00192.50192.50T:sosemanuk
290.50297.50299.88T:tpy6
329.38331.62334.00T:panama
451.62466.12473.88T:ocelot2
458.75470.12480.38T:ocelot1
598.62602.88654.25T:tpypy
607.62611.62619.88T:tpy
672.38678.88690.00T:amastrid
1286.881288.621291.50T:hc128
3308.383315.383322.00T:hc256