DH named parameter support
authorDr. Stephen Henson <steve@openssl.org>
Tue, 30 May 2017 00:16:56 +0000 (01:16 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 12 Oct 2017 01:40:30 +0000 (02:40 +0100)
commit7806a782c87f8ce07bc710f480a1db9511d11506
treea92b88e3f08b1de3ebb66aad63ac05b6328ad8ee
parentf682bd60cf7af6d124c7c6df278964d90b025890
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)
crypto/bn/bn_dh.c
crypto/dh/build.info
crypto/dh/dh_rfc7919.c [new file with mode: 0644]
crypto/include/internal/bn_dh.h
include/openssl/dh.h