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

[Page version: 20241006 02:11: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, 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.230.240.24aes256ctr
0.310.320.33chacha8
0.350.360.37T:aes128ctr
0.440.440.45chacha12
0.42?0.46?0.48?T:aes192ctr
0.58?0.59?0.65?salsa208
0.620.630.64T:speck6496ctr
0.640.640.65tango642
0.650.660.67T:speck64128ctr
0.650.680.69chacha20
0.700.710.71salsa2012
0.760.790.80T:speck128128ctr
0.800.820.83T:speck128192ctr
0.800.840.86T:speck128256ctr
0.940.950.96salsa20
0.940.950.98xsalsa20
1.281.291.29T:hc128
1.26?1.30?1.43?T:tpy
1.321.331.35T:simon128128ctr
1.321.351.41T:simon128256ctr
1.441.451.47T:trivium
1.571.581.59T:cryptmtv3
1.591.601.62T:nlsv2
1.671.681.68T:simon6496ctr
1.681.691.74T:sosemanuk
1.731.771.83T:hc256
1.73?1.82?1.93?T:tpy6
1.811.821.84T:simon64128ctr
2.082.102.12T:panama
2.122.172.24T:tpypy
2.402.412.44T:snow20
3.033.053.06T:rabbit
4.014.054.08T:lexv2
8.118.138.14T:aes128estream
12.6112.6312.65T:aes256estream
13.4313.5213.63T:ocelot1
14.5514.6314.74T:ocelot2
23.81?26.15?26.59?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.26aes256ctr
0.340.340.35chacha8
0.380.380.38T:aes128ctr
0.460.460.47chacha12
0.610.620.66salsa208
0.650.660.66T:speck6496ctr
0.680.680.69T:aes192ctr
0.680.680.69T:speck64128ctr
0.690.700.71chacha20
0.730.730.74salsa2012
0.760.760.76tango642
0.810.820.82T:speck128128ctr
0.840.850.85T:speck128192ctr
0.860.870.88T:speck128256ctr
0.980.980.98salsa20
1.071.081.09xsalsa20
1.471.481.49T:simon128128ctr
1.551.561.57T:trivium
1.711.721.73T:simon128256ctr
1.751.761.77T:nlsv2
1.781.781.79T:simon6496ctr
1.961.961.98T:simon64128ctr
2.052.062.10T:sosemanuk
2.212.222.22T:cryptmtv3
2.362.392.43T:tpy6
2.482.492.51T:snow20
2.502.522.60T:tpy
2.742.752.76T:panama
3.163.173.17T:rabbit
3.373.393.42T:tpypy
3.623.623.62T:hc128
4.144.164.18T:lexv2
7.897.907.93T:hc256
8.178.198.19T:aes128estream
12.7112.7212.72T:aes256estream
14.3614.4014.44T:ocelot1
15.4315.4615.49T:ocelot2
25.6227.3127.55T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.300.30aes256ctr
0.400.410.44T:aes128ctr
0.480.480.49chacha8
0.570.590.60salsa208
0.640.650.65chacha12
0.690.690.70T:speck6496ctr
0.720.720.74T:speck64128ctr
0.730.730.74salsa2012
0.860.870.87T:speck128128ctr
0.880.880.90T:speck128192ctr
0.920.920.96T:speck128256ctr
0.970.970.98chacha20
0.940.970.98tango642
1.001.011.02salsa20
1.021.041.11T:aes192ctr
1.251.261.26xsalsa20
1.711.711.72T:simon128128ctr
1.731.741.74T:trivium
1.941.951.97T:simon6496ctr
2.122.132.15T:nlsv2
2.192.202.21T:simon64128ctr
2.232.352.37T:simon128256ctr
2.612.622.63T:snow20
2.712.722.74T:sosemanuk
3.093.093.11T:cryptmtv3
3.263.313.37T:tpy6
3.343.353.38T:rabbit
3.793.813.82T:panama
4.354.364.37T:lexv2
4.504.534.63T:tpy
5.415.465.53T:tpypy
7.507.507.51T:hc128
8.278.278.28T:aes128estream
12.8412.8512.86T:aes256estream
15.8015.8616.00T:ocelot1
16.4816.9517.04T:ocelot2
18.0718.1618.17T:hc256
28.9129.1630.29T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.520.540.56T:aes128ctr
0.550.550.56aes256ctr
0.580.580.59salsa208
0.600.600.61chacha8
0.830.840.85chacha12
0.840.840.85salsa2012
0.960.970.98T:speck6496ctr
0.991.011.01T:speck64128ctr
1.181.201.23T:speck128128ctr
1.231.241.26T:speck128192ctr
1.261.281.29T:speck128256ctr
1.251.281.29chacha20
1.311.311.32salsa20
1.451.451.46tango642
1.971.981.98xsalsa20
2.022.062.12T:aes192ctr
2.222.232.25T:trivium
2.642.652.67T:simon128128ctr
2.802.822.83T:simon6496ctr
2.892.902.93T:simon128256ctr
2.922.942.97T:snow20
2.972.983.03T:nlsv2
3.333.353.44T:simon64128ctr
3.843.873.93T:rabbit
4.354.364.38T:cryptmtv3
4.494.514.54T:sosemanuk
4.904.904.90T:lexv2
5.625.715.83T:tpy6
6.606.626.68T:panama
8.538.578.61T:aes128estream
9.769.8610.07T:tpy
10.6710.7610.86T:tpypy
13.2213.2613.36T:aes256estream
17.8817.8917.91T:hc128
19.4919.7520.07T:ocelot1
20.4820.6720.89T:ocelot2
33.2534.2335.20T:amastrid
45.2945.4045.54T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.561.611.64T:aes128ctr
2.552.552.55salsa208
3.083.113.11T:speck6496ctr
3.083.173.22aes256ctr
3.223.273.33T:speck64128ctr
3.313.313.34salsa2012
3.913.924.08T:speck128128ctr
3.984.004.09T:speck128192ctr
4.194.224.28T:speck128256ctr
4.814.814.84salsa20
5.095.195.34chacha8
6.166.166.20T:simon6496ctr
6.916.946.95T:simon64128ctr
7.067.147.31T:snow20
7.097.337.38chacha12
8.088.178.25tango642
8.238.278.28T:simon128128ctr
8.288.368.47T:trivium
8.838.888.89T:cryptmtv3
9.569.679.67T:simon128256ctr
10.3410.4110.89T:rabbit
10.7510.7510.84xsalsa20
10.9711.1711.28chacha20
11.4711.5911.83T:aes128estream
11.4411.6711.69T:lexv2
14.6415.1115.33T:aes192ctr
16.7517.0317.44T:nlsv2
17.8618.1218.31T:aes256estream
24.5224.6924.94T:sosemanuk
38.8839.3840.11T:tpy6
42.6942.8643.00T:panama
67.7268.9871.33T:ocelot1
70.4271.2072.44T:ocelot2
77.7878.6179.06T:tpy
78.5079.7580.72T:tpypy
99.89101.19101.89T:amastrid
150.77150.77150.77T:hc128
392.20393.14395.92T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.8812.8813.25T:aes128ctr
16.2516.2516.25T:speck6496ctr
16.7516.8816.88T:speck64128ctr
17.1217.1217.38T:speck128256ctr
17.5017.5017.50T:speck128192ctr
19.6219.7519.75T:speck128128ctr
24.5025.5026.62aes256ctr
32.0032.1232.50chacha8
38.1238.6239.38salsa208
39.2539.3839.50chacha12
40.2540.2540.25T:simon6496ctr
45.7546.1247.38salsa2012
46.3846.7546.75T:simon64128ctr
48.1249.3849.38T:aes128estream
53.2553.7554.00T:cryptmtv3
54.8855.0055.00salsa20
55.6256.1257.00T:trivium
55.5056.2557.88T:snow20
58.0058.6258.75chacha20
61.0061.5062.25tango642
64.5066.2569.75T:rabbit
68.6268.7568.88T:lexv2
68.0069.3871.12T:aes256estream
76.6276.7577.00T:simon128128ctr
87.7587.7587.75T:simon128256ctr
88.3889.8891.62T:nlsv2
102.50103.00103.12xsalsa20
118.62119.38123.50T:aes192ctr
196.25196.50198.00T:sosemanuk
288.50298.88301.62T:tpy6
334.25335.50336.75T:panama
442.25452.88461.12T:ocelot2
442.50456.75476.62T:ocelot1
609.88616.62622.00T:tpy
614.75620.38624.88T:tpypy
659.38675.88686.88T:amastrid
1205.001205.251206.00T:hc128
3142.623145.623156.50T:hc256