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 3 (a50f00); 2021 AMD Ryzen 5 5560U; 6 x 4062MHz; beelink, supercop-20221122

[Page version: 20240726 23:46: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.400.410.44T:aes128ctr
0.46?0.47?0.52?T:aes192ctr
0.480.480.49salsa208
0.480.490.50chacha8
0.590.590.60aes256ctr
0.660.670.70chacha12
0.690.700.70salsa2012
0.860.870.87T:speck6496ctr
0.880.890.89tango642
0.900.900.90T:speck64128ctr
1.041.041.05chacha20
1.061.061.07T:speck128128ctr
1.071.081.08T:speck128192ctr
1.101.101.11T:speck128256ctr
1.111.111.12xsalsa20
1.111.121.14salsa20
1.281.291.30T:hc128
1.471.481.50T:simon6496ctr
1.521.541.56T:simon64128ctr
1.801.811.81T:hc256
1.881.891.93T:sosemanuk
1.821.891.99T:tpy
1.881.901.92T:simon128256ctr
2.002.012.01T:cryptmtv3
1.962.042.09T:tpy6
2.032.042.05T:panama
2.042.062.15T:simon128128ctr
2.102.142.17T:trivium
2.382.392.41T:nlsv2
2.392.412.43T:rabbit
2.792.872.98T:tpypy
3.043.053.06T:snow20
4.044.044.05T:lexv2
8.038.118.13T:aes128estream
12.3012.3412.37T:aes256estream
Cycles/byte for 4096 bytes
25%50%75%stream
0.430.430.45T:aes128ctr
0.490.500.50salsa208
0.510.510.51chacha8
0.620.620.62aes256ctr
0.680.690.70chacha12
0.710.710.71salsa2012
0.810.810.82T:aes192ctr
0.900.900.90T:speck6496ctr
0.930.930.93T:speck64128ctr
0.990.990.99tango642
1.051.061.06chacha20
1.101.101.11T:speck128128ctr
1.111.111.11T:speck128192ctr
1.131.141.14salsa20
1.161.161.16T:speck128256ctr
1.221.221.22xsalsa20
1.681.681.69T:simon6496ctr
1.881.891.90T:simon64128ctr
2.112.112.14T:sosemanuk
2.232.232.25T:trivium
2.312.322.38T:simon128128ctr
2.332.342.35T:simon128256ctr
2.482.482.50T:rabbit
2.542.542.55T:nlsv2
2.572.572.58T:cryptmtv3
2.632.652.68T:tpy6
2.702.702.70T:panama
3.123.123.13T:snow20
3.173.203.27T:tpy
3.663.663.66T:hc128
4.164.164.17T:lexv2
4.244.294.37T:tpypy
8.138.168.18T:aes128estream
8.258.258.25T:hc256
12.4312.4412.46T:aes256estream
Cycles/byte for 1536 bytes
25%50%75%stream
0.460.470.47T:aes128ctr
0.510.510.51chacha8
0.520.520.53salsa208
0.650.660.66aes256ctr
0.700.710.72chacha12
0.730.730.74salsa2012
0.950.950.95T:speck6496ctr
0.980.980.99T:speck64128ctr
1.081.081.08chacha20
1.151.161.17salsa20
1.151.161.16tango642
1.161.161.17T:speck128128ctr
1.171.171.18T:speck128192ctr
1.241.241.25T:speck128256ctr
1.341.381.39T:aes192ctr
1.391.401.40xsalsa20
2.002.002.01T:simon6496ctr
2.392.402.45T:trivium
2.452.482.49T:simon64128ctr
2.522.542.54T:sosemanuk
2.602.602.61T:rabbit
2.732.732.79T:simon128128ctr
2.872.882.89T:nlsv2
3.063.073.08T:simon128256ctr
3.243.243.25T:snow20
3.683.733.77T:tpy6
3.783.793.79T:panama
3.983.983.99T:cryptmtv3
4.354.384.39T:lexv2
5.365.395.53T:tpy
6.606.646.68T:tpypy
7.607.607.61T:hc128
8.238.268.30T:aes128estream
12.5812.6012.62T:aes256estream
18.9618.9718.98T:hc256
Cycles/byte for 576 bytes
25%50%75%stream
0.570.580.60T:aes128ctr
0.720.730.74salsa208
0.760.770.78chacha8
0.830.840.85aes256ctr
0.950.960.98chacha12
1.031.041.05salsa2012
1.101.111.17T:speck6496ctr
1.141.151.15T:speck64128ctr
1.371.381.38T:speck128128ctr
1.371.381.39T:speck128192ctr
1.511.521.53chacha20
1.521.521.54T:speck128256ctr
1.641.651.66salsa20
1.641.661.66tango642
2.282.292.30xsalsa20
2.602.622.65T:aes192ctr
2.822.822.83T:trivium
2.952.952.96T:rabbit
3.023.033.04T:simon64128ctr
3.523.543.55T:simon6496ctr
3.573.583.59T:snow20
3.683.693.70T:sosemanuk
3.653.713.76T:nlsv2
4.474.484.49T:simon128128ctr
4.574.584.59T:cryptmtv3
4.834.844.85T:simon128256ctr
4.904.914.91T:lexv2
6.386.456.58T:tpy6
6.666.686.76T:panama
8.518.538.53T:aes128estream
10.9111.1011.35T:tpy
12.9112.9412.99T:aes256estream
12.9413.0013.06T:tpypy
18.1518.1618.17T:hc128
47.6447.6647.68T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.811.881.91chacha8
1.881.911.97T:aes128ctr
2.782.832.94aes256ctr
2.862.892.91T:speck6496ctr
2.973.053.08salsa208
3.053.063.11T:speck64128ctr
3.343.393.50T:speck128128ctr
3.583.643.67T:speck128192ctr
3.643.673.75chacha12
3.803.813.86T:speck128256ctr
4.054.084.14salsa2012
5.665.725.77chacha20
6.146.196.23salsa20
6.947.007.09T:simon6496ctr
7.287.337.42T:rabbit
7.787.787.84tango642
7.817.867.95T:snow20
8.258.338.42T:simon64128ctr
8.368.368.42T:trivium
10.7310.8010.83T:cryptmtv3
11.5611.6711.77T:simon128128ctr
11.5211.7011.78T:lexv2
11.8311.8411.89T:aes128estream
11.8411.9111.97xsalsa20
13.1413.2813.45T:simon128256ctr
16.1616.4516.84T:nlsv2
16.8917.0217.06T:sosemanuk
17.5617.6617.84T:aes256estream
19.5219.6719.95T:aes192ctr
41.4141.6242.34T:tpy6
43.4543.5343.80T:panama
82.8983.4484.17T:tpy
92.7093.0394.64T:tpypy
152.89152.92153.02T:hc128
413.14413.83413.92T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.8815.6216.00chacha8
16.2516.6216.75T:aes128ctr
19.0019.7520.62T:speck128128ctr
19.8819.8820.38T:speck6496ctr
20.7520.7520.88T:speck128192ctr
20.8820.8820.88T:speck64128ctr
21.5021.5021.62T:speck128256ctr
23.3823.7524.38aes256ctr
37.3837.8839.12salsa2012
38.0038.0038.62T:simon6496ctr
42.7543.2543.38salsa208
45.2545.2547.12T:rabbit
44.7545.3846.25chacha12
48.5048.5048.50T:simon64128ctr
50.7550.8851.38T:trivium
51.5052.0052.75T:aes128estream
55.2555.3856.00chacha20
55.6256.1256.50tango642
55.6256.5056.75salsa20
60.0061.3862.38T:snow20
68.2569.2570.00T:aes256estream
69.7569.7570.12T:simon128128ctr
68.6269.8871.25T:lexv2
70.3870.7571.00T:cryptmtv3
81.3881.7581.75T:simon128256ctr
84.3886.0089.00T:nlsv2
102.50102.62102.88xsalsa20
135.62136.38136.62T:sosemanuk
155.12157.25161.25T:aes192ctr
313.25323.12328.25T:tpy6
346.25347.62349.38T:panama
656.38660.25675.25T:tpy
717.00720.25732.12T:tpypy
1220.121220.621220.75T:hc128
3307.503308.753313.50T:hc256