summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecs_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecs_locl.h')
-rw-r--r--src/lib/libcrypto/ecdsa/ecs_locl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_locl.h b/src/lib/libcrypto/ecdsa/ecs_locl.h
index 3a69a840e2..cb3be13cfc 100644
--- a/src/lib/libcrypto/ecdsa/ecs_locl.h
+++ b/src/lib/libcrypto/ecdsa/ecs_locl.h
@@ -82,6 +82,14 @@ struct ecdsa_method
82 char *app_data; 82 char *app_data;
83 }; 83 };
84 84
85/* If this flag is set the ECDSA method is FIPS compliant and can be used
86 * in FIPS mode. This is set in the validated module method. If an
87 * application sets this flag in its own methods it is its responsibility
88 * to ensure the result is compliant.
89 */
90
91#define ECDSA_FLAG_FIPS_METHOD 0x1
92
85typedef struct ecdsa_data_st { 93typedef struct ecdsa_data_st {
86 /* EC_KEY_METH_DATA part */ 94 /* EC_KEY_METH_DATA part */
87 int (*init)(EC_KEY *); 95 int (*init)(EC_KEY *);