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; Core 2 65nm (6fb); 2007 Intel Core 2 Duo T7300; 2 x 2000MHz; trident, supercop-20240425

[Page version: 20240726 23:46: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, the median of many speed measurements, the third quartile of many speed measurements, and the name of the primitive. Measurements with large variance 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.


Implementation notes

Graphs: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.191.211.22tango642
1.701.701.70chacha8
1.972.002.00salsa208
2.272.272.27chacha12
2.462.482.54T:hc128
2.622.642.68salsa2012
2.802.802.81T:trivium
3.233.323.53T:tpy6
3.363.363.38chacha20
3.413.423.42T:speck6496ctr
3.423.453.48T:tpy
3.543.553.55T:speck64128ctr
3.653.673.72T:sosemanuk
3.703.723.75T:cryptmtv3
3.723.753.80T:hc256
3.58?3.78?3.99?T:nlsv2
3.933.953.96T:snow20
3.983.994.00xsalsa20
3.984.014.04salsa20
4.204.224.26T:panama
4.474.494.52T:rabbit
4.724.724.74T:speck128128ctr
4.854.864.91T:speck128192ctr
5.005.005.02T:speck128256ctr
5.005.125.33T:tpypy
5.795.815.83T:lexv2
6.206.226.23T:simon6496ctr
6.376.416.44T:simon64128ctr
9.729.729.73T:simon128128ctr
10.2310.2310.23T:simon128256ctr
10.5710.6110.62T:aes128estream
17.1817.1917.20T:aes256estream
22.3922.5222.70T:aes128ctr
24.9225.0225.17T:aes192ctr
25.0125.5926.71T:ocelot1
27.4228.1029.04T:aes256ctr
28.4428.9229.77T:ocelot2
41.58?45.80?47.53?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.451.461.46tango642
1.731.731.73chacha8
2.012.022.02salsa208
2.302.302.30chacha12
2.672.682.70salsa2012
2.932.942.94T:trivium
3.393.393.40chacha20
3.463.463.46T:speck6496ctr
3.593.603.60T:speck64128ctr
4.014.024.05T:sosemanuk
4.034.054.06salsa20
4.054.064.21T:nlsv2
4.084.094.10T:snow20
4.134.134.14xsalsa20
4.174.234.36T:tpy6
4.334.344.35T:cryptmtv3
4.664.664.68T:rabbit
4.794.794.80T:speck128128ctr
4.924.924.96T:speck128192ctr
4.944.964.98T:tpy
5.065.075.08T:speck128256ctr
5.605.615.61T:panama
5.985.996.00T:lexv2
6.516.526.53T:simon6496ctr
6.726.796.87T:tpypy
6.876.896.90T:simon64128ctr
7.207.217.25T:hc128
10.0910.1010.10T:simon128128ctr
10.6710.6810.69T:aes128estream
11.7311.7311.73T:simon128256ctr
15.7115.7215.74T:hc256
17.3117.3117.31T:aes256estream
23.0123.0723.16T:aes128ctr
25.5325.5825.66T:aes192ctr
27.2727.4328.20T:ocelot1
28.2628.5429.18T:aes256ctr
30.9631.1831.72T:ocelot2
44.9447.9248.68T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.781.781.78chacha8
1.871.871.88tango642
2.052.052.08salsa208
2.352.352.35chacha12
2.722.752.75salsa2012
3.173.173.19T:trivium
3.443.443.45chacha20
3.523.543.55T:speck6496ctr
3.683.683.68T:speck64128ctr
4.094.104.13salsa20
4.334.334.33T:snow20
4.374.384.41xsalsa20
4.664.664.68T:sosemanuk
4.744.765.15T:nlsv2
4.904.904.91T:speck128128ctr
4.964.974.97T:rabbit
5.015.015.05T:speck128192ctr
5.175.175.17T:speck128256ctr
5.705.715.75T:cryptmtv3
5.655.785.84T:tpy6
6.306.316.32T:lexv2
7.017.027.04T:simon6496ctr
7.437.557.66T:tpy
7.647.697.71T:simon64128ctr
7.887.958.00T:panama
9.429.6510.17T:tpypy
10.7110.7210.74T:simon128128ctr
10.7910.7910.80T:aes128estream
14.2414.2414.25T:simon128256ctr
15.0615.1015.14T:hc128
17.5117.5517.56T:aes256estream
23.9124.0424.09T:aes128ctr
26.3926.4426.51T:aes192ctr
28.9829.2629.91T:aes256ctr
30.8231.2931.49T:ocelot1
34.7234.8335.04T:ocelot2
35.6235.6835.80T:hc256
50.9053.2253.46T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.042.042.04chacha8
2.252.252.32salsa208
2.682.682.68chacha12
3.023.023.05tango642
3.023.023.02salsa2012
3.763.763.78T:trivium
3.833.833.84T:speck6496ctr
3.963.963.96chacha20
3.963.963.97T:speck64128ctr
4.494.524.56salsa20
4.974.974.99T:snow20
5.245.245.27xsalsa20
5.255.255.26T:speck128128ctr
5.345.345.36T:speck128192ctr
5.525.525.52T:speck128256ctr
5.685.705.80T:rabbit
6.27?6.29?7.32?T:nlsv2
6.446.466.50T:sosemanuk
6.746.766.81T:cryptmtv3
7.157.177.17T:lexv2
9.059.079.27T:tpy6
9.279.359.39T:simon6496ctr
11.1311.1311.14T:aes128estream
13.6413.8713.93T:panama
14.0714.1814.21T:tpy
16.7616.8418.35T:tpypy
18.0418.0618.08T:aes256estream
18.5518.5618.64T:simon64128ctr
20.5620.6120.72T:simon128128ctr
26.1126.2226.33T:aes128ctr
27.6427.6627.71T:simon128256ctr
28.7328.8829.00T:aes192ctr
31.1631.3931.93T:aes256ctr
36.0636.0836.10T:hc128
40.9941.4441.73T:ocelot1
42.7843.9344.58T:ocelot2
57.5957.7458.45T:amastrid
88.7888.8489.05T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.314.314.33chacha8
4.484.484.48salsa208
5.665.665.66salsa2012
5.665.695.69chacha12
7.257.257.25T:speck6496ctr
7.237.317.31T:speck64128ctr
7.817.847.88salsa20
8.318.318.31chacha20
9.059.069.06T:speck128192ctr
9.259.259.25T:speck128128ctr
9.599.599.59T:speck128256ctr
11.3411.3411.44T:trivium
13.1613.2513.33T:snow20
14.6414.6414.72xsalsa20
15.1915.1915.23T:rabbit
15.6115.6115.61T:aes128estream
15.6416.0316.03T:simon6496ctr
17.0817.0817.86T:lexv2
16.9417.4217.98T:cryptmtv3
17.5917.5917.59T:simon64128ctr
17.6617.6918.14tango642
24.1924.1924.73T:simon128128ctr
25.0625.0625.06T:simon128256ctr
24.9225.0825.17T:aes256estream
26.4426.4427.00T:sosemanuk
31.92?32.00?41.52?T:nlsv2
54.8655.1656.05T:aes128ctr
53.8055.9459.36T:tpy6
57.6658.3058.97T:aes192ctr
60.3660.7261.72T:aes256ctr
88.5289.6691.44T:panama
102.38103.25103.25T:tpy
115.58116.17117.48T:tpypy
146.03148.67157.39T:ocelot2
144.22?154.42?168.14?T:ocelot1
163.33164.03165.20T:amastrid
303.70303.91304.11T:hc128
768.39770.66773.45T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
27.6227.6227.62T:speck6496ctr
28.0028.0028.00T:speck64128ctr
32.1232.1232.12T:speck128192ctr
32.1232.1232.12T:speck128256ctr
32.3834.5034.50T:speck128128ctr
37.7537.7537.75chacha8
48.6248.6248.62chacha12
54.0054.0054.00salsa208
63.6267.7567.75salsa2012
69.6269.6269.62chacha20
71.7572.6273.75T:trivium
74.3880.1280.12T:simon6496ctr
80.6280.6280.62T:aes128estream
81.8881.8881.88salsa20
87.8887.8887.88T:simon64128ctr
98.3898.5099.50T:aes256estream
101.38102.38107.88T:lexv2
103.25103.25104.12T:snow20
99.12103.88105.00T:cryptmtv3
108.88109.00109.12T:rabbit
128.88128.88133.25T:simon128128ctr
135.00135.00135.00T:simon128256ctr
135.00135.12135.12tango642
139.62139.62139.62xsalsa20
151.50?152.00?228.25?T:nlsv2
211.50211.50216.00T:sosemanuk
306.25308.25313.12T:aes128ctr
315.50317.38324.75T:aes192ctr
322.50326.50334.75T:aes256ctr
449.12449.50452.25T:tpy6
698.88703.12704.38T:panama
807.75814.88819.62T:tpy
821.38839.75840.62T:tpypy
988.621066.381095.00T:ocelot2
970.62?1098.25?1128.00?T:ocelot1
1108.251122.751131.38T:amastrid
2427.252429.882430.88T:hc128
6153.506157.506177.38T:hc256