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; Golden Cove (90675-00); 2022 Intel Core i3-12100; 4 x 3300MHz; alder, supercop-20240625

[Page version: 20240719 07:49:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.240.250.26aes256ctr
0.330.330.34T:aes128ctr
0.400.410.41T:aes192ctr
0.460.470.49tango642
0.550.560.57chacha8
0.570.580.60salsa208
0.780.800.81chacha12
0.830.850.89salsa2012
1.011.021.03T:speck6496ctr
1.051.061.06T:speck64128ctr
1.241.251.27chacha20
1.251.261.27T:speck128128ctr
1.281.291.30T:speck128192ctr
1.23?1.33?1.45?T:hc128
1.331.341.34T:speck128256ctr
1.331.351.37xsalsa20
1.341.361.38salsa20
1.36?1.48?1.60?T:hc256
1.541.561.57T:simon6496ctr
1.45?1.60?1.78?T:tpy
1.561.631.72T:nlsv2
1.621.671.77T:sosemanuk
1.681.691.70T:simon64128ctr
1.671.751.77T:panama
1.65?1.83?1.85?T:snow20
1.891.891.91T:trivium
1.891.922.08T:rabbit
1.95?2.04?2.18?T:tpy6
2.372.392.40T:cryptmtv3
2.382.392.41T:simon128128ctr
2.562.622.73T:tpypy
2.632.652.67T:simon128256ctr
3.573.613.62T:lexv2
7.287.317.33T:aes128estream
11.0411.0811.12T:aes256estream
13.9414.4614.93T:ocelot1
14.2314.6215.19T:ocelot2
21.6522.5222.96T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.300.310.31aes256ctr
0.370.370.38T:aes128ctr
0.510.510.51T:aes192ctr
0.550.560.56chacha8
0.580.590.60tango642
0.590.590.60salsa208
0.790.800.80chacha12
0.850.860.89salsa2012
1.041.041.05T:speck6496ctr
1.081.081.08T:speck64128ctr
1.251.251.26chacha20
1.281.281.29T:speck128128ctr
1.321.321.33T:speck128192ctr
1.361.361.37T:speck128256ctr
1.361.371.37salsa20
1.441.451.46xsalsa20
1.721.731.73T:simon6496ctr
1.811.821.84T:nlsv2
1.731.851.86T:snow20
1.871.891.96T:sosemanuk
1.911.911.92T:simon64128ctr
1.981.981.99T:trivium
2.022.032.13T:rabbit
2.252.282.29T:panama
2.632.632.64T:simon128128ctr
2.582.642.74T:tpy6
2.852.862.87T:cryptmtv3
3.003.013.02T:simon128256ctr
3.073.153.25T:tpy
3.683.693.70T:lexv2
3.873.944.02T:hc128
4.074.094.15T:tpypy
7.337.347.35T:aes128estream
7.477.537.58T:hc256
11.1411.1511.17T:aes256estream
15.3215.5015.74T:ocelot2
15.5615.8716.13T:ocelot1
23.0423.5823.80T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.400.410.42aes256ctr
0.440.450.45T:aes128ctr
0.550.560.56chacha8
0.590.610.63salsa208
0.670.670.67T:aes192ctr
0.780.790.82tango642
0.790.800.81chacha12
0.860.870.90salsa2012
1.081.081.08T:speck6496ctr
1.111.121.13T:speck64128ctr
1.251.261.27chacha20
1.321.321.33T:speck128128ctr
1.361.371.37T:speck128192ctr
1.361.371.38salsa20
1.401.411.41T:speck128256ctr
1.581.591.61xsalsa20
1.821.841.87T:snow20
1.992.002.02T:simon6496ctr
2.122.132.13T:trivium
2.122.142.17T:nlsv2
2.172.262.29T:rabbit
2.252.282.33T:sosemanuk
2.272.282.29T:simon64128ctr
3.013.033.05T:simon128128ctr
3.163.183.21T:panama
3.593.613.62T:simon128256ctr
3.583.643.76T:tpy6
3.813.833.87T:lexv2
3.963.994.02T:cryptmtv3
5.455.555.57T:tpy
6.436.546.58T:tpypy
7.407.417.43T:aes128estream
8.198.248.36T:hc128
11.2911.3111.34T:aes256estream
16.7317.1717.73T:ocelot2
17.4517.5117.64T:hc256
17.8518.0618.23T:ocelot1
24.5625.0925.67T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.640.650.66T:aes128ctr
0.680.690.71chacha8
0.780.790.81salsa208
0.86?0.88?0.97?aes256ctr
1.021.031.05chacha12
1.081.101.11T:aes192ctr
1.141.161.18salsa2012
1.211.221.23T:speck6496ctr
1.261.281.28T:speck64128ctr
1.291.311.39tango642
1.491.501.51T:speck128128ctr
1.531.551.56T:speck128192ctr
1.581.601.62T:speck128256ctr
1.661.671.69chacha20
1.821.851.87salsa20
2.11?2.16?2.43?T:snow20
2.432.462.48xsalsa20
2.34?2.47?2.60?T:rabbit
2.512.522.53T:trivium
2.732.843.02T:nlsv2
3.143.153.16T:simon64128ctr
3.303.323.35T:simon6496ctr
3.433.453.50T:sosemanuk
4.204.224.33T:lexv2
4.454.494.53T:cryptmtv3
4.944.954.97T:simon128128ctr
5.195.205.31T:simon128256ctr
5.405.485.53T:panama
6.366.526.62T:tpy6
7.587.617.65T:aes128estream
11.5911.6311.70T:aes256estream
11.3211.6412.37T:tpy
12.7112.7912.97T:tpypy
20.0120.0920.35T:hc128
20.1720.7821.69T:ocelot2
23.6524.1924.86T:ocelot1
29.3629.9930.68T:amastrid
44.5044.6945.08T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.582.622.70T:speck6496ctr
2.642.732.81T:speck64128ctr
2.832.882.94chacha8
2.983.063.19salsa208
3.173.233.34T:aes128ctr
3.313.423.58T:speck128192ctr
3.483.563.67T:speck128128ctr
3.523.563.69T:speck128256ctr
3.893.954.00chacha12
4.064.144.31salsa2012
5.425.526.00T:rabbit
5.815.946.11aes256ctr
6.026.086.16chacha20
5.75?6.14?6.55?T:snow20
6.276.336.47salsa20
6.977.057.14T:simon6496ctr
7.527.567.64T:trivium
7.457.587.69T:simon64128ctr
7.697.818.06T:aes192ctr
8.088.198.55tango642
8.338.448.75T:cryptmtv3
9.099.199.56T:lexv2
9.819.9110.03T:aes128estream
11.1411.2311.41xsalsa20
11.7211.9112.03T:simon128128ctr
12.8612.9813.22T:simon128256ctr
14.5514.7315.64T:nlsv2
15.1415.5215.72T:aes256estream
17.1617.2717.50T:sosemanuk
34.1934.5335.17T:panama
40.8641.2541.48T:tpy6
52.9754.5656.73T:ocelot2
88.45?91.89?99.42?T:amastrid
93.0293.5294.50T:tpypy
89.95?99.20?102.38?T:tpy
97.97102.00106.25T:ocelot1
170.88171.25171.55T:hc128
383.23384.50390.92T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.6214.1214.62T:speck6496ctr
14.0014.5015.25T:speck64128ctr
16.1216.6217.12T:speck128128ctr
16.7517.6218.12T:speck128192ctr
17.2517.8818.25T:speck128256ctr
25.5026.2526.75T:aes128ctr
27.8828.5028.88chacha8
32.88?33.50?37.38?T:rabbit
33.5033.7533.88salsa208
34.2534.6235.12aes256ctr
35.5036.0036.75T:aes128estream
38.6239.0039.25chacha12
39.1239.7540.25T:simon6496ctr
43.8844.1244.38salsa2012
43.8844.3845.00T:simon64128ctr
46.3846.7547.38T:trivium
46.6247.6251.12T:cryptmtv3
46.12?48.75?51.62?T:snow20
50.0050.7552.25T:lexv2
52.1253.8855.25salsa20
56.0056.5057.12T:aes256estream
58.0058.3858.88chacha20
61.0061.8863.00tango642
62.7563.3864.12T:nlsv2
62.6263.5064.38T:aes192ctr
68.2568.7569.62T:simon128128ctr
79.2579.8881.12T:simon128256ctr
90.1291.2592.12xsalsa20
137.12138.50139.62T:sosemanuk
267.62270.50277.25T:panama
318.38326.62334.62T:tpy6
355.25364.88389.88T:ocelot2
595.88617.00660.12T:amastrid
728.38735.88760.25T:tpypy
700.50742.62773.88T:ocelot1
708.00?757.75?794.75?T:tpy
1368.751369.881371.62T:hc128
3120.123136.753151.62T:hc256