summaryrefslogtreecommitdiffstats
path: root/crypto/dh
AgeCommit message (Collapse)Author
2004-06-19The version that was actually submitted for FIPS testing.Ben Laurie
2004-05-15Fix self-tests, ban some things in FIPS mode, fix copyrights.Ben Laurie
2004-05-11Pull FIPS back into stable.Ben Laurie
2003-12-27Use sh explicitely to run point.shRichard Levitte
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-04-10make update.Richard Levitte
2003-04-08We seem to carry some rests of the 0.9.6 [engine] ENGINE framework in formRichard Levitte
of unneeded includes of openssl/engine.h.
2003-02-22mingw related cleanups, as in headUlf Möller
2003-01-30The OPENSSL_NO_ENGINE has small problem: it changes certain structures. That'sRichard Levitte
bad, so let's not check OPENSSL_NO_ENGINE in those places. Fortunately, all the header files where the problem existed include ossl_typ.h, which makes a 'forward declaration' of the ENGINE type.
2003-01-30Add the possibility to build without the ENGINE framework.Richard Levitte
PR: 287
2002-11-28Have all tests use EXIT() to exit rather than exit(), since the latter doesn'tRichard Levitte
always give the expected result on some platforms.
2002-10-09Use double dashes so makedepend doesn't misunderstand the flags weRichard Levitte
give it. For 0.9.7 and up, that means util/domd needs to remove those double dashes from the argument list when gcc is used to find the dependencies.
2002-06-27Pass CFLAG to dependency makers, so non-standard system include paths areRichard Levitte
handled properly. Part of PR 75
2002-03-20fix DH_generate_parameters for general 'generator'Bodo Möller
2002-03-16Ensure EVP_CipherInit() uses the correct encode/decode parameter ifDr. Stephen Henson
enc == -1 [Reported by Markus Friedl <markus@openbsd.org>] Fix typo in dh_lib.c (use of DSAerr instead of DHerr).
2002-03-09Make {RSA,DSA,DH}_new_method obtain and release an ENGINEDr. Stephen Henson
functional reference.
2002-03-05Make sure the type accessed by the LONG and ZLONG ASN1 typeDr. Stephen Henson
is really a long, to avoid problems on platforms where sizeof(int) != sizeof(long).
2001-12-17remove redundant ERR_load_... declarationsBodo Möller
2001-11-15make updateRichard Levitte
perl util/mkerr.pl -recurse -write -rebuild
2001-10-04'make update'Richard Levitte
2001-10-04Because there's chances we clash with the system's types.h, rename ourRichard Levitte
types.h to ossl_typ.h.
2001-09-25indentation.Geoff Thorpe
2001-09-25"make update".Geoff Thorpe
2001-09-25This commits changes to various parts of libcrypto required by the recentGeoff Thorpe
ENGINE surgery. DH, DSA, RAND, and RSA now use *both* "method" and ENGINE pointers to manage their hooking with ENGINE. Previously their use of "method" pointers was replaced by use of ENGINE references. See crypto/engine/README for details. Also, remove the ENGINE iterations from evp_test - even when the cipher/digest code is committed in, this functionality would require a different set of API calls.
2001-09-05"DH_up" had been changed to "DH_up_ref" in libeay.num but the functionGeoff Thorpe
declaration and implementation had not. So a recent update recreated the original definition in libeay.num ... this corrects it and changes the "dh" code to the "up_ref" variant.
2001-09-01Make the necessary changes to work with the recent "ex_data" overhaul.Geoff Thorpe
See the commit log message for that for more information. NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented (initialisation by "memset" won't/can't/doesn't work). This fixes that but requires that X509_STORE_CTX_init() be able to handle errors - so its prototype has been changed to return 'int' rather than 'void'. All uses of that function throughout the source code have been tracked down and adjusted.
2001-08-25Give DH, DSA, and RSA functions to "up" their reference counts. Otherwise,Geoff Thorpe
dependant code has to directly increment the "references" value of each such structure using the corresponding lock. Apart from code duplication, this provided no "REF_CHECK/REF_PRINT" checking and violated encapsulation.
2001-08-12The indexes returned by ***_get_ex_new_index() functions are used whenGeoff Thorpe
setting stack (actually, array) values in ex_data. So only increment the global counters if the underlying CRYPTO_get_ex_new_index() call succeeds. This change doesn't make "ex_data" right (see the comment at the head of ex_data.c to know why), but at least makes the source code marginally less frustrating.
2001-08-05Start to reduce some of the header bloat.Ben Laurie
2001-07-31make updateRichard Levitte
2001-07-30Really add the EVP and all of the DES changes.Ben Laurie
2001-07-27length of secret exponent is needed only when we create oneBodo Möller
2001-07-27Undo DH_generate_key() change: s3_srvr.c was using it correctlyBodo Möller
2001-07-27Another uninitialized static that may lead to problems on Solaris under someLutz Jänicke
circumstances.
2001-07-25DH key generation should not use a do ... while loop,Bodo Möller
or bogus DH parameters can be used for launching DOS attacks
2001-07-25Don't preserve existing keys in DH_generate_key.Bodo Möller
2001-06-23In {RSA,DSA,DH}_new_method(x) need to increase the referenceDr. Stephen Henson
count of the ENGINE is x is not NULL since it will be freed in {RSA,DSA,DH}_free().
2001-06-23make updateRichard Levitte
2001-06-05'make update'Richard Levitte
2001-04-30In RSA, DSA, DH, and RAND - if the "***_new()" function fails because theGeoff Thorpe
ENGINE code does not return a default, set an error.
2001-03-09Instead of telling both 'make' and the user that ranlibBodo Möller
errors can be tolerated, hide the error from 'make'. This gives shorter output both if ranlib fails and if it works.
2001-03-08Hide BN_CTX structure details.Bodo Möller
Incease the number of BIGNUMs in a BN_CTX.
2001-02-23Get rid of ASN1_ITEM_FUNCTIONS dummy functionDr. Stephen Henson
prototype hack. This unfortunately means that every ASN1_*_END construct cannot have a trailing ;
2001-02-22e_os.h does not belong with the exported headers. Do not put it thereRichard Levitte
and make all files the depend on it include it without prefixing it with openssl/. This means that all Makefiles will have $(TOP) as one of the include directories.
2001-02-20make it a loop as in dsaUlf Möller
2001-02-20Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte
missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
2001-02-20Use BN_rand_range().Ulf Möller
2001-02-19Make all configuration macros available for application by makingRichard Levitte
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
2001-02-04Make depend.Ben Laurie
2000-12-08Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson
to main trunk. Lets see if the makes it to openssl-cvs :-)
2000-11-29Do to DH and DSA what has already been done to RSA. This involves movingGeoff Thorpe
the initialisation and cleanup of "ex_data" elements to before an init() handler and after a finish() handler respectively.