]> granicus.if.org Git - openssl/commitdiff
Add prototypes for some FIPS EC functions.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 6 Jun 2011 15:24:02 +0000 (15:24 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 6 Jun 2011 15:24:02 +0000 (15:24 +0000)
fips/fips.h

index e0a0247ba69ba30cd9ec0f196bfd422acbea87ee..1e5c759341d9f0421668ed0e71e5734b0e41c612 100644 (file)
@@ -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 */