summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/dh
AgeCommit message (Expand)AuthorFilesLines
2020-01-04Avoid leak in error path of dh_priv_decodeinoguchi1-1/+2
2019-01-20Fix BN_is_prime_* calls in libcrypto, the API returns -1 on error.tb1-5/+12
2018-11-12Missing initialization for pub_key. CID 184303.tb1-2/+2
2018-11-09Initialize priv_key and pub_key on first use instead of at the top.tb1-6/+4
2018-11-06unrevert the use of bn_rand_interval().tb1-6/+9
2018-11-06revert use of bn_rand_interval due to failures with ECDHE and TLStb1-9/+6
2018-11-05Make use of bn_rand_interval() where appropriate.tb1-6/+9
2018-11-05Eliminate a few "} else" branches, a few unneeded NULL checks beforetb1-16/+12
2018-11-05Remove two unnecessary BN_FLG_CONSTTIME dances: BN_mod_exp_ct() alreadytb1-12/+4
2018-08-24Add consts to EVP_PKEY_asn1_set_private()tb1-2/+2
2018-08-24After removing support for broken PKCS#8 formats (it was high time),tb1-2/+2
2018-06-12zap stray tabsthen1-2/+2
2018-06-12Reject excessively large primes in DH key generation. Problem reportedsthen1-1/+6
2018-05-02Remove incorrect NULL checks in DH_set0_key().tb1-5/+1
2018-05-01Convert a handful of X509_*() functions to take const as in OpenSSL.tb1-5/+5
2018-04-14make ENGINE_finish() succeed on NULL and simplify callers as intb1-10/+6
2018-02-22Provide DH_get0_engine().jsing2-2/+9
2018-02-20Fix bogus check. Spotted by brynet, thanks.tb1-2/+4
2018-02-20Provide DH_set_length()tb2-2/+12
2018-02-20Provide DH_bits()tb2-2/+9
2018-02-20Provide DH_{clear,set,test}_flags().tb2-2/+23
2018-02-18Provide {DH,DSA}_set0_key(). Requested by sthen.tb2-2/+22
2018-02-18Provide DH_set0_pqg.tb2-2/+25
2018-02-17Provide further parts of the OpenSSL 1.1 API: {DH,DSA}_get0_{key,pqg}(),tb2-2/+26
2017-01-29Send the function codes from the error functions to the bit bucket,beck7-55/+38
2017-01-21Make explicit _ct and _nonct versions of bn_mod_exp funcitons thatbeck1-2/+4
2016-12-30Expand ASN1_ITEM_rptr macro - no change in generated assembly.jsing1-2/+2
2016-11-04Kill a bunch of OLD_ASN1 usage by replacing ASN1_{d2i,i2d}_* withjsing2-8/+30
2016-07-07call BN_init on temporaries to avoid use-before-set warningsbcook1-1/+2
2016-07-05On systems where we do not have BN_ULLONG defined (most 64-bit systems),bcook1-1/+5
2016-06-30Remove flags for disabling constant-time operations.bcook2-34/+12
2015-02-14Expand ASN1_CHOICE*, ASN1_SEQUENCE* and associated macros, making thejsing1-6/+42
2015-02-11Enable building with -DOPENSSL_NO_DEPRECATED.doug1-1/+2
2015-02-10Expand the -IMPLEMENT_ASN1_ENCODE_FUNCTIONS_(const_)?fname macros so thatjsing1-2/+14
2015-02-09BN_CTX_get() can fail - consistently check its return value.jsing2-6/+7
2015-02-09This is neither code not proper documentation.miod7-157/+0
2015-02-07Delete a lot of #if 0 code in libressl.doug2-16/+2
2015-01-08Avoid a double-free in an error path.doug1-1/+2
2014-10-18None of these need to include <openssl/rand.h>jsing1-2/+1
2014-07-12if (x) FOO_free(x) -> FOO_free(x).miod4-30/+17
2014-07-11Only import cryptlib.h in the four source files that actually need it.jsing9-26/+31
2014-07-10Explicitly include <openssl/opensslconf.h> in every file that referencesjsing3-4/+12
2014-07-10Stop including standard headers via cryptlib.h - pull in the headers thatjsing1-2/+4
2014-07-09ASN1_STRING_free can handle NULL, so callers don't need to check. ok miodtedu1-7/+4
2014-07-09Simplify error path of DH_check_pub_key()miod1-8/+4
2014-07-09KNFmiod9-563/+595
2014-07-09remove unused, private version strings except SSL_version_strbcook1-3/+1
2014-06-30simplify and unobfuscate a variable to fix a mem leak.tedu1-6/+9
2014-06-12replace atoi() calls with strtol(). Follow the idiomatic pattern in ourderaadt1-12/+30
2014-06-12tags as requested by miod and teduderaadt11-9/+11