diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-09-29 23:08:23 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-09-29 23:08:23 +0000 |
commit | 2bfeb7dc831f0bbe4ba6f9347f792a45d72d1e20 (patch) | |
tree | 790b603e60f0a431b2868ddb8aaff9bc1b634a62 /fips/fips.h | |
parent | 55831cd6eed2624c48d596ee5fafb2ab44660db9 (diff) |
Add FIPS selftests for ECDH algorithm.
Diffstat (limited to 'fips/fips.h')
-rw-r--r-- | fips/fips.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fips/fips.h b/fips/fips.h index 27242f1599..7a079ef7ff 100644 --- a/fips/fips.h +++ b/fips/fips.h @@ -96,6 +96,7 @@ int FIPS_selftest_des(void); int FIPS_selftest_rsa(void); int FIPS_selftest_dsa(void); int FIPS_selftest_ecdsa(void); +int FIPS_selftest_ecdh(void); void FIPS_corrupt_drbg(void); void FIPS_x931_stick(void); void FIPS_drbg_stick(void); @@ -170,6 +171,8 @@ void FIPS_get_timevec(unsigned char *buf, unsigned long *pctr); #define FIPS_TEST_PAIRWISE 12 /* Continuous PRNG test */ #define FIPS_TEST_CONTINUOUS 13 +/* ECDH test */ +#define FIPS_TEST_ECDH 14 void FIPS_post_set_callback( int (*post_cb)(int op, int id, int subid, void *ex)); |