summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2git to create tag 'OPENBSD_5_8_BASE'.OPENBSD_5_8_BASEcvs2svn2015-08-025-644/+0
|
* BN_CTX_get() can fail - consistently check its return value.jsing2015-02-091-3/+5
| | | | | | | | | | | | | | | There are currently cases where the return from each call is checked, the return from only the last call is checked and cases where it is not checked at all (including code in bn, ec and engine). Checking the last return value is valid as once the function fails it will continue to return NULL. However, in order to be consistent check each call with the same idiom. This makes it easy to verify. Note there are still a handful of cases that do not follow the idiom - these will be handled separately. ok beck@ doug@
* Delete a lot of #if 0 code in libressl.doug2015-02-072-23/+2
| | | | | | | | | | | | | | | | | | | | | | | | | There are a few instances where #if 1 is removed but the code remains. Based on the following OpenSSL commits. Some of the commits weren't strictly deletions so they are going to be split up into separate commits. 6f91b017bbb7140f816721141ac156d1b828a6b3 3d47c1d331fdc7574d2275cda1a630ccdb624b08 dfb56425b68314b2b57e17c82c1df42e7a015132 c8fa2356a00cbaada8963f739e5570298311a060 f16a64d11f55c01f56baa62ebf1dec7f8fe718cb 9ccc00ef6ea65567622e40c49aca43f2c6d79cdb 02a938c953b3e1ced71d9a832de1618f907eb96d 75d0ebef2aef7a2c77b27575b8da898e22f3ccd5 d6fbb194095312f4722c81c9362dbd0de66cb656 6f1a93ad111c7dfe36a09a976c4c009079b19ea1 1a5adcfb5edfe23908b350f8757df405b0f5f71f 8de24b792743d11e1d5a0dcd336a49368750c577 a2b18e657ea1a932d125154f4e13ab2258796d90 8e964419603d2478dfb391c66e7ccb2dcc9776b4 32dfde107636ac9bc62a5b3233fe2a54dbc27008 input + ok jsing@, miod@, tedu@
* if (x) FOO_free(x) -> FOO_free(x).miod2014-07-121-4/+5
| | | | | | | Improves readability, keeps the code smaller so that it is warmer in your cache. review & ok deraadt@
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-111-6/+5
| | | | | | | | Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@
* Explicitly include <openssl/opensslconf.h> in every file that referencesjsing2014-07-103-6/+13
| | | | | | | | | an OPENSSL_NO_* define. This avoids relying on something else pulling it in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is never going to do anything, since OPENSSL_NO_XYZ will never defined, due to the fact that opensslconf.h has not been included. This also includes some miscellaneous sorting/tidying of headers.
* remove unused, private version strings except SSL_version_strbcook2014-07-091-3/+1
| | | | | | Also remove unused des_ver.h, which exports some of these strings, but is not installed. ok miod@ tedu@
* tags as requested by miod and teduderaadt2014-06-126-6/+6
|
* malloc() result does not need a cast.deraadt2014-06-071-1/+1
| | | | ok miod
* if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefullymiod2014-05-221-1/+1
| | | | eyeballed before applying. Contributed by Cyril Roelandt on tech@
* Use C99 initializers for the various FOO_METHOD structs. More readable, andmiod2014-04-271-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid unreadable/unmaintainable constructs like that: const EVP_PKEY_ASN1_METHOD cmac_asn1_meth = { EVP_PKEY_CMAC, EVP_PKEY_CMAC, 0, "CMAC", "OpenSSL CMAC method", 0,0,0,0, 0,0,0, cmac_size, 0, 0,0,0,0,0,0,0, cmac_key_free, 0, 0,0 }; ok matthew@ deraadt@
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-172-6/+6
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* we don't use these files for buildingtedu2014-04-151-76/+0
|
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-151-19/+0
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* Moved to regress/lib/libcrypto.miod2014-04-151-374/+0
|
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-40/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-131-11/+6
|
* This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-132-5/+9
|\ | | | | branch.
| * Import OpenSSL 1.0.1gmiod2014-04-132-5/+9
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-132-0/+8
|\ \ | | | | | | branch.
| * | import OpenSSL-1.0.1cdjm2012-10-132-0/+8
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-134-1/+33
|\ \ \ | | |/ | |/| branch.
| * | import OpenSSL-1.0.1cdjm2012-10-134-1/+33
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2011-11-031-2/+1
|\| | | | | | | | branch.
| * | import OpenSSL 1.0.0edjm2011-11-031-2/+1
| | |
* | | resolve conflicts, fix local changesdjm2010-10-011-17/+16
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-2/+2
|\| | | | | | | | branch.
| * | import OpenSSL-1.0.0adjm2010-10-011-2/+2
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-1/+1
|\ \ \ | | |/ | |/| branch.
| * | import OpenSSL-1.0.0adjm2010-10-012-18/+17
| | |
| * | import openssl-0.9.8jdjm2009-01-091-12/+23
| | |
* | | resolve conflictsdjm2009-01-091-16/+17
| | |
* | | update to openssl-0.9.8i; tested by several, especially krw@djm2009-01-051-11/+21
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2008-09-065-0/+645
|\ \ \ | |/ / |/| / | |/ branch.
| * import of OpenSSL 0.9.8hdjm2008-09-065-0/+645
|
* import of OpenSSL 0.9.8hdjm2008-09-063-0/+692