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; Bonnell (106ca); 2010 Intel Atom N455; 1 x 1000MHz; h2atom, supercop-20240107

[Page version: 20240719 07:49: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
3.213.213.21chacha8
3.443.443.44tango642
3.693.693.69salsa208
4.214.214.22chacha12
4.834.834.83salsa2012
6.216.226.22chacha20
6.406.406.41T:hc128
6.456.466.47T:cryptmtv3
7.027.027.02salsa20
7.027.027.02xsalsa20
7.277.317.47T:panama
7.307.397.42T:tpy
7.447.447.44T:trivium
7.497.507.50T:tpy6
8.268.268.27T:sosemanuk
9.039.079.09T:hc256
9.119.129.12T:snow20
12.0712.1012.15T:tpypy
12.1112.1312.15T:speck6496ctr
12.2612.2612.27T:nlsv2
12.6112.6212.62T:speck64128ctr
14.5014.5014.50T:rabbit
17.6117.6417.64T:lexv2
19.2419.2419.25T:speck128128ctr
19.3319.3319.36T:simon6496ctr
19.5419.5419.54T:speck128192ctr
20.0020.0020.01T:speck128256ctr
20.4720.4720.48T:simon64128ctr
27.7827.8227.83T:aes128estream
30.0530.0530.07T:simon128128ctr
33.5633.5733.64T:simon128256ctr
40.1840.2140.28T:aes256estream
48.6348.8048.85T:aes128ctr
59.8860.0560.69T:aes192ctr
61.4061.4161.44T:ocelot1
62.0462.1162.15T:ocelot2
71.0971.4071.65T:aes256ctr
124.85126.83127.58T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
3.263.263.26chacha8
3.743.743.74salsa208
4.114.114.11tango642
4.264.264.26chacha12
4.874.874.87salsa2012
6.266.266.27chacha20
7.067.067.06salsa20
7.317.317.31xsalsa20
7.387.397.39T:cryptmtv3
7.757.757.75T:trivium
8.708.708.70T:sosemanuk
8.948.948.94T:tpy6
9.419.429.42T:snow20
9.879.899.91T:panama
10.8110.8210.84T:tpy
12.2412.2412.26T:speck6496ctr
12.6612.6612.66T:nlsv2
12.7312.7412.74T:speck64128ctr
14.8714.8714.87T:rabbit
15.1715.1815.21T:tpypy
16.2416.2416.24T:hc128
18.0218.0418.04T:lexv2
19.3519.3519.35T:speck128128ctr
19.6419.6419.65T:speck128192ctr
20.1120.1120.12T:speck128256ctr
20.1620.1620.18T:simon6496ctr
21.5021.5021.50T:simon64128ctr
27.9827.9827.99T:aes128estream
31.3331.3331.34T:simon128128ctr
32.9432.9432.95T:hc256
37.6437.6437.70T:simon128256ctr
40.4040.4240.47T:aes256estream
50.7650.7850.79T:aes128ctr
62.0962.1262.51T:aes192ctr
65.2765.2765.29T:ocelot1
66.0266.0466.06T:ocelot2
73.4373.4573.61T:aes256ctr
129.21129.26129.59T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
3.35?3.35?5.00?chacha8
3.833.833.83salsa208
4.354.354.35chacha12
4.95?4.95?7.56?salsa2012
5.235.235.23tango642
6.356.356.35chacha20
7.147.147.14salsa20
7.817.817.81xsalsa20
8.278.278.27T:trivium
9.599.609.60T:cryptmtv3
9.619.619.61T:sosemanuk
9.899.909.90T:snow20
11.3411.3411.36T:tpy6
12.4412.4412.45T:speck6496ctr
12.9312.9312.96T:speck64128ctr
13.5613.5713.57T:nlsv2
13.9414.1514.22T:panama
15.4815.4815.49T:rabbit
16.5116.5216.52T:tpy
18.7118.7118.71T:lexv2
19.5219.5219.53T:speck128128ctr
19.8219.8219.84T:speck128192ctr
20.2920.3020.34T:tpypy
20.3020.3120.32T:speck128256ctr
21.5421.5521.55T:simon6496ctr
23.2023.2023.22T:simon64128ctr
28.2428.3128.31T:aes128estream
32.6232.6232.63T:hc128
33.4433.4533.46T:simon128128ctr
40.7240.7340.85T:aes256estream
44.4344.4344.57T:simon128256ctr
53.8754.0454.43T:aes128ctr
65.2565.5365.92T:aes192ctr
71.6971.7171.81T:ocelot1
72.6072.6672.67T:ocelot2
72.7072.7472.79T:hc256
76.7376.8877.30T:aes256ctr
131.82136.06140.76T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
3.593.593.59chacha8
4.154.154.15salsa208
4.614.614.61chacha12
5.165.165.16salsa2012
6.656.656.65chacha20
7.357.357.35salsa20
8.228.228.24tango642
9.149.149.14xsalsa20
9.669.669.66T:trivium
11.2211.2211.22T:snow20
11.2711.3011.31T:cryptmtv3
12.0612.0612.06T:sosemanuk
12.7712.7712.77T:speck6496ctr
13.2813.2813.28T:speck64128ctr
15.6715.6915.69T:nlsv2
17.1217.1217.12T:rabbit
17.7317.7717.77T:tpy6
20.0520.0520.05T:speck128128ctr
20.3520.3520.35T:speck128192ctr
20.5720.5720.58T:lexv2
20.85?20.86?26.73?T:speck128256ctr
25.0125.6425.73T:panama
27.6527.6627.68T:simon6496ctr
29.0129.0129.01T:aes128estream
31.7331.7531.76T:tpy
32.7432.7432.75T:simon64128ctr
34.2034.2634.43T:tpypy
41.7041.7041.77T:aes256estream
62.6862.9664.04T:aes128ctr
64.2464.2464.25T:simon128128ctr
67.2367.2367.24T:simon128256ctr
74.0774.4475.55T:aes192ctr
76.3676.3876.39T:hc128
86.0786.2187.06T:aes256ctr
88.8388.8588.86T:ocelot1
90.1590.2190.36T:ocelot2
152.68157.21158.32T:amastrid
178.82178.82178.82T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
5.895.895.89chacha8
7.027.027.12salsa208
7.087.087.08chacha12
7.42?7.42?10.06?salsa2012
9.479.479.48chacha20
9.619.619.61salsa20
16.8416.8416.84T:speck6496ctr
17.5217.5217.52T:speck64128ctr
25.7825.7825.78xsalsa20
25.9425.9425.94T:speck128128ctr
26.3626.3626.36T:speck128192ctr
27.0227.0227.12T:speck128256ctr
27.2027.2027.20T:trivium
28.3328.3428.34T:snow20
31.1731.4731.53T:cryptmtv3
33.0633.1733.17T:simon6496ctr
35.8835.8836.03T:simon64128ctr
37.7037.7037.70T:sosemanuk
37.7737.7737.77T:rabbit
38.8338.8338.83T:aes128estream
43.5343.5343.53T:lexv2
45.9146.1446.14tango642
48.0048.1448.19T:nlsv2
51.7851.7851.78T:simon128128ctr
54.0554.0554.05T:aes256estream
58.4458.4458.44T:simon128256ctr
98.7398.8499.23T:tpy6
169.03172.75173.86T:panama
174.62175.20177.28T:aes128ctr
185.92188.23190.83T:aes192ctr
203.20?206.91?343.56?T:aes256ctr
212.58212.59212.73T:tpypy
226.30226.53226.67T:tpy
308.39308.41308.48T:ocelot1
314.38314.45314.75T:ocelot2
414.12416.47418.62T:amastrid
635.67635.67635.92T:hc128
1536.811536.811537.19T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
43.5043.5043.50T:speck64128ctr
45.5045.5046.38T:speck128256ctr
46.7546.7546.75T:speck6496ctr
48.1248.1248.12T:speck128192ctr
49.6249.6249.62T:speck128128ctr
57.7557.7557.75chacha8
67.2567.2567.25chacha12
70.0070.0070.00salsa2012
85.8885.8885.88chacha20
87.5087.5087.50salsa20
95.2596.1296.12T:simon6496ctr
112.75112.75112.75T:simon64128ctr
133.12133.12133.12salsa208
145.75145.75145.75T:simon128128ctr
148.50148.50150.25T:aes128estream
163.25163.25163.25T:trivium
187.75187.88189.50T:simon128256ctr
196.00196.00197.75T:aes256estream
200.38202.75203.25T:cryptmtv3
216.62216.62216.62xsalsa20
218.12218.12218.12T:rabbit
219.25220.62221.00T:nlsv2
225.00225.12225.12T:snow20
227.50227.50227.50T:lexv2
295.75295.75295.75T:sosemanuk
349.50351.38351.38tango642
740.00741.25742.25T:tpy6
1152.881169.881185.00T:aes128ctr
1174.501186.001197.50T:aes192ctr
1229.121241.121251.50T:aes256ctr
1385.881394.751408.88T:panama
1621.381622.621623.88T:tpypy
1774.121776.121776.50T:tpy
2036.882037.122039.25T:ocelot1
2081.502083.882084.00T:ocelot2
2671.882697.502732.75T:amastrid
5093.755094.625095.38T:hc128
12299.5012300.3812300.38T:hc256