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; Broadwell+AES (306d4); 2015 Intel Core i3-5005U; 2 x 1900MHz; shoe, supercop-20260330

[Page version: 20260422 02:31:00]

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.53?0.56?0.64?chacha8
0.620.620.63salsa208
0.710.740.75tango642
0.740.750.75T:aes128ctr
0.740.750.76T:aes192ctr
0.770.770.78chacha12
0.860.870.88salsa2012
1.001.011.02aes256ctr
1.031.031.04T:speck6496ctr
1.061.071.07T:speck64128ctr
1.201.211.22chacha20
1.251.261.27T:speck128128ctr
1.291.311.34T:speck128192ctr
1.331.341.35T:speck128256ctr
1.371.381.39xsalsa20
1.381.391.40salsa20
1.511.521.53T:simon6496ctr
1.53?1.56?1.71?T:simon64128ctr
1.921.931.93T:trivium
2.032.102.13T:hc128
2.282.312.34T:simon128128ctr
2.402.412.43T:hc256
2.412.432.44T:simon128256ctr
2.462.482.49T:cryptmtv3
2.512.552.60T:nlsv2
2.532.552.56T:sosemanuk
2.602.692.77T:tpy
2.872.882.89T:rabbit
2.802.902.98T:tpy6
2.993.023.04T:panama
3.073.093.11T:snow20
4.224.244.26T:lexv2
4.364.454.55T:tpypy
8.518.528.54T:aes128estream
13.1513.1813.21T:aes256estream
17.4017.7517.93T:ocelot1
18.4118.5318.63T:ocelot2
31.8232.6132.84T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.580.580.64chacha8
0.640.640.65salsa208
0.790.790.79chacha12
0.790.790.80T:aes128ctr
0.890.900.90salsa2012
0.910.910.92tango642
0.920.920.93T:aes192ctr
1.061.071.07aes256ctr
1.071.081.08T:speck6496ctr
1.111.111.11T:speck64128ctr
1.221.231.23chacha20
1.311.311.32T:speck128128ctr
1.351.361.38T:speck128192ctr
1.391.391.39T:speck128256ctr
1.401.401.41salsa20
1.491.501.50xsalsa20
1.701.701.70T:simon6496ctr
1.861.861.97T:simon64128ctr
2.022.022.02T:trivium
2.562.572.59T:simon128128ctr
2.702.712.74T:nlsv2
2.812.822.83T:sosemanuk
2.862.872.88T:simon128256ctr
2.982.982.99T:rabbit
3.003.013.01T:cryptmtv3
3.173.183.19T:snow20
3.593.643.69T:tpy6
3.963.973.98T:panama
4.264.304.35T:tpy
4.384.394.40T:lexv2
5.495.495.50T:hc128
5.885.905.93T:tpypy
8.578.588.59T:aes128estream
10.3310.3410.34T:hc256
13.2613.2713.29T:aes256estream
19.0819.2819.34T:ocelot1
20.0120.0620.11T:ocelot2
33.2833.8333.97T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.62?0.62?0.70?chacha8
0.670.680.68salsa208
0.820.820.83chacha12
0.870.870.88T:aes128ctr
0.930.940.94salsa2012
1.141.151.15T:speck6496ctr
1.161.171.19aes256ctr
1.181.181.19T:speck64128ctr
1.191.201.23tango642
1.211.211.22T:aes192ctr
1.251.261.26chacha20
1.391.391.40T:speck128128ctr
1.431.441.45salsa20
1.431.441.46T:speck128192ctr
1.471.471.48T:speck128256ctr
1.681.691.69xsalsa20
2.002.002.01T:simon6496ctr
2.192.192.20T:trivium
2.312.352.42T:simon64128ctr
2.993.013.02T:simon128128ctr
3.073.093.12T:nlsv2
3.143.153.16T:rabbit
3.303.313.33T:snow20
3.313.323.35T:sosemanuk
3.623.633.65T:simon128256ctr
4.364.374.37T:cryptmtv3
4.634.654.66T:lexv2
4.894.955.00T:tpy6
5.545.565.58T:panama
6.866.987.17T:tpy
8.268.298.33T:tpypy
8.668.678.68T:aes128estream
11.0111.0611.23T:hc128
13.4013.4313.44T:aes256estream
21.8221.9122.01T:ocelot1
22.5622.6322.72T:ocelot2
23.5423.5523.57T:hc256
36.1236.5036.70T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.880.900.97chacha8
0.950.950.96salsa208
1.151.151.16T:aes128ctr
1.151.161.17chacha12
1.301.311.33salsa2012
1.401.411.43T:speck6496ctr
1.441.441.45T:speck64128ctr
1.641.671.76aes256ctr
1.681.681.70T:speck128128ctr
1.731.741.76T:speck128192ctr
1.771.771.79chacha20
1.771.781.79T:speck128256ctr
1.931.951.97T:aes192ctr
1.971.981.99salsa20
2.002.012.08tango642
2.622.622.64T:trivium
2.642.652.66xsalsa20
3.523.533.55T:simon6496ctr
3.583.603.62T:rabbit
3.623.633.66T:simon64128ctr
3.733.743.78T:snow20
3.883.944.03T:nlsv2
4.714.734.76T:sosemanuk
5.025.045.07T:cryptmtv3
5.105.115.14T:simon128128ctr
5.285.355.37T:lexv2
5.505.535.58T:simon128256ctr
8.068.248.38T:tpy6
8.898.918.95T:aes128estream
9.789.839.88T:panama
13.7813.8313.87T:aes256estream
13.8113.9214.05T:tpy
14.4914.7915.00T:tpypy
25.7025.7625.83T:hc128
28.1328.3928.79T:ocelot1
28.7829.0129.21T:ocelot2
41.9342.3342.75T:amastrid
58.7258.7658.80T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.553.573.58chacha8
3.763.783.80salsa208
4.164.234.27T:speck6496ctr
4.254.254.26T:speck64128ctr
4.444.464.51T:aes128ctr
4.554.584.60chacha12
4.844.844.94T:speck128128ctr
4.864.894.92salsa2012
4.934.995.24T:speck128192ctr
5.245.255.26T:speck128256ctr
6.606.636.66chacha20
6.957.017.08salsa20
6.997.187.25aes256ctr
8.228.258.26T:trivium
8.668.688.70T:simon6496ctr
8.738.839.00T:snow20
8.778.839.11T:rabbit
9.699.839.99T:simon64128ctr
10.5610.7311.01T:aes192ctr
12.1012.1712.39tango642
12.6212.7513.12T:aes128estream
12.6812.7912.89T:cryptmtv3
12.8813.0213.29T:simon128128ctr
13.0413.1413.26xsalsa20
13.2813.5013.77T:lexv2
14.5814.7114.92T:simon128256ctr
16.3516.5516.68T:nlsv2
18.9519.0119.15T:aes256estream
20.6320.7120.83T:sosemanuk
48.4550.5751.31T:tpy6
63.4563.9064.58T:panama
96.6197.9598.37T:tpypy
103.23103.88108.93T:tpy
112.57113.57114.77T:ocelot1
113.96115.44118.34T:ocelot2
119.06119.79120.51T:amastrid
209.91210.35210.62T:hc128
508.58508.92509.33T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
19.5019.5020.09T:speck6496ctr
20.8820.8821.46T:speck64128ctr
22.4122.6024.29T:speck128192ctr
23.4523.7724.70T:speck128256ctr
23.8624.2726.51T:speck128128ctr
34.4834.6835.23T:aes128ctr
40.5841.6144.08chacha8
42.0542.2042.96aes256ctr
44.6645.8547.15salsa208
45.9046.3347.80salsa2012
50.2350.4850.62T:simon6496ctr
50.5150.7351.55chacha12
52.2152.4252.80T:trivium
55.5655.9757.27T:rabbit
56.4056.6457.02T:aes128estream
56.2656.8058.51T:simon64128ctr
69.6870.6471.53T:snow20
72.6872.7673.33chacha20
75.2475.7776.43T:aes256estream
76.9177.3278.03salsa20
77.8479.1081.34T:simon128128ctr
80.6481.1181.79T:cryptmtv3
80.5781.9983.71T:lexv2
81.4482.7784.14T:nlsv2
82.5883.9385.56T:aes192ctr
88.7588.8492.93T:simon128256ctr
93.5794.0395.41tango642
125.25125.95126.70xsalsa20
165.94166.48168.33T:sosemanuk
368.32375.12386.34T:tpy6
499.28502.54507.00T:panama
727.55745.20748.11T:tpypy
773.85796.28805.35T:ocelot1
790.01799.68814.58T:amastrid
766.27799.88808.80T:ocelot2
813.12827.65832.54T:tpy
1674.671678.001682.86T:hc128
4075.324079.994093.91T:hc256