diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-05-30 01:16:56 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-10-12 02:40:30 +0100 |
commit | 7806a782c87f8ce07bc710f480a1db9511d11506 (patch) | |
tree | a92b88e3f08b1de3ebb66aad63ac05b6328ad8ee /crypto/include | |
parent | f682bd60cf7af6d124c7c6df278964d90b025890 (diff) |
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 <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4485)
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/bn_dh.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; |