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; Ice Lake (706e5); 2019 Intel Core i3-1035G1; 4 x 1000MHz; icelake2, supercop-20221005

[Page version: 20241120 00:41:23]

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.280.290.30chacha8
0.350.350.36salsa208
0.370.390.40T:aes128ctr
0.390.390.40chacha12
0.450.450.46salsa2012
0.40?0.49?0.49?aes256ctr
0.45?0.49?0.51?T:aes192ctr
0.540.550.56T:speck6496ctr
0.560.570.57T:speck64128ctr
0.590.590.60chacha20
0.660.670.67salsa20
0.660.670.68T:speck128128ctr
0.66?0.68?0.93?xsalsa20
0.680.690.69T:speck128192ctr
0.700.710.71T:speck128256ctr
0.830.840.86tango642
0.920.930.97T:simon6496ctr
0.950.971.00T:simon64128ctr
1.261.271.28T:simon128128ctr
1.321.341.35T:simon128256ctr
1.371.421.45T:hc128
1.35?1.58?1.74?T:tpy
1.57?1.99?2.08?T:tpy6
1.952.012.05T:hc256
2.012.072.12T:sosemanuk
2.172.192.20T:trivium
2.162.202.30T:snow20
2.262.292.34T:panama
2.332.352.39T:cryptmtv3
2.342.362.38T:nlsv2
2.452.522.63T:rabbit
2.532.622.71T:tpypy
4.524.534.55T:lexv2
8.718.748.77T:aes128estream
13.7013.7513.81T:aes256estream
Cycles/byte for 4096 bytes
25%50%75%stream
0.290.290.29chacha8
0.360.360.37salsa208
0.390.390.39chacha12
0.420.430.43T:aes128ctr
0.460.470.47salsa2012
0.540.540.54aes256ctr
0.570.570.57T:speck6496ctr
0.590.590.59T:speck64128ctr
0.590.590.59chacha20
0.670.680.68salsa20
0.690.700.70T:speck128128ctr
0.710.720.72T:speck128192ctr
0.730.730.74T:speck128256ctr
0.78?0.79?0.97?xsalsa20
0.770.800.80T:aes192ctr
0.950.960.97tango642
1.111.111.13T:simon6496ctr
1.271.281.30T:simon64128ctr
1.491.491.50T:simon128128ctr
1.711.721.73T:simon128256ctr
2.282.292.29T:trivium
2.292.312.37T:snow20
2.312.342.37T:sosemanuk
2.512.522.53T:nlsv2
2.562.602.68T:rabbit
2.752.782.80T:tpy6
2.842.862.88T:cryptmtv3
2.972.983.00T:panama
3.103.223.26T:tpy
3.903.923.93T:hc128
4.124.164.20T:tpypy
4.644.654.66T:lexv2
8.398.418.43T:hc256
8.788.798.81T:aes128estream
13.8213.8413.87T:aes256estream
Cycles/byte for 1536 bytes
25%50%75%stream
0.380.380.39chacha8
0.430.430.44salsa208
0.490.490.51T:aes128ctr
0.510.510.52chacha12
0.560.570.59salsa2012
0.600.600.61T:speck6496ctr
0.610.610.62aes256ctr
0.620.620.63T:speck64128ctr
0.740.740.75T:speck128128ctr
0.760.760.77T:speck128192ctr
0.780.780.79T:speck128256ctr
0.780.790.79chacha20
0.830.840.85salsa20
1.101.111.12xsalsa20
1.131.161.18tango642
1.231.291.34T:aes192ctr
1.381.401.42T:simon6496ctr
1.771.791.81T:simon64128ctr
1.851.861.87T:simon128128ctr
2.352.352.37T:simon128256ctr
2.442.462.47T:trivium
2.492.522.54T:snow20
2.752.802.83T:rabbit
2.832.842.86T:nlsv2
2.812.842.90T:sosemanuk
3.813.864.04T:tpy6
4.074.094.12T:panama
4.114.124.14T:cryptmtv3
4.844.864.87T:lexv2
5.635.715.83T:tpy
6.666.756.85T:tpypy
8.048.068.09T:hc128
8.858.878.91T:aes128estream
13.9013.9514.04T:aes256estream
19.0419.0719.14T:hc256
Cycles/byte for 576 bytes
25%50%75%stream
0.500.520.54chacha8
0.680.710.72chacha12
0.700.710.71T:aes128ctr
0.700.720.74salsa208
0.770.780.79T:speck6496ctr
0.790.800.81T:speck64128ctr
0.880.880.90aes256ctr
0.940.960.97T:speck128128ctr
0.970.991.00T:speck128192ctr
0.980.991.01salsa2012
1.011.021.05T:speck128256ctr
1.031.051.08chacha20
1.541.571.59salsa20
1.651.661.73tango642
2.262.292.31xsalsa20
2.442.512.69T:aes192ctr
2.732.762.79T:simon6496ctr
2.892.902.92T:trivium
2.862.912.97T:snow20
3.053.083.13T:simon64128ctr
3.063.123.17T:rabbit
3.173.193.23T:simon128128ctr
3.453.473.50T:simon128256ctr
3.663.693.76T:nlsv2
4.144.194.33T:sosemanuk
4.574.584.59T:cryptmtv3
5.365.395.42T:lexv2
6.906.967.08T:panama
7.077.287.43T:tpy6
9.049.079.11T:aes128estream
11.93?12.35?13.44?T:tpy
13.5913.8914.40T:tpypy
14.2914.3514.42T:aes256estream
19.1019.2119.27T:hc128
47.3547.4647.74T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.412.522.67T:speck6496ctr
2.45?2.64?2.77?T:speck64128ctr
3.003.033.06salsa208
3.203.303.50T:speck128256ctr
3.233.313.45T:speck128128ctr
3.25?3.39?3.62?T:speck128192ctr
3.363.423.67T:aes128ctr
3.883.923.95salsa2012
4.084.124.33aes256ctr
4.304.444.58chacha8
5.725.775.83salsa20
5.805.926.19chacha12
6.276.346.44T:simon6496ctr
7.347.487.62T:simon64128ctr
7.487.648.06T:rabbit
7.39?7.67?8.41?T:snow20
7.898.008.08T:cryptmtv3
8.008.098.47tango642
8.558.618.73T:trivium
9.059.199.28chacha20
9.179.259.36T:simon128128ctr
10.3610.4410.52T:simon128256ctr
11.8411.9412.12xsalsa20
11.8611.9812.12T:aes128estream
12.2012.3112.41T:lexv2
15.8915.9416.06T:nlsv2
18.2218.4718.91T:aes192ctr
18.4118.5318.84T:aes256estream
19.5219.6419.97T:sosemanuk
44.5045.0545.91T:panama
46.5947.8449.17T:tpy6
96.55?99.14?111.14?T:tpypy
106.14109.92110.77T:tpy
160.78161.34162.14T:hc128
410.14410.98412.39T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.3813.8814.50T:speck6496ctr
15.1215.7516.62T:speck64128ctr
16.8817.2518.25T:speck128256ctr
17.38?18.25?20.12?T:speck128192ctr
21.8822.3824.25T:speck128128ctr
26.3827.7529.12T:aes128ctr
28.0028.6229.62chacha8
33.3834.1235.25aes256ctr
35.00?37.12?41.75?salsa2012
38.0038.3839.25chacha12
38.0038.5039.75salsa208
41.5042.2543.38T:simon6496ctr
43.6244.2545.50T:cryptmtv3
45.6246.3849.75T:rabbit
50.0050.6251.00T:simon64128ctr
44.75?52.88?58.00?T:aes128estream
53.2554.0055.00T:trivium
58.3859.1260.25chacha20
58.25?59.62?66.00?tango642
61.0062.6263.50salsa20
64.0067.5069.88T:snow20
67.1269.0073.25T:aes256estream
68.6271.0073.88T:lexv2
75.3876.2576.88T:simon128128ctr
84.5085.5086.50T:simon128256ctr
85.2586.1290.50T:nlsv2
110.12111.50114.12xsalsa20
142.38145.62156.62T:aes192ctr
156.88158.12164.00T:sosemanuk
346.00353.38360.12T:panama
357.88362.25375.62T:tpy6
750.75?791.75?876.00?T:tpypy
816.50835.38859.50T:tpy
1287.121292.121297.62T:hc128
3275.503283.383295.75T:hc256