summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh/dh_local.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make structs in dh.h opaquetb2022-01-141-1/+43
| | | | | | This moves the struct internals for DH and DH_METHOD to dh_local.h. ok inoguchi jsing
* Provide DH_check*_ex and many error codestb2022-01-101-1/+10
| | | | | | | | | | | | | | | | | | | | | DH_check{,_pub_key}_ex() wrap their non-ex versions to translate the flags argument of the original functions into OpenSSL errors. For this almost a dozen new error codes need to be added. DH_params_check{,_ex}() is a new version of DH_check that only performs a cheap subset of the checks. They are needed to implement EVP_PKEY_{public,param}_check() (observe the consistent naming) although the actual implementation of EVP_PKEY_param_check() chose to use DH_check_ex(). As far as I can tell, the only raison d'ĂȘtre of the _ex functions and error codes is to spew them to stderr in a couple of openssl(1) commands. This couldn't have been solved differently... These functions will not be exposed publicly. ok inoguchi jsing
* Add an essentially empty dh_local.h and include it in the files wheretb2022-01-071-0/+66
it will be needed in the upcoming bump. discussed with jsing