From 7806a782c87f8ce07bc710f480a1db9511d11506 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 30 May 2017 01:16:56 +0100 Subject: DH named parameter support Add functions to return DH parameters using NID and to return the NID if parameters match a named set. Currently this supports only RFC7919 parameters but could be expanded in future. Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/4485) --- crypto/include/internal/bn_dh.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crypto/include') diff --git a/crypto/include/internal/bn_dh.h b/crypto/include/internal/bn_dh.h index f49f039835..70ebca2875 100644 --- a/crypto/include/internal/bn_dh.h +++ b/crypto/include/internal/bn_dh.h @@ -15,3 +15,10 @@ declare_dh_bn(1024_160) declare_dh_bn(2048_224) declare_dh_bn(2048_256) + +extern const BIGNUM _bignum_ffdhe2048_p; +extern const BIGNUM _bignum_ffdhe3072_p; +extern const BIGNUM _bignum_ffdhe4096_p; +extern const BIGNUM _bignum_ffdhe6144_p; +extern const BIGNUM _bignum_ffdhe8192_p; +extern const BIGNUM _bignum_const_2; -- cgit v1.2.3