summaryrefslogtreecommitdiff
path: root/crypto/params.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-06-27 10:48:17 +0100
committerMatt Caswell <matt@openssl.org>2019-07-16 10:16:32 +0100
commitff64702b3d83d4c77756e0fd7b624e2165dbbdf0 (patch)
treec46161f5b250c26bec7a5d31973d2f66451c4846 /crypto/params.c
parentcbfa5b03989ee6b8f5c13c4284d5bae02c562f20 (diff)
downloadopenssl-new-ff64702b3d83d4c77756e0fd7b624e2165dbbdf0.tar.gz
Make the EVP Key Exchange code provider aware
We introduce a new EVP_KEYEXCH type to represent key exchange algorithms and refactor the existing code to use it where available. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9266)
Diffstat (limited to 'crypto/params.c')
-rw-r--r--crypto/params.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/params.c b/crypto/params.c
index 0c9e6f3ef7..87a66820ce 100644
--- a/crypto/params.c
+++ b/crypto/params.c
@@ -582,13 +582,6 @@ OSSL_PARAM OSSL_PARAM_construct_size_t(const char *key, size_t *buf)
sizeof(size_t));
}
-#ifndef FIPS_MODE
-/*
- * TODO(3.0): Make this available in FIPS mode.
- *
- * Temporarily we don't include these functions in FIPS mode to avoid pulling
- * in the entire BN sub-library into the module at this point.
- */
int OSSL_PARAM_get_BN(const OSSL_PARAM *p, BIGNUM **val)
{
BIGNUM *b;
@@ -632,7 +625,6 @@ OSSL_PARAM OSSL_PARAM_construct_BN(const char *key, unsigned char *buf,
return ossl_param_construct(key, OSSL_PARAM_UNSIGNED_INTEGER,
buf, bsize);
}
-#endif
int OSSL_PARAM_get_double(const OSSL_PARAM *p, double *val)
{