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 32nm (300f10); 2011 AMD A6-3650; 4 x 2600MHz; hydra4, supercop-20250307

[Page version: 20250419 00:25:54]

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.


Test results

Graphs: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.111.131.14tango642
1.741.751.76chacha8
1.951.951.97salsa208
2.462.462.47chacha12
2.762.772.78T:hc128
2.762.772.77salsa2012
3.653.673.71T:hc256
3.713.763.80T:tpy
3.763.773.78T:cryptmtv3
3.823.823.83T:nlsv2
3.853.893.91chacha20
3.994.004.03T:snow20
3.994.014.03T:sosemanuk
4.064.064.08T:trivium
4.144.164.17T:panama
4.154.164.17T:tpy6
4.224.244.24T:rabbit
4.314.334.34salsa20
4.334.344.34xsalsa20
4.684.684.71T:lexv2
5.875.905.92T:tpypy
9.669.679.69T:aes128estream
17.1017.1117.13T:aes256estream
21.7622.1822.32T:aes128ctr
25.0725.1825.24T:aes192ctr
27.8527.9028.02T:aes256ctr
26.90?29.39?31.17?T:ocelot1
29.8729.9630.17T:ocelot2
49.5051.8952.29T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.361.371.38tango642
1.781.781.78chacha8
1.981.981.99salsa208
2.492.492.49chacha12
2.802.802.80salsa2012
3.913.933.94chacha20
4.074.074.07T:nlsv2
4.124.124.14T:snow20
4.224.224.23T:trivium
4.254.264.27T:sosemanuk
4.344.364.36salsa20
4.374.374.37T:rabbit
4.384.394.40T:cryptmtv3
4.464.474.47xsalsa20
4.854.854.86T:lexv2
5.175.185.18T:tpy6
5.395.405.41T:panama
5.705.745.74T:tpy
7.207.207.20T:hc128
7.827.837.83T:tpypy
9.759.759.75T:aes128estream
15.3815.4015.41T:hc256
17.2217.2217.23T:aes256estream
22.1522.4022.46T:aes128ctr
25.2925.3725.38T:aes192ctr
28.2028.2228.27T:aes256ctr
30.4731.3232.53T:ocelot1
31.9031.9632.07T:ocelot2
53.0054.2754.50T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.771.771.78tango642
1.821.821.83chacha8
2.022.032.03salsa208
2.542.542.55chacha12
2.842.852.85salsa2012
3.983.994.02chacha20
4.324.334.35T:snow20
4.394.404.41salsa20
4.494.494.49T:trivium
4.584.584.60T:rabbit
4.684.684.68xsalsa20
4.714.714.72T:nlsv2
4.754.754.76T:sosemanuk
5.125.135.14T:lexv2
6.026.026.03T:cryptmtv3
6.886.886.89T:tpy6
7.477.477.49T:panama
8.939.029.03T:tpy
9.839.849.88T:aes128estream
10.9811.0111.05T:tpypy
14.5614.5614.56T:hc128
17.4217.4617.46T:aes256estream
22.5722.7222.80T:aes128ctr
25.4525.6225.73T:aes192ctr
28.8028.8228.86T:aes256ctr
33.9034.5035.94T:ocelot1
34.8934.8934.91T:hc256
35.1735.2535.41T:ocelot2
58.5258.8859.49T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.102.102.11chacha8
2.272.282.29salsa208
2.872.872.88tango642
2.942.942.95chacha12
3.163.163.17salsa2012
4.644.674.69chacha20
4.814.824.84T:snow20
4.904.904.91salsa20
5.165.165.17T:rabbit
5.205.205.27T:trivium
5.635.635.66xsalsa20
5.835.845.85T:lexv2
6.086.096.10T:nlsv2
6.176.186.19T:sosemanuk
6.796.806.80T:cryptmtv3
10.1110.1910.19T:aes128estream
11.3611.3611.45T:tpy6
12.9913.0113.04T:panama
17.5817.5817.76T:tpy
17.9017.9518.09T:aes256estream
19.5519.5619.56T:tpypy
23.7123.7123.99T:aes128ctr
26.6426.6526.66T:aes192ctr
29.7629.8329.97T:aes256ctr
34.2634.2634.28T:hc128
43.1043.3644.80T:ocelot1
43.9444.0544.11T:ocelot2
67.8069.0569.81T:amastrid
86.9286.9486.94T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.504.564.75salsa208
4.784.784.78chacha8
5.755.785.89salsa2012
6.706.706.75chacha12
8.708.708.81salsa20
10.5310.5310.55chacha20
11.3311.4111.48T:snow20
12.2512.3012.30T:rabbit
13.9114.0014.11T:aes128estream
14.0614.0614.72T:trivium
14.5014.5614.69T:lexv2
15.3115.3615.38xsalsa20
16.6116.6416.89tango642
17.1117.1417.23T:cryptmtv3
21.8921.9522.00T:sosemanuk
24.2824.4824.59T:aes256estream
30.3030.7030.70T:nlsv2
37.4538.2339.34T:aes128ctr
39.8639.8640.72T:aes192ctr
43.3943.6644.61T:aes256ctr
68.6968.9569.25T:tpy6
83.4583.5583.72T:panama
128.22128.58130.22T:tpy
128.25128.72129.69T:tpypy
156.31156.67156.98T:ocelot2
156.73159.03159.12T:ocelot1
191.42192.06193.33T:amastrid
286.47286.56286.56T:hc128
752.88753.05753.17T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
42.62?42.75?47.88?chacha8
43.5043.6244.12salsa208
57.5057.6257.75T:aes128estream
57.5057.6262.25chacha12
74.6274.6274.62T:rabbit
75.7575.7577.62salsa2012
80.7580.8880.88salsa20
82.8883.3884.25T:lexv2
83.5083.6288.25T:trivium
84.6284.6290.00chacha20
87.3889.6290.12T:snow20
94.5094.8896.00T:aes256estream
100.12100.62100.88T:cryptmtv3
125.50125.88126.38tango642
135.75135.88135.88xsalsa20
135.75136.25136.50T:nlsv2
166.12167.00177.62T:aes192ctr
164.00172.75179.00T:aes128ctr
172.75173.12173.38T:sosemanuk
180.75188.75190.50T:aes256ctr
519.00520.38523.88T:tpy6
663.12663.75666.25T:panama
985.00985.88986.12T:tpypy
996.12996.38998.88T:tpy
1046.001077.381078.38T:ocelot1
1078.751088.381089.12T:ocelot2
1256.881270.751283.25T:amastrid
2288.122289.622291.50T:hc128
6018.386020.626022.12T:hc256