summaryrefslogtreecommitdiffstats
path: root/fips/fips.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-06-06 17:24:02 +0200
committerDr. Stephen Henson <steve@openssl.org>2011-06-06 17:24:02 +0200
commit7f0d1be3a68cd43760c2b8715ba9b0c4011bccf6 (patch)
tree0a3980227e6cbc8aa42d74c2452b4da0fd23b739 /fips/fips.h
parentSet SSL_FIPS flag in ECC ciphersuites. (diff)
downloadopenssl-7f0d1be3a68cd43760c2b8715ba9b0c4011bccf6.tar.xz
openssl-7f0d1be3a68cd43760c2b8715ba9b0c4011bccf6.zip
Add prototypes for some FIPS EC functions.
Diffstat (limited to '')
-rw-r--r--fips/fips.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/fips/fips.h b/fips/fips.h
index e0a0247ba6..1e5c759341 100644
--- a/fips/fips.h
+++ b/fips/fips.h
@@ -72,6 +72,8 @@ struct env_md_st;
struct env_md_ctx_st;
struct evp_cipher_st;
struct evp_cipher_ctx_st;
+struct ec_method_st;
+struct ecdsa_method;
int FIPS_module_mode_set(int onoff);
int FIPS_module_mode(void);
@@ -273,6 +275,16 @@ const EVP_MD *FIPS_evp_ecdsa(void);
const RSA_METHOD *FIPS_rsa_pkcs1_ssleay(void);
int FIPS_rsa_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
+struct ec_method_st *fips_ec_gf2m_simple_method(void);
+struct ec_method_st *fips_ec_gfp_simple_method(void);
+struct ec_method_st *fips_ec_gfp_mont_method(void);
+struct ec_method_st *fips_ec_gfp_nist_method(void);
+
+struct ecdsa_method *FIPS_ecdsa_openssl(void);
+struct ecdh_method *FIPS_ecdh_openssl(void);
+
+int FIPS_ec_key_generate_key(struct ec_key_st *key);
+
#endif
/* Where necessary redirect standard OpenSSL APIs to FIPS versions */