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; Comet Lake (806ec); 2019 Intel Core i3-10110U; 2 x 2100MHz; know, supercop-20260330

[Page version: 20260403 18:07:46]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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.540.550.55chacha8
0.590.600.61salsa208
0.620.620.63T:aes128ctr
0.700.720.74tango642
0.750.760.77chacha12
0.770.780.79T:aes192ctr
0.840.850.85salsa2012
0.880.880.89aes256ctr
1.001.001.02T:speck6496ctr
1.031.041.05T:speck64128ctr
1.181.191.20chacha20
1.231.241.25T:speck128128ctr
1.241.261.27T:speck128192ctr
1.281.291.30T:speck128256ctr
1.321.331.35salsa20
1.331.341.35xsalsa20
1.481.491.51T:simon6496ctr
1.531.551.56T:simon64128ctr
1.731.751.78T:hc128
1.821.831.85T:sosemanuk
1.941.941.95T:trivium
2.032.102.18T:tpy
2.262.292.33T:simon128128ctr
2.262.312.41T:hc256
2.252.352.41T:tpy6
2.392.422.44T:simon128256ctr
2.382.482.61T:nlsv2
2.602.632.67T:cryptmtv3
2.742.762.77T:rabbit
2.792.812.83T:snow20
2.912.932.95T:panama
2.923.003.07T:tpypy
4.064.074.09T:lexv2
8.348.378.39T:aes128estream
13.2513.2913.33T:aes256estream
17.1217.2017.26T:ocelot1
19.6519.7219.79T:ocelot2
31.6431.9432.20T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.570.57chacha8
0.620.620.62salsa208
0.680.680.68T:aes128ctr
0.770.780.78chacha12
0.860.870.87salsa2012
0.880.890.90tango642
0.940.950.95aes256ctr
1.041.041.05T:speck6496ctr
1.081.081.08T:speck64128ctr
1.101.101.11T:aes192ctr
1.201.211.21chacha20
1.281.281.29T:speck128128ctr
1.301.301.31T:speck128192ctr
1.341.341.35T:speck128256ctr
1.351.361.36salsa20
1.451.461.47xsalsa20
1.711.721.73T:simon6496ctr
1.901.901.91T:simon64128ctr
2.042.042.04T:trivium
2.342.352.36T:sosemanuk
2.552.562.58T:simon128128ctr
2.612.632.72T:nlsv2
2.842.852.85T:rabbit
2.862.872.88T:simon128256ctr
2.902.912.92T:snow20
2.902.952.98T:tpy6
3.113.133.14T:cryptmtv3
3.393.433.49T:tpy
3.853.863.87T:panama
4.214.214.23T:lexv2
4.454.504.54T:tpypy
4.584.594.61T:hc128
8.418.438.44T:aes128estream
9.409.419.42T:hc256
13.3713.3913.41T:aes256estream
18.5718.5918.62T:ocelot1
21.0521.0921.13T:ocelot2
33.1933.3433.49T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.600.600.61chacha8
0.650.660.67salsa208
0.770.770.77T:aes128ctr
0.810.820.83chacha12
0.900.910.91salsa2012
1.051.051.05aes256ctr
1.101.101.11T:speck6496ctr
1.141.141.15T:speck64128ctr
1.151.171.18tango642
1.231.241.25chacha20
1.351.351.36T:speck128128ctr
1.381.381.39T:speck128192ctr
1.391.401.40salsa20
1.421.421.43T:speck128256ctr
1.661.661.67xsalsa20
1.641.681.72T:aes192ctr
2.082.092.10T:simon6496ctr
2.212.212.22T:trivium
2.492.502.52T:simon64128ctr
2.91?2.93?3.26?T:nlsv2
2.983.003.01T:rabbit
2.993.003.03T:simon128128ctr
3.073.083.10T:snow20
3.243.263.27T:sosemanuk
3.593.603.64T:simon128256ctr
3.893.923.97T:tpy6
4.454.464.48T:lexv2
4.474.504.52T:cryptmtv3
5.405.425.43T:panama
5.575.615.67T:tpy
6.896.987.05T:tpypy
8.508.528.55T:aes128estream
9.299.319.35T:hc128
13.5313.5513.59T:aes256estream
20.8720.9221.04T:ocelot1
21.2521.2821.32T:hc256
23.3423.3923.46T:ocelot2
35.5935.8135.95T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.830.84chacha8
0.920.930.95salsa208
1.061.061.07T:aes128ctr
1.111.131.15chacha12
1.261.271.27salsa2012
1.331.341.35T:speck6496ctr
1.391.391.41T:speck64128ctr
1.431.441.44aes256ctr
1.631.641.65T:speck128128ctr
1.671.681.71T:speck128192ctr
1.701.711.72chacha20
1.731.741.77T:speck128256ctr
1.911.931.97tango642
1.941.961.98salsa20
2.632.642.66T:trivium
2.642.652.68xsalsa20
3.033.133.22T:aes192ctr
3.343.353.36T:simon64128ctr
3.373.393.41T:rabbit
3.483.513.56T:snow20
3.67?3.71?4.45?T:nlsv2
3.733.753.76T:simon6496ctr
4.874.894.92T:simon128128ctr
4.854.995.03T:cryptmtv3
5.045.065.08T:lexv2
5.245.265.29T:simon128256ctr
5.665.695.75T:sosemanuk
6.456.586.68T:tpy6
8.788.808.85T:aes128estream
9.509.549.67T:panama
11.5811.6811.83T:tpy
13.6313.7313.81T:tpypy
13.9714.0114.05T:aes256estream
21.9221.9822.04T:hc128
27.0427.2127.31T:ocelot1
29.4429.5729.77T:ocelot2
41.8541.9942.08T:amastrid
52.8052.9153.00T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.223.253.28chacha8
3.723.743.83T:speck6496ctr
3.763.783.84salsa208
3.813.833.91T:speck64128ctr
4.164.174.26chacha12
4.434.504.57T:speck128128ctr
4.574.594.62T:aes128ctr
4.694.844.96T:speck128192ctr
4.834.955.25salsa2012
4.925.075.22T:speck128256ctr
5.785.845.90aes256ctr
5.965.996.04chacha20
6.946.997.08salsa20
7.978.028.11T:simon6496ctr
8.158.198.30T:trivium
8.248.298.48T:rabbit
8.959.139.33T:snow20
9.319.439.59T:simon64128ctr
11.5211.6412.00tango642
10.73?11.93?12.05?T:cryptmtv3
12.3512.5112.73T:simon128128ctr
12.5112.6512.79T:aes128estream
12.9913.1413.26T:lexv2
13.3613.4513.63xsalsa20
13.9614.0814.22T:simon128256ctr
15.90?16.42?26.66?T:nlsv2
19.5519.6519.84T:aes256estream
21.1921.3321.77T:aes192ctr
33.5733.8034.26T:sosemanuk
40.7241.0541.51T:tpy6
61.7162.0162.56T:panama
88.9889.6190.85T:tpy
99.55100.12102.54T:tpypy
106.58107.53108.45T:ocelot1
108.11109.22111.04T:ocelot2
116.19116.89117.70T:amastrid
183.11183.45183.87T:hc128
455.36456.00456.94T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.4120.9921.86T:speck64128ctr
20.50?21.04?23.17?T:speck6496ctr
25.99?26.76?29.06?T:speck128192ctr
26.62?27.57?29.67?T:speck128256ctr
27.5028.5229.71T:speck128128ctr
35.0735.2935.80T:aes128ctr
36.8937.1937.82chacha8
40.5841.0141.53salsa208
45.7145.9446.33aes256ctr
46.9247.2647.95chacha12
49.5450.0150.80salsa2012
50.4850.7751.60T:rabbit
51.0951.5852.65T:simon6496ctr
52.1252.3152.53T:trivium
58.6459.3060.18T:aes128estream
61.6462.1462.62T:simon64128ctr
66.5367.5370.78chacha20
67.7168.3169.50salsa20
71.1672.7774.40T:snow20
65.55?75.02?76.89?T:cryptmtv3
76.6077.2979.33T:lexv2
77.3978.1678.96T:simon128128ctr
79.7580.1980.76T:aes256estream
87.2488.1091.68tango642
88.8889.6790.07T:simon128256ctr
88.25?92.61?130.26?T:nlsv2
118.95120.16121.51xsalsa20
169.09169.98173.77T:aes192ctr
267.99269.95273.44T:sosemanuk
312.18314.99317.79T:tpy6
484.91487.25491.78T:panama
694.72701.33707.15T:tpy
719.49724.18733.55T:ocelot1
722.59743.45763.27T:ocelot2
767.90770.94775.71T:amastrid
778.40782.47784.72T:tpypy
1457.781461.711465.77T:hc128
3590.043598.383646.01T:hc256