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; Silvermont (406c4); 2016 Intel Atom x5-Z8350; 4 x 1440MHz; cherry, 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
1.871.881.89tango642
2.342.352.35chacha8
3.103.113.12salsa208
3.333.343.35chacha12
4.154.154.16T:cryptmtv3
3.92?4.16?4.41?T:aes192ctr
4.444.444.45salsa2012
4.38?4.77?5.12?T:hc128
5.245.265.28T:tpy
5.255.265.28chacha20
5.375.405.45T:sosemanuk
5.385.415.44T:tpy6
5.815.825.83T:nlsv2
6.176.176.17T:aes128ctr
6.316.316.31T:trivium
6.716.716.72aes256ctr
6.716.726.73T:snow20
6.656.766.91T:panama
6.836.836.83xsalsa20
6.836.846.84salsa20
7.127.137.14T:rabbit
7.387.397.45T:hc256
8.178.318.44T:tpypy
8.558.568.56T:lexv2
9.579.579.58T:speck6496ctr
10.4210.4310.45T:speck64128ctr
14.8214.8814.90T:aes128estream
15.5115.5215.56T:simon6496ctr
16.1416.1416.15T:speck128128ctr
16.1716.2216.27T:simon64128ctr
16.6216.6316.64T:speck128192ctr
17.1217.1217.13T:speck128256ctr
23.2923.3223.34T:simon128128ctr
24.5724.7724.93T:simon128256ctr
26.8826.9126.91T:aes256estream
43.8243.9244.14T:ocelot1
46.7647.1047.27T:ocelot2
79.4580.1080.75T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.232.232.24tango642
2.412.412.42chacha8
3.143.153.15salsa208
3.393.393.39chacha12
4.484.484.48salsa2012
4.694.694.70T:cryptmtv3
5.325.335.33chacha20
6.086.096.09T:nlsv2
6.146.216.35T:aes192ctr
6.226.226.22T:aes128ctr
6.386.396.42T:sosemanuk
6.536.556.56T:tpy6
6.566.566.56T:trivium
6.776.776.77aes256ctr
6.866.866.87salsa20
6.906.916.91T:snow20
7.097.097.09xsalsa20
7.377.377.38T:rabbit
7.697.697.70T:tpy
8.698.738.83T:panama
8.808.808.80T:lexv2
9.649.649.65T:speck6496ctr
10.5110.5110.52T:speck64128ctr
10.7010.7110.81T:tpypy
12.6012.6312.88T:hc128
14.9514.9714.98T:aes128estream
16.1416.1416.17T:simon6496ctr
16.2816.2816.29T:speck128128ctr
16.7816.7816.79T:speck128192ctr
17.0917.1117.13T:simon64128ctr
17.2817.2817.28T:speck128256ctr
24.2824.3024.31T:simon128128ctr
26.9326.9927.08T:simon128256ctr
27.0627.0727.07T:aes256estream
28.0128.0228.06T:hc256
46.2746.3446.49T:ocelot1
49.2949.4849.57T:ocelot2
84.1784.5184.75T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.482.482.50chacha8
2.802.802.82tango642
3.193.203.22salsa208
3.463.473.48chacha12
4.534.534.53salsa2012
5.435.445.46chacha20
6.306.306.30T:aes128ctr
6.316.316.32T:cryptmtv3
6.596.596.61T:nlsv2
6.866.876.88aes256ctr
6.906.916.92salsa20
6.986.986.98T:trivium
7.227.237.23T:snow20
7.517.517.52xsalsa20
7.787.797.80T:rabbit
8.148.178.24T:sosemanuk
8.418.438.45T:tpy6
9.219.219.22T:lexv2
9.269.409.67T:aes192ctr
9.769.769.78T:speck6496ctr
10.6410.6410.65T:speck64128ctr
11.7411.7511.78T:tpy
12.0112.0512.21T:panama
14.6914.7114.96T:tpypy
15.0915.1015.16T:aes128estream
16.5116.5116.52T:speck128128ctr
17.0217.0217.07T:speck128192ctr
17.1717.1817.22T:simon6496ctr
17.5317.5317.53T:speck128256ctr
18.5918.6218.66T:simon64128ctr
25.6925.7226.43T:hc128
25.9225.9426.01T:simon128128ctr
27.3327.3627.37T:aes256estream
30.5030.6230.96T:simon128256ctr
50.2950.3150.34T:ocelot1
53.2853.3653.51T:ocelot2
62.3862.4062.41T:hc256
93.4394.2994.56T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.662.672.71chacha8
3.443.453.48salsa208
3.713.723.77chacha12
4.364.374.39tango642
4.784.804.81salsa2012
5.815.825.93chacha20
6.946.956.96T:cryptmtv3
7.037.047.08salsa20
7.197.197.20T:aes128ctr
7.887.897.91aes256ctr
7.887.917.93T:nlsv2
8.038.048.06T:snow20
8.098.098.09T:trivium
8.668.668.66xsalsa20
8.868.868.86T:rabbit
10.0510.0510.06T:speck6496ctr
10.2810.2910.31T:lexv2
10.7810.7810.80T:speck64128ctr
12.8712.9013.05T:sosemanuk
13.4613.5013.54T:tpy6
15.5615.5715.74T:aes128estream
17.1117.1117.12T:speck128128ctr
17.6417.6417.65T:speck128192ctr
18.1518.1518.16T:speck128256ctr
17.8918.2918.93T:aes192ctr
20.6620.6920.75T:panama
21.5521.6723.02T:simon6496ctr
22.5622.6122.67T:tpy
25.3525.4226.12T:tpypy
26.7827.3328.74T:simon64128ctr
28.0528.0828.20T:aes256estream
39.4639.8040.76T:simon128128ctr
58.8559.7061.23T:simon128256ctr
60.6360.9662.61T:hc128
61.0761.1761.51T:ocelot1
64.1564.1964.32T:ocelot2
102.97105.17106.85T:amastrid
154.03154.11154.16T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.773.783.95chacha8
4.954.955.32chacha12
5.515.766.09salsa208
6.927.157.54salsa2012
7.457.477.81chacha20
8.238.368.53salsa20
12.5612.5612.68T:speck64128ctr
12.9212.9213.09T:speck6496ctr
14.9514.9515.25T:aes128ctr
16.9116.9217.35aes256ctr
18.0818.2618.32T:cryptmtv3
18.6618.6618.70T:snow20
21.2021.2021.49T:aes128estream
21.9221.9221.96T:trivium
22.4222.4222.45T:rabbit
22.9722.9722.97xsalsa20
23.8823.8924.00T:lexv2
24.2124.3024.54tango642
24.3924.3924.68T:speck128128ctr
25.2025.2025.32T:speck128192ctr
25.4925.7326.17T:nlsv2
25.8625.8625.91T:speck128256ctr
28.1128.1128.37T:simon6496ctr
30.3930.6031.31T:simon64128ctr
36.9837.0938.28T:aes256estream
46.1246.1246.48T:simon128128ctr
49.2049.3650.42T:simon128256ctr
66.0166.2366.90T:sosemanuk
77.5877.9078.84T:tpy6
125.52128.22131.17T:aes192ctr
132.14132.67133.23T:panama
160.86161.23161.62T:tpy
162.02162.40168.75T:tpypy
197.48197.90201.21T:ocelot1
202.93203.17203.87T:ocelot2
269.10270.30271.52T:amastrid
507.26508.34525.08T:hc128
1326.891327.551328.22T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
37.6237.6238.86chacha8
40.3840.3841.38T:speck64128ctr
42.8844.3844.64T:speck6496ctr
49.7549.7550.68T:speck128256ctr
51.3251.5052.85chacha12
50.3851.7552.42T:speck128192ctr
51.2552.6754.16T:speck128128ctr
72.3072.5073.33chacha20
81.0081.0282.97salsa208
82.1882.4283.54salsa20
87.3587.8888.18T:simon6496ctr
94.8894.8895.03T:aes128estream
97.5797.78100.81T:simon64128ctr
103.00103.02104.22salsa2012
112.38112.38112.56T:cryptmtv3
118.50118.61119.71T:aes128ctr
129.25129.48130.43T:trivium
136.92137.06137.45T:lexv2
137.50137.71139.52aes256ctr
138.62138.62139.50T:rabbit
139.14139.56139.93T:aes256estream
142.26143.06144.78T:nlsv2
144.25144.25144.84T:snow20
146.78148.12150.25T:simon128128ctr
155.55155.96157.83T:simon128256ctr
181.04182.47183.84tango642
196.25196.25196.40xsalsa20
529.76533.53538.78T:sosemanuk
584.75587.76595.18T:tpy6
976.40997.451046.85T:aes192ctr
1040.331043.651053.88T:panama
1245.151251.791289.75T:tpypy
1259.031260.571261.75T:tpy
1279.071280.361284.77T:ocelot1
1301.361304.231309.00T:ocelot2
1724.991730.811739.46T:amastrid
4054.834063.474196.75T:hc128
10626.7510633.4210645.12T:hc256