Revision 738ee1819e3bb94723701fb505ce2971afe47a9b authored by Shane Lontis on 20 April 2020, 01:07:38 UTC, committed by Shane Lontis on 20 April 2020, 01:07:38 UTC
DH_set0_pqg() is now responsible for caching the nid, q and length. DH with or without named safe prime groups now default to using the maximum private key length (BN_num_bits(q) - 1) when generating a DH private key. The code is now shared between fips and non fips mode for DH key generation. The OSSL_PKEY_PARAM_DH_PRIV_LEN parameter can be used during keygen to override the maximum private key length to be in the range (2 * strength ... bits(q) - 1). Where the strength depends on the length of p. Added q = (p - 1) / 2 safe prime BIGNUMS so that the code is data driven (To simplify adding new names). The BIGNUMS were code generated. Fix error in documented return value for DH_get_nid Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11562)
1 parent 9e537cd
File | Mode | Size |
---|---|---|
.github | ||
Configurations | ||
VMS | ||
apps | ||
boringssl @ 2070f8a | ||
crypto | ||
demos | ||
doc | ||
engines | ||
external | ||
fuzz | ||
include | ||
krb5 @ 890ca2f | ||
ms | ||
os-dep | ||
providers | ||
pyca-cryptography @ 0940310 | ||
ssl | ||
test | ||
tools | ||
util | ||
.gitattributes | -rw-r--r-- | 447 bytes |
.gitignore | -rw-r--r-- | 3.3 KB |
.gitmodules | -rw-r--r-- | 270 bytes |
.travis-apt-pin.preferences | -rw-r--r-- | 256 bytes |
.travis-create-release.sh | -rw-r--r-- | 44 bytes |
.travis.yml | -rw-r--r-- | 10.7 KB |
ACKNOWLEDGEMENTS.md | -rw-r--r-- | 159 bytes |
AUTHORS.md | -rw-r--r-- | 862 bytes |
CHANGES.md | -rw-r--r-- | 676.6 KB |
CONTRIBUTING.md | -rw-r--r-- | 4.0 KB |
Configure | -rwxr-xr-x | 121.4 KB |
FAQ.md | -rw-r--r-- | 197 bytes |
HACKING | -rw-r--r-- | 1.1 KB |
INSTALL.md | -rw-r--r-- | 60.5 KB |
LICENSE | -rw-r--r-- | 9.9 KB |
NEWS.md | -rw-r--r-- | 64.3 KB |
NOTES.ANDROID | -rw-r--r-- | 4.4 KB |
NOTES.DJGPP | -rw-r--r-- | 2.0 KB |
NOTES.PERL | -rw-r--r-- | 4.5 KB |
NOTES.UNIX | -rw-r--r-- | 5.4 KB |
NOTES.VALGRIND | -rw-r--r-- | 2.6 KB |
NOTES.VMS | -rw-r--r-- | 3.6 KB |
NOTES.WIN | -rw-r--r-- | 7.2 KB |
README.ENGINE | -rw-r--r-- | 15.7 KB |
README.FIPS | -rw-r--r-- | 61 bytes |
README.md | -rw-r--r-- | 6.6 KB |
SUPPORT.md | -rw-r--r-- | 4.8 KB |
VERSION | -rw-r--r-- | 90 bytes |
appveyor.yml | -rw-r--r-- | 2.5 KB |
build.info | -rw-r--r-- | 1.3 KB |
config | -rwxr-xr-x | 27.6 KB |
config.com | -rw-r--r-- | 2.5 KB |
configdata.pm.in | -rw-r--r-- | 13.7 KB |
e_os.h | -rw-r--r-- | 9.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...