comparison default_options.h @ 1544:d1a8a05216ff

make group1 client-only
author Matt Johnston <matt@ucc.asn.au>
date Mon, 26 Feb 2018 22:42:53 +0800
parents 940828026f28
children 0b991dec7ab9 bb8eaa26bc93 03df3b9f6048
comparison
equal deleted inserted replaced
1543:016b86f03e21 1544:d1a8a05216ff
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 0
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