comparison options.h @ 1013:a1e79ffa5862

Tighten validation of DH values. Odds of x==0 being generated are improbable, roughly 2**-1023 Regression in 0.49
author Matt Johnston <matt@ucc.asn.au>
date Tue, 10 Feb 2015 21:46:19 +0800
parents 47643024fc90
children deed0571cacc
comparison
equal deleted inserted replaced
1012:ffd2359564b0 1013:a1e79ffa5862
93 #define DROPBEAR_AES128 93 #define DROPBEAR_AES128
94 #define DROPBEAR_3DES 94 #define DROPBEAR_3DES
95 #define DROPBEAR_AES256 95 #define DROPBEAR_AES256
96 /* Compiling in Blowfish will add ~6kB to runtime heap memory usage */ 96 /* Compiling in Blowfish will add ~6kB to runtime heap memory usage */
97 /*#define DROPBEAR_BLOWFISH*/ 97 /*#define DROPBEAR_BLOWFISH*/
98 /*#define DROPBEAR_TWOFISH256*/ 98 #define DROPBEAR_TWOFISH256
99 /*#define DROPBEAR_TWOFISH128*/ 99 #define DROPBEAR_TWOFISH128
100 100
101 /* Enable CBC mode for ciphers. This has security issues though 101 /* Enable CBC mode for ciphers. This has security issues though
102 * is the most compatible with older SSH implementations */ 102 * is the most compatible with older SSH implementations */
103 #define DROPBEAR_ENABLE_CBC_MODE 103 #define DROPBEAR_ENABLE_CBC_MODE
104 104