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; Tremont (906c0); 2021 Intel Celeron N4500; 2 x 1100MHz; jasper2, supercop-20260330

[Page version: 20260418 07:16:21]

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.590.600.61T:aes128ctr
0.740.750.76aes256ctr
0.800.860.88T:aes192ctr
1.021.021.03tango642
1.311.311.33chacha8
1.851.861.87chacha12
2.022.032.04salsa208
2.172.182.20T:hc128
2.382.402.47T:sosemanuk
2.412.462.51T:tpy
2.552.592.65T:tpy6
2.592.612.61T:cryptmtv3
2.912.922.93salsa2012
2.982.982.99chacha20
2.993.053.10T:nlsv2
3.053.063.07T:speck6496ctr
3.163.173.18T:speck64128ctr
3.223.233.25T:snow20
3.223.263.30T:hc256
3.543.573.60T:panama
3.843.853.86T:trivium
3.863.903.94T:tpypy
4.174.194.22T:rabbit
4.484.504.51T:speck128128ctr
4.554.564.57T:simon6496ctr
4.644.664.66T:speck128192ctr
4.714.734.76salsa20
4.714.734.74xsalsa20
4.744.754.75T:simon64128ctr
4.754.774.78T:speck128256ctr
4.894.924.95T:lexv2
6.836.856.87T:simon128128ctr
7.667.847.97T:simon128256ctr
9.619.639.66T:aes128estream
15.5915.6115.64T:aes256estream
19.4619.9020.02T:ocelot1
20.0420.6921.18T:ocelot2
34.5735.8236.54T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.620.620.63T:aes128ctr
0.770.770.77aes256ctr
1.201.211.22T:aes192ctr
1.221.221.23tango642
1.331.331.34chacha8
1.881.881.88chacha12
2.042.042.05salsa208
2.932.942.94salsa2012
3.003.003.01chacha20
3.073.083.12T:sosemanuk
3.093.093.10T:speck6496ctr
3.163.183.22T:tpy6
3.193.203.20T:cryptmtv3
3.183.203.23T:nlsv2
3.203.213.22T:speck64128ctr
3.333.333.34T:snow20
3.863.893.93T:tpy
4.004.004.01T:trivium
4.314.314.33T:rabbit
4.534.534.54T:speck128128ctr
4.624.644.65T:panama
4.684.684.69T:speck128192ctr
4.734.754.77salsa20
4.804.804.81T:speck128256ctr
4.824.834.83T:simon6496ctr
4.894.904.90xsalsa20
5.065.075.08T:lexv2
5.215.215.21T:simon64128ctr
5.265.285.29T:tpypy
6.436.436.44T:hc128
7.247.257.26T:simon128128ctr
8.548.578.66T:simon128256ctr
9.689.699.70T:aes128estream
13.8813.9013.91T:hc256
15.6915.7015.72T:aes256estream
20.9121.2321.26T:ocelot1
21.5721.9622.23T:ocelot2
36.7037.3537.86T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.660.670.67T:aes128ctr
0.810.810.82aes256ctr
1.351.351.36chacha8
1.541.551.56tango642
1.781.801.89T:aes192ctr
1.901.901.90chacha12
2.062.072.08salsa208
2.952.962.98salsa2012
3.043.053.06chacha20
3.153.153.17T:speck6496ctr
3.263.273.29T:speck64128ctr
3.483.483.49T:snow20
3.513.523.53T:nlsv2
4.144.194.21T:tpy6
4.244.274.29T:sosemanuk
4.284.284.28T:trivium
4.514.524.54T:rabbit
4.564.584.60T:speck128128ctr
4.644.654.68T:cryptmtv3
4.724.734.75T:speck128192ctr
4.764.774.79salsa20
4.844.864.88T:speck128256ctr
5.165.185.20xsalsa20
5.285.295.29T:simon6496ctr
5.305.325.34T:lexv2
5.985.985.99T:simon64128ctr
6.186.226.23T:tpy
6.446.456.47T:panama
7.527.557.58T:tpypy
7.917.927.93T:simon128128ctr
9.789.809.82T:aes128estream
9.8010.1710.49T:simon128256ctr
13.5013.5113.52T:hc128
15.8315.8515.87T:aes256estream
23.1123.4223.74T:ocelot1
23.6323.9924.38T:ocelot2
31.5931.6331.68T:hc256
39.5240.1440.95T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.810.810.85T:aes128ctr
0.990.991.00aes256ctr
1.501.501.51chacha8
2.102.112.13chacha12
2.242.252.27salsa208
2.512.522.54tango642
3.233.243.26salsa2012
3.293.303.30T:speck6496ctr
3.323.353.37T:aes192ctr
3.343.363.38chacha20
3.413.423.42T:speck64128ctr
3.923.943.97T:snow20
4.364.404.43T:nlsv2
4.744.744.81T:speck128128ctr
4.874.874.93T:speck128192ctr
4.914.924.96T:trivium
5.015.025.05T:speck128256ctr
5.065.085.10T:rabbit
5.125.155.20salsa20
5.385.395.39T:cryptmtv3
5.945.975.99T:lexv2
6.216.256.29xsalsa20
6.606.626.70T:tpy6
7.437.477.54T:sosemanuk
7.497.517.54T:simon6496ctr
10.0410.1210.26T:aes128estream
10.5510.5610.65T:simon64128ctr
11.0811.1511.29T:panama
12.4312.4712.51T:tpy
12.7912.8312.87T:simon128128ctr
13.3613.4413.65T:tpypy
16.2116.2516.29T:aes256estream
18.2218.2718.35T:simon128256ctr
29.3129.3929.45T:ocelot1
29.4329.8030.16T:ocelot2
32.3732.3932.44T:hc128
46.5146.9848.63T:amastrid
78.7578.8979.05T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.53?2.55?2.97?T:aes128ctr
2.592.642.68chacha8
2.932.993.25aes256ctr
3.613.643.67chacha12
3.994.084.08salsa208
4.764.794.83T:speck6496ctr
5.025.065.12T:speck64128ctr
5.495.505.52salsa2012
5.625.665.71chacha20
6.676.746.80T:speck128128ctr
6.776.836.86T:speck128192ctr
6.956.976.99T:speck128256ctr
8.298.308.30salsa20
9.799.8210.14T:snow20
11.0911.1311.22T:rabbit
13.0913.1813.30T:simon6496ctr
13.3013.3513.42T:cryptmtv3
13.4613.5113.62T:trivium
13.8513.9514.08T:aes128estream
13.8713.9714.18T:lexv2
14.4214.4814.52T:simon64128ctr
14.7614.9315.17tango642
17.5017.6718.00T:nlsv2
18.0218.0418.05xsalsa20
20.9221.0121.14T:aes256estream
21.2421.3421.55T:simon128128ctr
23.2223.2723.41T:simon128256ctr
23.0423.3623.73T:aes192ctr
39.5539.7139.92T:tpy6
43.9844.3645.10T:sosemanuk
71.7271.9972.38T:panama
90.7891.9392.62T:tpypy
93.1693.4193.58T:tpy
103.48103.85104.06T:ocelot2
103.95104.24104.88T:ocelot1
132.97133.60134.32T:amastrid
274.78274.96275.07T:hc128
683.13684.82685.39T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
19.5019.5019.50T:aes128ctr
22.71?23.12?26.36?chacha8
23.2523.3423.88aes256ctr
23.98?24.40?28.10?T:speck6496ctr
25.33?27.32?28.83?T:speck64128ctr
28.0128.2631.07T:speck128128ctr
27.95?28.38?32.29?T:speck128192ctr
28.1928.5630.93T:speck128256ctr
31.03?32.41?35.95?chacha12
46.69?48.79?52.51?salsa208
50.5951.7055.33chacha20
60.2660.6661.51T:simon6496ctr
59.8860.7261.03salsa2012
64.8864.8866.69T:rabbit
64.5765.2566.57T:aes128estream
69.6269.6570.02T:simon64128ctr
76.5076.7977.86T:snow20
76.5878.3881.82T:aes256estream
79.3879.7580.35T:trivium
82.1983.2184.60T:lexv2
84.2585.0786.18T:cryptmtv3
87.7888.7889.32salsa20
90.6492.0196.67T:nlsv2
112.69113.40114.50tango642
113.02118.12123.14T:simon128128ctr
125.84128.76131.71T:simon128256ctr
165.64165.92167.24xsalsa20
184.65186.79190.60T:aes192ctr
300.18301.22302.49T:tpy6
351.81354.57362.71T:sosemanuk
556.79564.67568.94T:panama
684.99689.21695.79T:ocelot2
691.79694.32694.99T:ocelot1
703.12711.98717.83T:tpypy
735.36736.51739.70T:tpy
892.56895.76903.08T:amastrid
2194.172195.572198.60T:hc128
5458.285464.095472.94T:hc256