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; K10 45nm (100f63); 2010 AMD Athlon II Neo K125; 1 x 1700MHz; h3neo, supercop-20251222

[Page version: 20260319 20:29:27]

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
1.211.211.23tango642
2.812.822.82chacha8
2.882.892.90T:hc128
3.443.463.47salsa208
3.473.483.49T:tpy6
3.593.603.60T:tpy
3.963.963.97chacha12
4.014.034.04T:nlsv2
4.054.084.16T:sosemanuk
4.154.184.19T:hc256
4.194.194.19T:trivium
4.134.204.22T:snow20
4.324.364.42T:panama
4.464.464.47T:rabbit
4.824.834.84salsa2012
4.964.974.98T:lexv2
5.155.275.27T:cryptmtv3
5.815.815.82T:tpypy
6.236.246.24chacha20
7.477.487.49xsalsa20
7.477.497.52salsa20
10.2310.2710.31T:aes128estream
19.3719.4019.42T:aes256estream
27.8127.8629.18T:aes128ctr
28.9529.4930.29T:ocelot1
31.1931.3731.59T:aes192ctr
32.1233.0133.40T:ocelot2
34.7834.9735.11T:aes256ctr
53.6054.4455.76T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.461.461.48tango642
2.842.842.85chacha8
3.473.483.49salsa208
3.993.993.99chacha12
4.284.294.30T:nlsv2
4.274.314.32T:snow20
4.324.344.39T:sosemanuk
4.354.354.35T:trivium
4.464.474.48T:tpy6
4.594.594.59T:rabbit
4.864.864.87salsa2012
5.135.135.14T:lexv2
5.615.615.61T:tpy
5.645.655.69T:panama
5.946.026.02T:cryptmtv3
6.276.276.27chacha20
7.517.527.54salsa20
7.537.537.54T:hc128
7.647.647.64xsalsa20
7.847.847.85T:tpypy
10.3110.3310.36T:aes128estream
16.4516.4616.46T:hc256
19.5119.5219.52T:aes256estream
28.3628.3929.37T:aes128ctr
31.2831.4131.99T:ocelot1
31.8631.8932.04T:aes192ctr
34.3034.9535.17T:ocelot2
35.4535.5335.60T:aes256ctr
56.2256.7957.45T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.881.881.89tango642
2.892.892.89chacha8
3.503.513.52salsa208
4.034.034.04chacha12
4.474.514.51T:snow20
4.634.634.63T:trivium
4.804.804.81T:rabbit
4.844.854.89T:sosemanuk
4.904.914.92salsa2012
5.015.025.02T:nlsv2
5.415.415.42T:lexv2
6.106.116.13T:tpy6
6.326.326.33chacha20
7.557.577.75T:cryptmtv3
7.567.577.60salsa20
7.807.837.86T:panama
7.907.917.91xsalsa20
8.968.968.97T:tpy
10.4210.4610.48T:aes128estream
11.2111.2211.24T:tpypy
15.2615.2615.26T:hc128
19.7119.7419.75T:aes256estream
29.2729.3229.34T:aes128ctr
32.7532.8332.88T:aes192ctr
34.4334.9134.95T:ocelot1
36.3536.5036.58T:aes256ctr
36.9136.9236.93T:hc256
37.5737.6838.18T:ocelot2
59.2959.8260.63T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.972.972.98tango642
3.273.283.30chacha8
3.603.613.62salsa208
4.594.594.63chacha12
4.995.025.06T:snow20
5.305.305.31salsa2012
5.355.365.38T:rabbit
5.375.375.38T:trivium
6.146.176.20T:lexv2
6.276.286.36T:sosemanuk
6.496.516.53T:nlsv2
7.237.247.28chacha20
8.168.188.24salsa20
8.908.918.93T:cryptmtv3
9.059.069.07xsalsa20
10.4510.4610.50T:tpy6
10.7110.7310.78T:aes128estream
13.5913.6213.67T:panama
17.8817.9117.92T:tpy
20.2620.2820.32T:aes256estream
20.2520.4422.40T:tpypy
31.69?31.81?38.48?T:aes128ctr
35.19?35.29?41.32?T:aes192ctr
35.9335.9736.01T:hc128
38.8139.0639.21T:aes256ctr
43.6543.7544.27T:ocelot1
46.9647.0147.11T:ocelot2
69.0169.8171.07T:amastrid
91.4491.4591.48T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.624.624.64salsa208
6.556.566.75chacha8
8.548.568.56salsa2012
9.259.289.59chacha12
11.8411.9311.97T:snow20
12.2012.2112.23T:rabbit
13.0213.0313.11salsa20
14.4214.5214.62T:aes128estream
14.5814.5814.71T:trivium
14.6414.6414.75chacha20
15.0815.1515.23T:lexv2
16.6016.6217.01tango642
20.1920.1920.22T:cryptmtv3
20.8221.0121.09xsalsa20
22.4522.4922.79T:sosemanuk
27.2127.2427.28T:aes256estream
32.5732.6832.88T:nlsv2
61.7862.1262.37T:aes128ctr
63.1263.4765.06T:aes192ctr
65.8265.9366.30T:tpy6
69.6570.4872.26T:aes256ctr
87.2387.4887.64T:panama
131.79131.97132.16T:tpy
135.57135.62136.20T:tpypy
159.68159.83160.01T:ocelot2
163.40163.63163.77T:ocelot1
195.69198.35198.94T:amastrid
300.00300.39300.45T:hc128
789.93790.18790.36T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
42.2542.2642.40salsa208
55.0055.3456.44T:aes128estream
57.0357.1260.62chacha8
70.9471.0871.19salsa2012
72.8872.9373.24T:rabbit
78.7579.8183.48chacha12
87.6287.6387.75T:trivium
89.1289.1290.39T:lexv2
92.2192.9194.75T:snow20
102.90103.39104.00T:aes256estream
106.88107.07107.79salsa20
107.56108.31109.14T:cryptmtv3
119.12120.42123.71chacha20
124.12124.60127.12tango642
147.55148.16149.48T:nlsv2
168.91169.00169.12xsalsa20
177.50177.50180.58T:sosemanuk
331.16335.23346.65T:aes128ctr
329.85335.84337.61T:aes192ctr
356.79363.14376.04T:aes256ctr
504.42505.60508.37T:tpy6
687.57690.73698.55T:panama
1029.091029.571031.12T:tpy
1046.791048.211050.04T:tpypy
1048.241050.241051.56T:ocelot2
1108.931110.511115.01T:ocelot1
1311.141323.951365.12T:amastrid
2397.472398.282398.74T:hc128
6313.046315.886317.65T:hc256