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; Haswell+AES (306c3); 2013 Intel Xeon E3-1275 V3; 4 x 3500MHz; titan0, supercop-20260217

[Page version: 20260315 18:26:26]

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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.550.560.56chacha8
0.620.620.63salsa208
0.740.750.75T:aes128ctr
0.760.780.79tango642
0.73?0.78?0.97?chacha12
0.870.880.88salsa2012
0.960.981.00T:aes192ctr
0.990.990.99aes256ctr
1.031.041.05T:speck6496ctr
1.061.061.07T:speck64128ctr
1.191.201.21chacha20
1.251.261.27T:speck128128ctr
1.291.301.32T:speck128192ctr
1.331.331.34T:speck128256ctr
1.371.381.38xsalsa20
1.371.381.38salsa20
1.531.541.55T:simon6496ctr
1.581.601.61T:simon64128ctr
1.911.911.92T:trivium
2.062.102.13T:hc128
2.282.302.31T:simon128128ctr
2.252.302.38T:tpy
2.422.432.44T:cryptmtv3
2.452.482.53T:simon128256ctr
2.472.512.56T:hc256
2.582.612.63T:sosemanuk
2.702.732.76T:nlsv2
2.682.742.80T:tpy6
3.053.083.10T:rabbit
3.023.153.24T:panama
3.333.363.39T:snow20
3.593.653.72T:tpypy
4.454.474.49T:lexv2
9.099.109.12T:aes128estream
14.2714.3314.36T:aes256estream
18.1418.9719.22T:ocelot1
19.3319.5620.30T:ocelot2
30.5130.8832.22T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.570.570.58chacha8
0.640.640.64salsa208
0.790.800.80T:aes128ctr
0.80?0.80?0.94?chacha12
0.890.890.90salsa2012
0.950.960.97tango642
1.051.051.05aes256ctr
1.081.081.09T:speck6496ctr
1.101.111.11T:speck64128ctr
1.221.221.23chacha20
1.311.311.32T:speck128128ctr
1.331.351.35T:aes192ctr
1.351.351.36T:speck128192ctr
1.381.381.39T:speck128256ctr
1.391.401.40salsa20
1.491.501.50xsalsa20
1.741.741.74T:simon6496ctr
1.931.931.94T:simon64128ctr
2.022.022.02T:trivium
2.582.582.59T:simon128128ctr
2.862.882.89T:sosemanuk
2.872.882.89T:nlsv2
2.942.952.95T:cryptmtv3
2.942.952.98T:simon128256ctr
3.173.193.20T:rabbit
3.403.413.44T:tpy6
3.443.453.47T:snow20
3.873.893.93T:tpy
4.044.124.18T:panama
4.604.614.62T:lexv2
5.245.275.32T:tpypy
5.395.415.41T:hc128
9.159.169.17T:aes128estream
11.1311.1511.18T:hc256
14.3914.4214.43T:aes256estream
19.5420.1220.21T:ocelot1
20.6820.7421.24T:ocelot2
32.5332.6233.50T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.600.610.61chacha8
0.670.670.67salsa208
0.83?0.84?0.99?chacha12
0.870.870.87T:aes128ctr
0.930.930.93salsa2012
1.141.141.14aes256ctr
1.141.151.15T:speck6496ctr
1.171.181.19T:speck64128ctr
1.241.251.28tango642
1.261.271.27chacha20
1.381.391.40T:speck128128ctr
1.421.431.45T:speck128192ctr
1.431.431.44salsa20
1.461.461.47T:speck128256ctr
1.691.691.70xsalsa20
1.951.961.99T:aes192ctr
2.062.062.07T:simon6496ctr
2.192.192.22T:trivium
2.482.492.49T:simon64128ctr
3.043.053.06T:simon128128ctr
3.163.183.21T:nlsv2
3.343.363.37T:rabbit
3.373.393.41T:sosemanuk
3.593.613.63T:snow20
3.713.733.79T:simon128256ctr
4.254.264.26T:cryptmtv3
4.484.534.66T:tpy6
4.854.864.87T:lexv2
5.685.785.81T:panama
6.546.596.67T:tpy
7.787.837.85T:tpypy
9.239.249.25T:aes128estream
10.8610.8810.90T:hc128
14.5414.5814.62T:aes256estream
21.5722.0922.19T:ocelot1
22.6422.7323.16T:ocelot2
25.5325.5625.60T:hc256
34.6834.8935.88T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.840.850.87chacha8
0.940.950.96salsa208
1.151.161.16T:aes128ctr
1.17?1.19?1.33?chacha12
1.291.291.30salsa2012
1.391.401.41T:speck6496ctr
1.431.441.45T:speck64128ctr
1.481.491.50aes256ctr
1.681.691.70T:speck128128ctr
1.721.731.76T:speck128192ctr
1.771.781.82chacha20
1.781.781.79T:speck128256ctr
1.971.981.99salsa20
2.052.062.10tango642
2.612.622.65T:trivium
2.682.682.69xsalsa20
3.553.623.84T:aes192ctr
3.623.633.66T:simon6496ctr
3.643.653.68T:simon64128ctr
3.813.823.85T:rabbit
3.923.964.00T:nlsv2
4.024.054.10T:snow20
4.764.784.82T:sosemanuk
4.804.814.83T:cryptmtv3
5.335.335.36T:simon128128ctr
5.495.525.55T:lexv2
5.805.845.92T:simon128256ctr
7.627.827.92T:tpy6
9.499.509.53T:aes128estream
10.0110.0810.13T:panama
13.6513.7613.87T:tpy
14.6414.7814.88T:tpypy
14.9114.9515.00T:aes256estream
25.2625.3225.38T:hc128
26.5327.2827.55T:ocelot1
27.5827.8528.44T:ocelot2
41.7442.2542.58T:amastrid
63.9063.9664.08T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.383.393.48chacha8
3.743.763.79salsa208
4.024.044.16T:speck6496ctr
4.214.264.29T:speck64128ctr
4.414.414.44chacha12
4.434.444.46T:aes128ctr
4.764.794.81salsa2012
4.744.835.07T:speck128192ctr
4.915.035.20T:speck128128ctr
5.195.235.29T:speck128256ctr
5.435.445.44aes256ctr
6.206.236.32chacha20
6.866.917.00salsa20
8.218.268.54T:trivium
8.448.478.59T:simon6496ctr
9.339.469.81T:rabbit
9.649.8710.04T:snow20
9.839.8810.01T:simon64128ctr
10.3410.4010.46T:cryptmtv3
12.3212.3912.49tango642
13.1413.1813.26T:aes128estream
13.1713.2613.40xsalsa20
13.2413.2813.32T:simon128128ctr
13.7913.9514.12T:lexv2
15.1015.2515.46T:nlsv2
15.2615.5015.72T:simon128256ctr
20.2020.3320.44T:aes256estream
20.3420.4420.57T:sosemanuk
24.2324.4124.67T:aes192ctr
48.1848.8549.45T:tpy6
65.1365.5466.10T:panama
90.4391.6894.44T:ocelot1
91.2091.8493.26T:ocelot2
101.04102.03103.35T:tpypy
103.62104.28105.60T:tpy
124.79125.76126.81T:amastrid
205.42205.97206.45T:hc128
554.14555.21555.90T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
19.3819.6020.17T:speck64128ctr
20.75?20.75?23.50?T:speck128128ctr
22.38?22.38?25.11?T:speck6496ctr
22.8423.2523.79T:speck128256ctr
25.76?26.48?29.49?T:speck128192ctr
34.7534.7534.91T:aes128ctr
40.2940.5141.54chacha8
42.5642.7042.75aes256ctr
43.5143.9844.78salsa208
50.7751.0752.42chacha20
51.3351.4952.10chacha12
52.2552.8553.88T:simon6496ctr
52.8453.1757.67T:trivium
54.5754.9455.70salsa2012
57.2057.5258.98T:rabbit
58.8559.3559.81T:aes128estream
59.1759.6460.09T:cryptmtv3
62.9763.7563.82T:simon64128ctr
73.7874.3974.94salsa20
76.0276.5277.12T:aes256estream
76.3878.2379.97T:snow20
79.0179.5079.83T:simon128128ctr
82.4983.4585.18T:nlsv2
83.5184.2185.23T:lexv2
89.0090.0792.08T:simon128256ctr
93.5394.3496.68tango642
124.33125.27126.56xsalsa20
162.91163.83165.25T:sosemanuk
196.30197.78200.42T:aes192ctr
366.75370.17373.69T:tpy6
511.50513.58518.76T:panama
593.21604.93617.24T:ocelot2
601.29610.46627.36T:ocelot1
773.88782.10809.17T:tpypy
815.23825.10831.29T:tpy
812.55830.06842.23T:amastrid
1641.471647.081649.83T:hc128
4440.044447.574454.11T:hc256