summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dh
AgeCommit message (Expand)Author
2023-04-18Move some includes out of OPENSSL_NO_DEPRECATEDTheo Buehler
2023-04-17Fix whitespace in DHparam_print_fp()Theo Buehler
2023-04-17Remove now unused dh_prn.cTheo Buehler
2023-04-17Move DHparam_print_fp() next to DHparam_print()Theo Buehler
2023-04-13The NBs have been duly noted and ignored. Drop them.Theo Buehler
2023-04-13Zap trailing whitespaceTheo Buehler
2023-04-13Remove files that definitely contain no code anymoreTheo Buehler
2023-04-13Move DH_generate_parameters() from dh_depr.c to dh_gen.cTheo Buehler
2023-04-09Move a few functions out of OPENSSL_NO_DEPRECATEDTheo Buehler
2023-03-07Call BN_free() instead of BN_clear_free().Joel Sing
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
2022-11-26Make internal header file names consistentTheo Buehler
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