diff options
Diffstat (limited to 'src/lib/libcrypto/dh/dh.h')
| -rw-r--r-- | src/lib/libcrypto/dh/dh.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h index ea59e610ef..849309a489 100644 --- a/src/lib/libcrypto/dh/dh.h +++ b/src/lib/libcrypto/dh/dh.h | |||
| @@ -86,21 +86,6 @@ | |||
| 86 | * be used for all exponents. | 86 | * be used for all exponents. |
| 87 | */ | 87 | */ |
| 88 | 88 | ||
| 89 | /* If this flag is set the DH method is FIPS compliant and can be used | ||
| 90 | * in FIPS mode. This is set in the validated module method. If an | ||
| 91 | * application sets this flag in its own methods it is its reposibility | ||
| 92 | * to ensure the result is compliant. | ||
| 93 | */ | ||
| 94 | |||
| 95 | #define DH_FLAG_FIPS_METHOD 0x0400 | ||
| 96 | |||
| 97 | /* If this flag is set the operations normally disabled in FIPS mode are | ||
| 98 | * permitted it is then the applications responsibility to ensure that the | ||
| 99 | * usage is compliant. | ||
| 100 | */ | ||
| 101 | |||
| 102 | #define DH_FLAG_NON_FIPS_ALLOW 0x0400 | ||
| 103 | |||
| 104 | #ifdef __cplusplus | 89 | #ifdef __cplusplus |
| 105 | extern "C" { | 90 | extern "C" { |
| 106 | #endif | 91 | #endif |
| @@ -245,9 +230,6 @@ void ERR_load_DH_strings(void); | |||
| 245 | #define DH_F_COMPUTE_KEY 102 | 230 | #define DH_F_COMPUTE_KEY 102 |
| 246 | #define DH_F_DHPARAMS_PRINT_FP 101 | 231 | #define DH_F_DHPARAMS_PRINT_FP 101 |
| 247 | #define DH_F_DH_BUILTIN_GENPARAMS 106 | 232 | #define DH_F_DH_BUILTIN_GENPARAMS 106 |
| 248 | #define DH_F_DH_COMPUTE_KEY 114 | ||
| 249 | #define DH_F_DH_GENERATE_KEY 115 | ||
| 250 | #define DH_F_DH_GENERATE_PARAMETERS_EX 116 | ||
| 251 | #define DH_F_DH_NEW_METHOD 105 | 233 | #define DH_F_DH_NEW_METHOD 105 |
| 252 | #define DH_F_DH_PARAM_DECODE 107 | 234 | #define DH_F_DH_PARAM_DECODE 107 |
| 253 | #define DH_F_DH_PRIV_DECODE 110 | 235 | #define DH_F_DH_PRIV_DECODE 110 |
| @@ -267,9 +249,7 @@ void ERR_load_DH_strings(void); | |||
| 267 | #define DH_R_DECODE_ERROR 104 | 249 | #define DH_R_DECODE_ERROR 104 |
| 268 | #define DH_R_INVALID_PUBKEY 102 | 250 | #define DH_R_INVALID_PUBKEY 102 |
| 269 | #define DH_R_KEYS_NOT_SET 108 | 251 | #define DH_R_KEYS_NOT_SET 108 |
| 270 | #define DH_R_KEY_SIZE_TOO_SMALL 110 | ||
| 271 | #define DH_R_MODULUS_TOO_LARGE 103 | 252 | #define DH_R_MODULUS_TOO_LARGE 103 |
| 272 | #define DH_R_NON_FIPS_METHOD 111 | ||
| 273 | #define DH_R_NO_PARAMETERS_SET 107 | 253 | #define DH_R_NO_PARAMETERS_SET 107 |
| 274 | #define DH_R_NO_PRIVATE_VALUE 100 | 254 | #define DH_R_NO_PRIVATE_VALUE 100 |
| 275 | #define DH_R_PARAMETER_ENCODING_ERROR 105 | 255 | #define DH_R_PARAMETER_ENCODING_ERROR 105 |
