diff options
Diffstat (limited to 'src/lib/libcrypto/ecdh/ech_locl.h')
| -rw-r--r-- | src/lib/libcrypto/ecdh/ech_locl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_locl.h b/src/lib/libcrypto/ecdh/ech_locl.h index f658526a7e..f6cad6a894 100644 --- a/src/lib/libcrypto/ecdh/ech_locl.h +++ b/src/lib/libcrypto/ecdh/ech_locl.h | |||
| @@ -75,6 +75,14 @@ struct ecdh_method | |||
| 75 | char *app_data; | 75 | char *app_data; |
| 76 | }; | 76 | }; |
| 77 | 77 | ||
| 78 | /* If this flag is set the ECDH method is FIPS compliant and can be used | ||
| 79 | * in FIPS mode. This is set in the validated module method. If an | ||
| 80 | * application sets this flag in its own methods it is its responsibility | ||
| 81 | * to ensure the result is compliant. | ||
| 82 | */ | ||
| 83 | |||
| 84 | #define ECDH_FLAG_FIPS_METHOD 0x1 | ||
| 85 | |||
| 78 | typedef struct ecdh_data_st { | 86 | typedef struct ecdh_data_st { |
| 79 | /* EC_KEY_METH_DATA part */ | 87 | /* EC_KEY_METH_DATA part */ |
| 80 | int (*init)(EC_KEY *); | 88 | int (*init)(EC_KEY *); |
