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: mipso32; Octeon II (cnmips64v2); 2011 Cavium Octeon II CN6120; 2 x 2000MHz; gcc23, supercop-20230530

[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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
13.69?13.71?15.52?T:nlsv2
15.5615.5717.25T:sosemanuk
17.2617.3218.02chacha8
17.4317.4418.24salsa208
17.5917.6119.22tango642
20.2120.2522.25T:tpy
20.2420.2520.54T:tpy6
20.5220.5421.36chacha12
20.6220.6221.50salsa2012
21.4321.4421.45T:cryptmtv3
23.06?24.86?27.60?T:panama
25.1526.0026.02T:tpypy
26.9726.9727.01chacha20
27.0027.0027.03salsa20
27.0027.0027.86xsalsa20
43.4443.4944.27T:aes128estream
59.4260.3561.27T:aes256estream
85.6087.3389.80T:aes128ctr
96.9798.75100.37T:aes192ctr
108.21111.25111.29T:aes256ctr
130.42131.75132.63T:ocelot1
136.71137.19137.22T:ocelot2
213.36218.01223.13T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
14.7414.7416.10T:nlsv2
17.5917.5918.12chacha8
17.7117.7118.31salsa208
18.7118.7219.94T:sosemanuk
20.1720.1821.38tango642
20.8020.8121.42chacha12
20.9020.9021.56salsa2012
23.1823.1823.39T:tpy6
25.3825.3925.39T:cryptmtv3
27.2427.2527.27chacha20
27.2727.2727.30salsa20
27.6427.6428.29xsalsa20
27.6527.6629.15T:tpy
32.0532.0634.10T:panama
33.8333.8333.84T:tpypy
43.9343.9444.52T:aes128estream
60.8460.8461.52T:aes256estream
89.8989.9091.63T:aes128ctr
101.05101.08102.08T:aes192ctr
112.96113.68113.70T:aes256ctr
137.36137.38138.02T:ocelot1
142.81142.81142.82T:ocelot2
221.08224.08225.71T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
17.1317.1417.15T:nlsv2
18.0418.0418.05chacha8
18.1718.1718.18salsa208
21.2621.2621.30chacha12
21.3621.3621.36salsa2012
24.2624.2824.50T:sosemanuk
24.4624.4724.48tango642
27.7027.7127.74chacha20
27.7327.7327.76salsa20
28.0628.0728.10T:tpy6
28.7128.7128.76xsalsa20
34.2534.2634.31T:cryptmtv3
40.0040.0040.71T:tpy
44.0344.0547.65T:panama
44.7444.7646.04T:aes128estream
46.8746.8846.91T:tpypy
61.7161.7361.76T:aes256estream
93.8893.9994.62T:aes128ctr
104.48105.30108.75T:aes192ctr
117.69117.74121.79T:aes256ctr
146.72146.77149.58T:ocelot1
152.16152.17153.28T:ocelot2
221.12235.42236.23T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
19.2519.2519.25chacha8
19.3819.3819.41salsa208
22.4822.4822.50chacha12
22.5722.5722.60salsa2012
22.6322.6522.71T:nlsv2
28.9228.9228.95chacha20
28.9528.9529.06salsa20
31.5731.5731.57xsalsa20
35.8535.8735.89tango642
39.0739.1239.13T:sosemanuk
41.0341.0841.09T:tpy6
41.2541.2841.62T:cryptmtv3
46.6946.9046.98T:aes128estream
63.8563.8664.25T:aes256estream
72.8972.9273.06T:tpy
75.9576.0176.19T:panama
81.6681.6883.56T:tpypy
104.59104.87115.40T:aes128ctr
113.61114.56125.43T:aes192ctr
128.45128.56138.98T:aes256ctr
171.68171.80178.90T:ocelot1
177.09177.13184.43T:ocelot2
262.15267.44270.12T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
34.5634.5634.56chacha8
34.7234.7234.94salsa208
37.8137.8138.00chacha12
37.9437.9438.16salsa2012
44.3144.3144.31chacha20
44.3144.3144.75salsa20
67.9167.9167.91xsalsa20
72.5072.5672.66T:aes128estream
91.8892.1992.34T:aes256estream
110.56110.69110.81T:nlsv2
115.19115.47115.62T:cryptmtv3
181.69181.88182.22tango642
207.59207.72211.16T:tpy6
209.00209.06210.16T:sosemanuk
230.50230.88232.41T:aes192ctr
239.84241.03248.19T:aes128ctr
266.28266.56267.50T:aes256ctr
484.44484.94485.44T:panama
491.03492.12492.59T:ocelot1
494.09494.19494.59T:tpy
495.88496.19497.06T:ocelot2
526.91527.03527.81T:tpypy
688.66688.78727.16T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
255.75255.75255.75chacha8
257.00257.00258.75salsa208
281.75281.75281.75chacha12
282.75282.75284.50salsa2012
313.50313.75314.25T:aes128estream
333.75333.75333.75chacha20
333.75333.75333.75salsa20
366.50367.75369.50T:aes256estream
524.00524.00524.00xsalsa20
576.25576.25578.75T:nlsv2
718.00721.00724.25T:cryptmtv3
1217.251218.251219.25tango642
1247.751261.751268.00T:aes192ctr
1375.501399.751411.00T:aes128ctr
1467.251470.501473.75T:aes256ctr
1514.251517.751518.25T:tpy6
1647.501653.501660.75T:sosemanuk
3021.003023.253032.75T:ocelot1
3022.253027.003028.75T:ocelot2
3778.503779.753857.00T:panama
3808.503810.753816.50T:tpy
4032.504033.504047.00T:tpypy
4360.504379.754443.25T:amastrid