summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dh
AgeCommit message (Expand)Author
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
2016-12-30Expand ASN1_ITEM_rptr macro - no change in generated assembly.Joel Sing
2016-11-04Kill a bunch of OLD_ASN1 usage by replacing ASN1_{d2i,i2d}_* withJoel Sing
2016-07-07call BN_init on temporaries to avoid use-before-set warningsBrent Cook
2016-07-05On systems where we do not have BN_ULLONG defined (most 64-bit systems),Brent Cook
2016-06-30Remove flags for disabling constant-time operations.Brent Cook
2015-02-14Expand ASN1_CHOICE*, ASN1_SEQUENCE* and associated macros, making theJoel Sing
2015-02-11Enable building with -DOPENSSL_NO_DEPRECATED.Doug Hogan
2015-02-10Expand the -IMPLEMENT_ASN1_ENCODE_FUNCTIONS_(const_)?fname macros so thatJoel Sing
2015-02-09BN_CTX_get() can fail - consistently check its return value.Joel Sing
2015-02-09This is neither code not proper documentation.Miod Vallat
2015-02-07Delete a lot of #if 0 code in libressl.Doug Hogan
2015-01-08Avoid a double-free in an error path.Doug Hogan
2014-10-18None of these need to include <openssl/rand.h>Joel Sing
2014-07-12if (x) FOO_free(x) -> FOO_free(x).Miod Vallat
2014-07-11Only import cryptlib.h in the four source files that actually need it.Joel Sing
2014-07-10Explicitly include <openssl/opensslconf.h> in every file that referencesJoel Sing
2014-07-10Stop including standard headers via cryptlib.h - pull in the headers thatJoel Sing
2014-07-09ASN1_STRING_free can handle NULL, so callers don't need to check. ok miodTed Unangst
2014-07-09Simplify error path of DH_check_pub_key()Miod Vallat
2014-07-09KNFMiod Vallat
2014-07-09remove unused, private version strings except SSL_version_strBrent Cook
2014-06-30simplify and unobfuscate a variable to fix a mem leak.Ted Unangst
2014-06-12replace atoi() calls with strtol(). Follow the idiomatic pattern in ourTheo de Raadt
2014-06-12tags as requested by miod and teduTheo de Raadt