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 A8-3850; 4 x 2900MHz; hydra5, supercop-20240625

[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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.161.161.16tango642
1.731.741.75chacha8
1.901.901.92salsa208
2.452.462.46chacha12
2.712.722.73salsa2012
2.782.802.81T:hc128
3.423.423.44T:cryptmtv3
3.663.673.69T:tpy
3.753.763.77T:tpy6
3.803.843.85T:nlsv2
3.843.863.98T:sosemanuk
3.883.883.89chacha20
3.963.963.98T:hc256
4.004.014.02T:trivium
4.124.144.15T:snow20
4.234.244.24T:rabbit
4.194.244.31T:panama
4.364.374.38salsa20
4.374.374.38xsalsa20
4.694.694.71T:lexv2
5.235.245.26T:tpypy
9.679.689.70T:aes128estream
18.0518.0718.08T:aes256estream
24.5024.8424.98T:aes128ctr
28.1228.3128.38T:aes192ctr
28.5528.9429.23T:ocelot1
29.6730.9331.28T:ocelot2
31.5131.5731.59T:aes256ctr
50.8451.3451.80T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.381.381.38tango642
1.771.781.78chacha8
1.941.941.94salsa208
2.492.492.49chacha12
2.742.752.75salsa2012
3.923.923.93chacha20
4.024.054.05T:nlsv2
4.124.134.21T:sosemanuk
4.174.174.18T:trivium
4.254.264.26T:snow20
4.364.364.36T:rabbit
4.374.374.38T:cryptmtv3
4.394.404.40salsa20
4.514.514.52xsalsa20
4.714.724.72T:tpy6
4.854.854.86T:lexv2
5.555.555.59T:panama
5.575.585.59T:tpy
7.127.127.14T:tpypy
7.297.297.30T:hc128
9.749.749.76T:aes128estream
15.6815.6915.69T:hc256
18.2018.2018.20T:aes256estream
25.1625.2625.37T:aes128ctr
28.6928.8128.83T:aes192ctr
30.7230.9231.11T:ocelot1
32.0632.0732.08T:aes256ctr
32.0732.9432.94T:ocelot2
53.1453.4053.67T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.761.761.76tango642
1.821.821.84chacha8
1.971.981.99salsa208
2.542.542.55chacha12
2.782.792.80salsa2012
3.983.983.99chacha20
4.424.434.48T:snow20
4.434.454.45salsa20
4.454.454.45T:trivium
4.534.534.54T:nlsv2
4.564.574.59T:rabbit
4.624.664.68T:sosemanuk
4.734.744.74xsalsa20
5.115.115.12T:lexv2
6.306.336.33T:tpy6
6.766.766.78T:cryptmtv3
7.707.747.82T:panama
8.758.768.77T:tpy
9.849.849.85T:aes128estream
10.2710.2910.31T:tpypy
14.7814.7914.81T:hc128
18.4118.4118.45T:aes256estream
25.9825.9926.16T:aes128ctr
29.4829.6529.73T:aes192ctr
32.9233.0033.03T:aes256ctr
34.0234.4534.47T:ocelot1
35.1935.2235.26T:hc256
35.9236.2736.29T:ocelot2
56.9357.4458.42T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.112.112.13chacha8
2.242.252.26salsa208
2.702.702.70tango642
2.952.952.95chacha12
3.093.103.11salsa2012
4.654.654.65chacha20
4.914.955.02T:snow20
4.955.025.04salsa20
5.115.125.13T:rabbit
5.195.195.20T:trivium
5.605.605.65T:nlsv2
5.745.745.75xsalsa20
5.815.835.84T:lexv2
6.036.046.15T:sosemanuk
7.847.887.90T:cryptmtv3
10.1410.1510.16T:aes128estream
10.4910.5010.57T:tpy6
13.4413.5713.78T:panama
17.2617.2917.31T:tpy
18.6218.6618.68T:tpypy
18.9318.9719.05T:aes256estream
27.9228.0028.67T:aes128ctr
31.8832.0132.19T:aes192ctr
34.7434.8234.83T:hc128
35.2035.2235.39T:aes256ctr
43.0143.0943.55T:ocelot1
44.6244.8845.15T:ocelot2
63.2866.7467.90T:amastrid
87.3287.3987.41T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.474.524.55salsa208
4.774.774.77chacha8
5.755.755.75salsa2012
6.696.696.69chacha12
8.788.808.81salsa20
10.5210.5310.53chacha20
11.2811.3011.36T:snow20
11.8411.9111.91T:rabbit
14.0514.0514.16T:aes128estream
14.4514.4514.55T:trivium
14.5614.5814.69T:lexv2
14.8914.9415.16tango642
15.9215.9715.97xsalsa20
17.8918.3418.41T:cryptmtv3
21.9122.0022.42T:sosemanuk
22.6622.8022.91T:nlsv2
25.8025.8326.73T:aes256estream
54.9154.9760.45T:aes128ctr
60.2062.0264.53T:aes192ctr
64.2764.4765.84T:aes256ctr
64.6164.8064.88T:tpy6
86.2888.0289.67T:panama
125.56125.77125.92T:tpy
125.75125.81126.17T:tpypy
159.42160.09161.67T:ocelot1
160.45160.61161.52T:ocelot2
195.19195.28195.28T:amastrid
290.41290.70291.27T:hc128
753.25754.28754.89T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
41.25?41.25?47.00?chacha8
49.1249.1249.25salsa2012
56.7557.0060.62chacha12
57.2557.8858.12T:aes128estream
62.38?62.75?70.12?salsa208
71.0071.1271.25salsa20
71.5071.6271.62T:rabbit
84.3885.3886.62T:lexv2
87.3887.7589.75chacha20
86.3888.5089.50T:snow20
89.3889.3892.75T:trivium
100.00101.50102.25T:aes256estream
108.38108.38112.00T:cryptmtv3
111.62111.62111.62tango642
114.62116.38118.38T:nlsv2
128.38128.38128.38xsalsa20
173.50173.50173.75T:sosemanuk
307.00308.38330.50T:aes128ctr
326.38329.00333.12T:aes256ctr
313.50345.38347.62T:aes192ctr
490.62491.75497.75T:tpy6
682.25696.25711.25T:panama
973.38973.88974.50T:tpypy
992.12992.62993.75T:tpy
1070.751070.751085.38T:ocelot2
1074.751078.121095.12T:ocelot1
1289.881295.621312.25T:amastrid
2324.382325.502326.00T:hc128
6029.386030.506036.25T:hc256