Mercurial > dropbear
comparison default_options.h @ 1545:0b991dec7ab9 coverity
merge coverity
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 26 Feb 2018 22:43:12 +0800 |
parents | 1d163552145f d1a8a05216ff |
children | 7f2be495dff6 |
comparison
equal
deleted
inserted
replaced
1523:1d163552145f | 1545:0b991dec7ab9 |
---|---|
147 * including either ECDH or ECDSA increases binary size by ~30kB on x86-64 | 147 * including either ECDH or ECDSA increases binary size by ~30kB on x86-64 |
148 | 148 |
149 * Small systems should generally include either curve25519 or ecdh for performance. | 149 * Small systems should generally include either curve25519 or ecdh for performance. |
150 * curve25519 is less widely supported but is faster | 150 * curve25519 is less widely supported but is faster |
151 */ | 151 */ |
152 #define DROPBEAR_DH_GROUP1 1 | |
153 #define DROPBEAR_DH_GROUP14_SHA1 1 | 152 #define DROPBEAR_DH_GROUP14_SHA1 1 |
154 #define DROPBEAR_DH_GROUP14_SHA256 1 | 153 #define DROPBEAR_DH_GROUP14_SHA256 1 |
155 #define DROPBEAR_DH_GROUP16 0 | 154 #define DROPBEAR_DH_GROUP16 0 |
156 #define DROPBEAR_CURVE25519 1 | 155 #define DROPBEAR_CURVE25519 1 |
157 #define DROPBEAR_ECDH 1 | 156 #define DROPBEAR_ECDH 1 |
157 #define DROPBEAR_DH_GROUP1 1 | |
158 | |
159 /* When group1 is enabled it will only be allowed by Dropbear client | |
160 not as a server, due to concerns over its strength. Set to 0 to allow | |
161 group1 in Dropbear server too */ | |
162 #define DROPBEAR_DH_GROUP1_CLIENTONLY 1 | |
158 | 163 |
159 /* Control the memory/performance/compression tradeoff for zlib. | 164 /* Control the memory/performance/compression tradeoff for zlib. |
160 * Set windowBits=8 for least memory usage, see your system's | 165 * Set windowBits=8 for least memory usage, see your system's |
161 * zlib.h for full details. | 166 * zlib.h for full details. |
162 * Default settings (windowBits=15) will use 256kB for compression | 167 * Default settings (windowBits=15) will use 256kB for compression |