summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* malloc() result does not need a cast.deraadt2014-06-077-7/+7
| | | | ok miod
* copy a comment placed in other files; req from miodderaadt2014-05-311-1/+3
|
* more: no need for null check before freederaadt2014-05-307-32/+15
| | | | ok tedu guenther
* no need for null check before free. from Brendan MacDonelltedu2014-05-301-6/+3
|
* ok, next pass after review: when possible, put the reallocarray argumentsderaadt2014-05-291-1/+1
| | | | in the "size_t nmemb, size_t size"
* convert 53 malloc(a*b) to reallocarray(NULL, a, b). that is 53deraadt2014-05-295-13/+20
| | | | | | | | | potential integer overflows easily changed into an allocation return of NULL, with errno nicely set if need be. checks for an allocations returning NULL are commonplace, or if the object is dereferenced (quite normal) will result in a nice fault which can be detected & repaired properly. ok tedu
* Everything sane has stdio, and FILE *. we don't need ifdefs for this.beck2014-05-292-6/+0
| | | | ok to firebomb from tedu@
* calloc instead of malloc/memset. from Benjamin Baiertedu2014-05-253-12/+6
|
* if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefullymiod2014-05-222-10/+5
| | | | eyeballed before applying. Contributed by Cyril Roelandt on tech@
* Stop being a dummy... presumably these are left overs from pedantic modejsing2014-05-154-8/+0
| | | | | | that were not wrapped with #if PEDANTIC. ok miod@
* Typo in C99 field initializer introduced in r1.3;miod2014-05-091-1/+1
| | | | reported by Steven Chamberlain
* Replace Apache v2 license with ISC license.matthew2014-05-094-50/+50
| | | | | Thanks to Google for agreeing to offer the code under more agreeable licensing terms!
* kill some more VMS ifdefsgiovanni2014-05-083-12/+0
| | | | ok miod@
* don't free memory unless we allocated it.tedu2014-05-071-2/+4
| | | | | reported to openssl by David Ramos (rt 3338) stealing commit from logan, who's run away. ok miod.
* knf approximationtedu2014-05-0624-8619/+9136
|
* Add support for the french ANSSI FRP256v1 elliptic curve.miod2014-05-011-1/+33
| | | | | | | | | | While not to be considered a good choice of elliptic curve (refer to http://safecurves.cr.yp.to/ for more details), it is nevertheless deemed a good decision to allow developers with requirements to use such a curve, to be able to do this via a crypto library allowing for much better choices to be made, without having to change (much of) their code to get better crypto. ok beck@ deraadt@
* Add Brainpool elliptic curves. From OpenSSL RT#2239 via ${DAYJOB}.miod2014-05-011-1/+444
| | | | | Be sure to rerun `make includes' after updating. ok tedu@ beck@ deraadt@
* Use C99 initializers for the various FOO_METHOD structs. More readable, andmiod2014-04-279-347/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@
* return after error instead of plowing ahead. noticed by mancha1 at zohotedu2014-04-201-0/+1
|
* kill REF_PRINT/REF_CHECK debugging framework noone would usederaadt2014-04-171-20/+0
| | | | ok miod
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-1712-113/+113
| | | | | | | | 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-84/+0
|
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-155-41/+0
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* In EC_POINT_invert(), actually check the correct function pointer for NULLmiod2014-04-151-1/+1
| | | | | before attempting to invoke it; trivial one-liner in OpenSSL RT #2569 ignored for 2.5 years.
* Moved to regress/lib/libcrypto.miod2014-04-151-1489/+0
|
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-179/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* Cope with the removal of openssl/symhacks.hderaadt2014-04-133-3/+0
|
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-134-17/+24
|
* This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-135-17/+33
|\ | | | | branch.
| * Import OpenSSL 1.0.1gmiod2014-04-138-33/+56
| |
* | resolve conflictsdjm2012-10-1310-887/+463
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-131-2/+34
|\ \ | | | | | | branch.
| * | import OpenSSL-1.0.1cdjm2012-10-132-95/+282
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-1314-85/+7337
|\ \ \ | | |/ | |/| branch.
| * | import OpenSSL-1.0.1cdjm2012-10-1323-879/+7552
| | |
| * | OpenSSL 1.0.0f: import upstream sourcedjm2012-01-051-1/+1
| | |
* | | OpenSSL 1.0.0f: mergedjm2012-01-051-1/+1
| | |
* | | openssl-1.0.0e: resolve conflictsdjm2011-11-033-2/+10
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2011-11-032-5/+16
|\| | | | | | | | branch.
| * | import OpenSSL 1.0.0edjm2011-11-035-7/+26
| | |
* | | resolve conflicts, fix local changesdjm2010-10-0111-535/+826
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-015-918/+3098
|\| | | | | | | | branch.
| * | import OpenSSL-1.0.0adjm2010-10-0112-1106/+3924
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-5/+43
|\ \ \ | | |/ | |/| branch.
| * | import OpenSSL-1.0.0adjm2010-10-012-17/+45
| | |
* | | cherrypick patch from OpenSSL 0.9.8m:djm2010-03-041-4/+6
| | | | | | | | | | | | | | | *) Always check bn_wexpend() return values for failure. (CVE-2009-3245) [Martin Olsson, Neel Mehta]
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-091-12/+4
|\ \ \ | | |/ | |/| branch.
| * | import openssl-0.9.8jdjm2009-01-091-12/+4
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-091-1/+1
|\ \ \ | | |/ | |/| branch.
| * | import openssl-0.9.8jdjm2009-01-091-1/+1
| | |