summaryrefslogtreecommitdiffstats
path: root/include/crypto/ec.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-09-10 22:06:46 +0200
committerRichard Levitte <levitte@openssl.org>2020-09-12 20:24:22 +0200
commit7229a2f4ab9b4d8cecf44be58adeb14e195ff051 (patch)
treea53312a3ec4f5d2fa58efded3ebf9a2016b830f4 /include/crypto/ec.h
parentdev/release.sh: Rework to be smoother (diff)
downloadopenssl-7229a2f4ab9b4d8cecf44be58adeb14e195ff051.tar.xz
openssl-7229a2f4ab9b4d8cecf44be58adeb14e195ff051.zip
EC: Reimplement EVP_PKEY_CTX_set_ec_param_enc() to support providers
Fixes #12852 Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12853)
Diffstat (limited to 'include/crypto/ec.h')
-rw-r--r--include/crypto/ec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/ec.h b/include/crypto/ec.h
index 587f7a39fc..071fbcad19 100644
--- a/include/crypto/ec.h
+++ b/include/crypto/ec.h
@@ -68,5 +68,7 @@ int ec_key_otherparams_fromdata(EC_KEY *ec, const OSSL_PARAM params[]);
int ec_set_ecdh_cofactor_mode(EC_KEY *ec, int mode);
int ec_encoding_name2id(const char *name);
+int evp_pkey_ctx_set_ec_param_enc_prov(EVP_PKEY_CTX *ctx, int param_enc);
+
# endif /* OPENSSL_NO_EC */
#endif