summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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@
* Be more strict in RSA_padding_check_X931(), and thus avoid a possiblemiod2014-07-091-2/+2
| | | | | memcpy() with a negative size. ok tedu@
* In the old days (not in this century), SSLeay 0.4.5 would create X.509 RSAmiod2014-07-091-14/+3
| | | | | | | | | signatures using the wrong oid for the signature type. The signature verification code has thus been modified to allow these signatures to be accepted, with a printf to stderr to notify the user something was fishy. Remove this chunk; these signatures will no longer get accepted. ok deraadt@ guenther@ jsing@ tedu@
* Remove RSA_memory_lock(). This undocumented function sort-of serializes yourmiod2014-07-092-51/+2
| | | | | | | | | | RSA components to memory and clears them, but there is no unserializing function, so its usefulness is close to zero. A grep through the ports tree sources show that it is only present in ports embedding their own openssl copy, and never used otherwise. ok jsing@
* RSA_NULL used to be a compile option allowing the RSA interfaces to bemiod2014-07-094-176/+4
| | | | | | | | compiled-in, with nonfunctional code, to be able to cope with the RSA patent. However, we don't use this option, and the RSA patent has expired more than 10 years ago, so just drop this piece.
* KNFmiod2014-07-0919-1967/+1959
|
* replace atoi() calls with strtol(). Follow the idiomatic pattern in ourderaadt2014-06-121-13/+32
| | | | | | | | | manual page strictly. Return -2 if the strings are not strict numbers. The numbers remain in the range of "int". Range checking for these parameters is done later in the pkey_*_ctl() functions, or sometimes in functions much further downstream... but not always!!! ok millert miod mikeb
* tags as requested by miod and teduderaadt2014-06-1222-21/+22
|
* c-file-style hints, begone; ok beckderaadt2014-06-111-1/+1
|
* malloc() result does not need a cast.deraadt2014-06-074-6/+6
| | | | ok miod
* more: no need to null check before free; ok guentherderaadt2014-05-302-2/+2
|
* no need for null check before free. from Brendan MacDonelltedu2014-05-301-2/+1
|
* Everything sane has stdio, and FILE *. we don't need ifdefs for this.beck2014-05-292-4/+0
| | | | ok to firebomb from tedu@
* We have stdio and are not WIN16.jsing2014-05-231-2/+0
|
* Convert OPENSSL_malloc stuff back to intrinsics, a few were missedbeck2014-05-221-2/+2
| | | | | as new stuff was brought in. ok miod@
* if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefullymiod2014-05-221-4/+2
| | | | eyeballed before applying. Contributed by Cyril Roelandt on tech@
* switch RSA key generation default to 2048 bits (matching ssh); ok miod@sthen2014-05-171-1/+1
|
* Stop being a dummy... presumably these are left overs from pedantic modejsing2014-05-151-5/+1
| | | | | | that were not wrapped with #if PEDANTIC. ok miod@
* Use C99 initializers for the various FOO_METHOD structs. More readable, andmiod2014-04-274-93/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@
* Unifdef -UPKCS1_CHECK and remove SSL_OP_PKCS1_CHECK_[12], this is leftovermiod2014-04-231-3/+0
| | | | | | | | ``debug'' code from a 15+ years old bugfix and the SSL_OP_PKCS1_CHECK_* constants have had a value of zero since ages. No production code should use them. ok beck@
* kill REF_PRINT/REF_CHECK debugging framework noone would usederaadt2014-04-171-20/+0
| | | | ok miod
* Get rid of MS Visual C compiler and Intel C compiler specific defines.miod2014-04-171-8/+0
|
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-178-38/+38
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* Do not feed RSA private key information to the random subsystem asderaadt2014-04-171-8/+0
| | | | | | | | entropy. It might be fed to a pluggable random subsystem.... What were they thinking?! ok guenther
* we don't use these files for buildingtedu2014-04-151-81/+0
|
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-155-151/+0
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* No licence.miod2014-04-151-340/+0
|
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-227/+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-134-5/+11
|
* This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-132-4/+6
|\ | | | | branch.
| * Import OpenSSL 1.0.1gmiod2014-04-136-9/+17
| |
* | cherry pick bugfixes for http://www.openssl.org/news/secadv_20130205.txtmarkus2013-02-141-1/+1
| | | | | | | | | | from the openssl git (changes between openssl 1.0.1c and 1.0.1d). ok djm@
* | resolve conflictsdjm2012-10-138-173/+202
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-134-38/+805
|\| | | | | branch.
| * import OpenSSL-1.0.1cdjm2012-10-1311-202/+977
| |
| * OpenSSL 1.0.0f: import upstream sourcedjm2012-01-051-29/+51
| |
| * import OpenSSL 1.0.0edjm2011-11-032-8/+14
| |
* | OpenSSL 1.0.0f: mergedjm2012-01-051-29/+51
| |
* | openssl-1.0.0e: resolve conflictsdjm2011-11-032-8/+14
| |
* | resolve conflicts, fix local changesdjm2010-10-0113-1055/+485
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-015-5/+1044
|\| | | | | branch.
| * import OpenSSL-1.0.0adjm2010-10-0113-140/+1458
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-04-061-2/+2
|\ \ | | | | | | branch.
| * | import of OpenSSL 0.9.8kdjm2009-04-061-2/+2
| | |
* | | resolve conflictsdjm2009-01-0910-289/+145
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-092-4/+4
|\ \ \ | | |/ | |/| branch.
| * | import openssl-0.9.8jdjm2009-01-0911-284/+121
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-092-0/+603
|\ \ \ | | |/ | |/| branch.
| * | import openssl-0.9.8jdjm2009-01-094-24/+658
| | |
* | | update to openssl-0.9.8i; tested by several, especially krw@djm2009-01-054-22/+34
| | |