diff options
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa.h')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h index 851e3f0445..aa0669eb7a 100644 --- a/src/lib/libcrypto/dsa/dsa.h +++ b/src/lib/libcrypto/dsa/dsa.h | |||
@@ -79,6 +79,8 @@ | |||
79 | # include <openssl/dh.h> | 79 | # include <openssl/dh.h> |
80 | #endif | 80 | #endif |
81 | 81 | ||
82 | #define OPENSSL_DSA_MAX_MODULUS_BITS 3072 | ||
83 | |||
82 | #define DSA_FLAG_CACHE_MONT_P 0x01 | 84 | #define DSA_FLAG_CACHE_MONT_P 0x01 |
83 | #define DSA_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DSA | 85 | #define DSA_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DSA |
84 | * implementation now uses constant time | 86 | * implementation now uses constant time |
@@ -259,8 +261,10 @@ void ERR_load_DSA_strings(void); | |||
259 | #define DSA_F_SIG_CB 114 | 261 | #define DSA_F_SIG_CB 114 |
260 | 262 | ||
261 | /* Reason codes. */ | 263 | /* Reason codes. */ |
264 | #define DSA_R_BAD_Q_VALUE 102 | ||
262 | #define DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 100 | 265 | #define DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 100 |
263 | #define DSA_R_MISSING_PARAMETERS 101 | 266 | #define DSA_R_MISSING_PARAMETERS 101 |
267 | #define DSA_R_MODULUS_TOO_LARGE 103 | ||
264 | 268 | ||
265 | #ifdef __cplusplus | 269 | #ifdef __cplusplus |
266 | } | 270 | } |