summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dh
AgeCommit message (Expand)Author
2022-07-13Simplify computation of max_pub_key = dh->p - 1.Theo Buehler
2022-07-12Remove mkerr.pl remnants from LibreSSLKlemens Nanni
2022-07-07Expose new API in headers.Theo Buehler
2022-06-27Prepare to provide EVP_PKEY_security_bits()Theo Buehler
2022-06-27Prepare to provide DH_security_bits()Theo Buehler
2022-01-20Add check for BIO_indent return valueKinichiro Inoguchi
2022-01-14Make structs in dh.h opaqueTheo Buehler
2022-01-14Unifdef LIBRESSL_OPAQUE_* and LIBRESSL_NEXT_APITheo Buehler
2022-01-10Prepare to provide EVP_PKEY_{public,param}_checkTheo Buehler
2022-01-10Provide DH_check*_ex and many error codesTheo Buehler
2022-01-10zap trailing whitespaceTheo Buehler
2022-01-07Add an essentially empty dh_local.h and include it in the files whereTheo Buehler
2022-01-07zap trailing whitespaceTheo Buehler
2022-01-05Prepare to provide DH_get_length()Theo Buehler
2022-01-05Prepare to provide DH_get0_{p,q,g,{priv,pub}_key}()Theo Buehler
2021-12-12Include evp_locl.h where it will be needed once most structs fromTheo Buehler
2021-12-05Simplify DH_check_params a bit.Theo Buehler
2021-12-04Add #include "bn_lcl.h" to the files that will soon need it.Theo Buehler
2021-11-29Clean up DH_check_pub_key() and ensure that y^q (mod p) == 1.Theo Buehler
2021-11-29Increase number of iterations in Miller-Rabin checks for DH.Theo Buehler
2021-11-29Synchronize DH_check() mostly with OpenSSL 1.1.1 with someTheo Buehler
2021-11-29Provide a version of DH_check_params() for internal use.Theo Buehler
2021-11-29Provide a number of flags for DH_check and DH_check_pubkeyTheo Buehler
2021-11-23In DH_set0_pqg() also set dh->length if q is set to match what OpenSSL do.Theo Buehler
2020-01-04Avoid leak in error path of dh_priv_decodeKinichiro Inoguchi
2019-01-20Fix BN_is_prime_* calls in libcrypto, the API returns -1 on error.Theo Buehler
2018-11-12Missing initialization for pub_key. CID 184303.Theo Buehler
2018-11-09Initialize priv_key and pub_key on first use instead of at the top.Theo Buehler
2018-11-06unrevert the use of bn_rand_interval().Theo Buehler
2018-11-06revert use of bn_rand_interval due to failures with ECDHE and TLSTheo Buehler
2018-11-05Make use of bn_rand_interval() where appropriate.Theo Buehler
2018-11-05Eliminate a few "} else" branches, a few unneeded NULL checks beforeTheo Buehler
2018-11-05Remove two unnecessary BN_FLG_CONSTTIME dances: BN_mod_exp_ct() alreadyTheo Buehler
2018-08-24Add consts to EVP_PKEY_asn1_set_private()Theo Buehler
2018-08-24After removing support for broken PKCS#8 formats (it was high time),Theo Buehler
2018-06-12zap stray tabStuart Henderson
2018-06-12Reject excessively large primes in DH key generation. Problem reportedStuart Henderson
2018-05-02Remove incorrect NULL checks in DH_set0_key().Theo Buehler
2018-05-01Convert a handful of X509_*() functions to take const as in OpenSSL.Theo Buehler
2018-04-14make ENGINE_finish() succeed on NULL and simplify callers as inTheo Buehler
2018-02-22Provide DH_get0_engine().Joel Sing
2018-02-20Fix bogus check. Spotted by brynet, thanks.Theo Buehler
2018-02-20Provide DH_set_length()Theo Buehler
2018-02-20Provide DH_bits()Theo Buehler
2018-02-20Provide DH_{clear,set,test}_flags().Theo Buehler
2018-02-18Provide {DH,DSA}_set0_key(). Requested by sthen.Theo Buehler
2018-02-18Provide DH_set0_pqg.Theo Buehler
2018-02-17Provide further parts of the OpenSSL 1.1 API: {DH,DSA}_get0_{key,pqg}(),Theo Buehler
2017-01-29Send the function codes from the error functions to the bit bucket,Bob Beck
2017-01-21Make explicit _ct and _nonct versions of bn_mod_exp funcitons thatBob Beck