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-20241022

[Page version: 20241215 22:59:29]

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.101.101.11tango642
1.741.751.76chacha8
1.961.971.97salsa208
2.462.462.47chacha12
2.742.762.77T:hc128
2.762.772.78salsa2012
3.663.693.71T:hc256
3.653.693.73T:tpy
3.753.753.75T:cryptmtv3
3.813.823.85T:nlsv2
3.873.883.89chacha20
3.883.924.04T:tpy6
3.983.994.01T:snow20
3.994.034.10T:sosemanuk
4.064.064.06T:trivium
4.124.164.18T:panama
4.234.244.24T:rabbit
4.374.374.38xsalsa20
4.404.404.40salsa20
4.694.704.71T:lexv2
5.845.905.93T:tpypy
9.659.699.77T:aes128estream
17.1017.1117.12T:aes256estream
21.7721.8522.03T:aes128ctr
24.7125.1925.73T:aes192ctr
28.1428.2928.44T:aes256ctr
28.4129.6129.93T:ocelot1
30.1830.4131.34T:ocelot2
53.2654.6855.86T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.351.351.36tango642
1.771.781.79chacha8
1.991.992.00salsa208
2.492.492.49chacha12
2.792.802.80salsa2012
3.913.913.92chacha20
4.064.064.08T:nlsv2
4.114.124.13T:snow20
4.224.224.22T:trivium
4.254.274.32T:sosemanuk
4.364.364.36T:rabbit
4.374.384.38T:cryptmtv3
4.434.434.43salsa20
4.504.514.51xsalsa20
4.864.864.87T:lexv2
4.995.015.05T:tpy6
5.395.405.41T:panama
5.635.655.67T:tpy
7.197.197.19T:hc128
7.797.837.85T:tpypy
9.759.759.81T:aes128estream
15.3915.4015.41T:hc256
17.2217.2217.22T:aes256estream
22.1022.1422.26T:aes128ctr
25.1725.4425.76T:aes192ctr
28.4328.4928.59T:aes256ctr
30.7131.4231.53T:ocelot1
32.3232.4733.16T:ocelot2
55.5356.5957.39T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.771.771.78tango642
1.811.811.82chacha8
2.032.032.04salsa208
2.532.532.54chacha12
2.832.842.85salsa2012
3.963.973.99chacha20
4.314.344.34T:snow20
4.474.474.48salsa20
4.494.494.49T:trivium
4.574.574.58T:rabbit
4.704.714.72T:nlsv2
4.724.724.72xsalsa20
4.744.754.77T:sosemanuk
5.125.145.14T:lexv2
6.026.026.02T:cryptmtv3
6.696.746.85T:tpy6
7.457.467.51T:panama
8.908.929.01T:tpy
9.839.909.92T:aes128estream
11.0111.0511.06T:tpypy
14.5314.5514.57T:hc128
17.4317.4417.48T:aes256estream
22.5122.5722.69T:aes128ctr
25.6725.7926.40T:aes192ctr
28.7028.7128.76T:aes256ctr
33.9134.2034.73T:ocelot1
34.8734.9034.93T:hc256
35.7836.0536.46T:ocelot2
57.1857.6058.20T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.112.112.11chacha8
2.262.272.28salsa208
2.862.862.88tango642
2.942.942.95chacha12
3.163.163.16salsa2012
4.644.664.72chacha20
4.854.854.86T:snow20
4.954.984.98salsa20
5.105.125.12T:rabbit
5.205.205.20T:trivium
5.655.665.68xsalsa20
5.835.865.89T:lexv2
6.056.106.11T:nlsv2
6.146.196.20T:sosemanuk
6.806.806.80T:cryptmtv3
10.1910.1910.19T:aes128estream
11.2611.3711.38T:tpy6
12.9512.9713.32T:panama
17.5117.5317.79T:tpy
17.9317.9618.00T:aes256estream
19.5419.5719.68T:tpypy
23.6223.6524.03T:aes128ctr
26.6426.8727.47T:aes192ctr
29.7729.8130.12T:aes256ctr
34.2134.2334.27T:hc128
42.5943.6644.22T:ocelot1
45.2645.4045.58T:ocelot2
67.7467.8670.44T:amastrid
86.9086.9486.97T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.364.424.66salsa208
4.774.774.77chacha8
5.835.835.89salsa2012
6.696.696.70chacha12
8.538.558.97salsa20
10.5510.5610.56chacha20
11.2511.3111.45T:snow20
11.7311.7511.98T:rabbit
14.0614.0614.06T:trivium
13.9814.1114.30T:aes128estream
14.6214.6614.75T:lexv2
15.3115.3615.36xsalsa20
16.5816.6216.72tango642
17.1117.3317.34T:cryptmtv3
21.8321.8421.95T:sosemanuk
24.4724.6124.67T:aes256estream
30.5630.6430.70T:nlsv2
37.7737.8140.27T:aes128ctr
40.2540.6440.75T:aes192ctr
44.5244.6945.45T:aes256ctr
69.6970.4570.48T:tpy6
82.9183.3185.20T:panama
127.92128.27130.38T:tpy
128.62129.56129.62T:tpypy
156.88158.73160.64T:ocelot1
160.88163.53163.59T:ocelot2
190.94191.73193.83T:amastrid
286.33286.56286.88T:hc128
753.02753.16753.47T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
40.62?40.62?46.50?chacha8
55.3855.3860.75chacha12
59.3859.3859.62T:aes128estream
63.5063.6263.88salsa208
71.8871.8872.00T:rabbit
75.5075.7577.88salsa2012
83.3883.6283.62T:trivium
84.1284.6285.88T:lexv2
85.1285.2587.50chacha20
88.0088.3890.00T:snow20
94.1294.7595.12T:aes256estream
97.5097.6299.38salsa20
100.12100.12100.12T:cryptmtv3
125.62128.00128.50tango642
138.00138.88141.62T:nlsv2
160.50160.50161.50xsalsa20
169.00169.50184.50T:aes128ctr
173.12173.25173.50T:sosemanuk
171.88174.25175.62T:aes192ctr
186.12187.75193.38T:aes256ctr
527.62534.88537.38T:tpy6
657.25661.75678.88T:panama
989.50991.50992.38T:tpypy
996.881000.381015.88T:tpy
1063.751084.751092.00T:ocelot1
1089.751091.381097.25T:ocelot2
1260.001260.751274.00T:amastrid
2288.752290.752292.12T:hc128
6015.626019.506024.38T:hc256