From ff64702b3d83d4c77756e0fd7b624e2165dbbdf0 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 27 Jun 2019 10:48:17 +0100 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/9266) --- crypto/params.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'crypto/params.c') 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) { -- cgit v1.2.1