diff options
author | Mark Williams <markrwilliams@gmail.com> | 2017-02-03 01:20:00 -0800 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-02-03 17:20:00 +0800 |
commit | 523b132b27905e79f393d9999ff232ab61500a9d (patch) | |
tree | 10374aa315c6d74d1b3f6ffb2afa77ef98cd1f13 /vectors/cryptography_vectors/asymmetric/DH | |
parent | a840aa27992685129e0954b6e30a974123dda136 (diff) | |
download | cryptography-523b132b27905e79f393d9999ff232ab61500a9d.tar.gz cryptography-523b132b27905e79f393d9999ff232ab61500a9d.tar.bz2 cryptography-523b132b27905e79f393d9999ff232ab61500a9d.zip |
Backport DH_check from OpenSSL 1.1.0. (#3375)
* Backport DH_check from OpenSSL 1.1.0.
OpenSSL 1.0.2's DH_check considers the q parameter, allowing it
validate more generators and primes; however, OpenSSL 1.1.0's DH_check
includes code to handle errors in BN functions, so it's preferred.
* Wrap DH_Check when using OpenSSL 1.1.0 or higher.
* Adding DH_CHECK_* values missing from older OpenSSLs
* Defensively guard DH_CHECK_* definitions with ifndef.
This will prevent duplicate definitions when LibreSSL supports a
version of DH_check that can return these.
* Document the OpenSSL of origin for the DH_check code
Diffstat (limited to 'vectors/cryptography_vectors/asymmetric/DH')
0 files changed, 0 insertions, 0 deletions