Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | todo: do not leave 15 year old todo lists in the tree. | miod | 2014-04-17 | 2 | -6/+0 |
| | |||||
* | fix BIO_snprintf usage in here. | beck | 2014-04-17 | 2 | -16/+38 |
| | | | | ok tedu@ | ||||
* | Use of OPENSSL_SYS_xxx defines in public header files considered harmful. | miod | 2014-04-17 | 9 | -102/+2 |
| | |||||
* | Bob O.D.'ed on the o_dir code so high he forgot to rm the `test' after | miod | 2014-04-17 | 2 | -132/+0 |
| | | | | rewriting the code. | ||||
* | sprintf: bad. | miod | 2014-04-17 | 2 | -2/+2 |
| | | | | | | snprintf: good. snprintf with a correct size: better! (harmless in this case) | ||||
* | Remove utils that we don't use | afresh1 | 2014-04-17 | 6 | -330/+0 |
| | | | | | | | opensslwrap.sh and shlib_wrap.sh are used by tests that are getting replaced, x86asm.sh is obsoleted by our Makefile machinery ok miod | ||||
* | Remove unused ssl utils | afresh1 | 2014-04-17 | 60 | -11438/+0 |
| | | | | | | This code is the reason perl has a name as a write only language. ok deraadt miod | ||||
* | expunge more of the old build system | afresh1 | 2014-04-17 | 4 | -1199/+0 |
| | | | | ok deraadt miod | ||||
* | Remove oh-so-important-from-a-security-pov OpenSSL_rtdsc() function. | miod | 2014-04-17 | 24 | -502/+4 |
| | |||||
* | fix some more leaks, mostly suggestions from miod | jsg | 2014-04-17 | 12 | -4/+28 |
| | | | | ok miod@ | ||||
* | Remove the benchmark part of the selftest. It uses the undocumented | miod | 2014-04-17 | 2 | -86/+0 |
| | | | | | | | OPENSSL_rdtsc() routine to get a high-precision timestamp, and (although this is the only user of this routine in libcrypto) forces every platform willing to provide fast assembly versions of some routines, to also provide OPENSSL_rdtsc(). | ||||
* | crypto/modes/gcm128.c can be used as its own selftest. Add it to regress, | miod | 2014-04-17 | 2 | -1/+14 |
| | | | | conveniently leaving the benchmark code not compiled in the test. | ||||
* | Ok, there was a need for OPENSSL_cleanse() instead of bzero() to prevent | miod | 2014-04-17 | 19 | -744/+2 |
| | | | | | | | | | | | supposedly smart compilers from optimizing memory cleanups away. Understood. Ok, in case of an hypothetically super smart compiler, OPENSSL_cleanse() had to be convoluted enough for the compiler not to recognize that this was actually bzero() in disguise. Understood. But then why there had been optimized assembler versions of OPENSSL_cleanse() is beyond me. Did someone not trust the C obfuscation? | ||||
* | Move the machine-specific parts of the libcrypto Makefile to per-arch makefile | miod | 2014-04-17 | 5 | -104/+242 |
| | | | | | | fragments, to ease maintainance, and see through the fog of bugs. "looks good" deraadt@ | ||||
* | some KNF cleanup following the script | deraadt | 2014-04-17 | 44 | -338/+332 |
| | |||||
* | Invoke OPENSSL_add_all_algorithms_noconf() to enforce OPENSSL_cpuid_setup() | miod | 2014-04-17 | 1 | -5/+1 |
| | | | | | has been called, for, depending how libcrypto, it might be a hidden symbol. Reported by jsg@ | ||||
* | fix some of the leaks | jsg | 2014-04-17 | 8 | -14/+46 |
| | | | | ok miod@ looks good deraadt@ | ||||
* | fix a potential double free | jsg | 2014-04-17 | 2 | -4/+4 |
| | | | | ok miod@ | ||||
* | remove OPENSSL_realloc_clean usage here - replace with intrinsics to make | beck | 2014-04-17 | 2 | -8/+14 |
| | | | | | it obvious what should happen. ok tedu@ | ||||
* | Fully kill FIPS API. Forcible certification conflicts with the goals of a | tedu | 2014-04-17 | 5 | -158/+2 |
| | | | | | | free software project. ok beck deraadt Ports calling FIPS_mode_set(1): mongodb | ||||
* | Initial KNF. | jsing | 2014-04-17 | 8 | -1016/+1010 |
| | |||||
* | Initial KNF. | jsing | 2014-04-17 | 4 | -502/+459 |
| | |||||
* | Initial KNF. | jsing | 2014-04-17 | 2 | -173/+133 |
| | |||||
* | More KNF. | jsing | 2014-04-17 | 2 | -11/+16 |
| | |||||
* | More KNF. | jsing | 2014-04-17 | 1 | -11/+17 |
| | |||||
* | Initial KNF. | jsing | 2014-04-17 | 1 | -329/+289 |
| | |||||
* | I've replaced everything in this file. ISC liscense it with my copyright | beck | 2014-04-17 | 2 | -108/+26 |
| | |||||
* | Initial KNF. | jsing | 2014-04-17 | 1 | -212/+214 |
| | |||||
* | Remove defines for unwanted OS support... | jsing | 2014-04-17 | 1 | -54/+0 |
| | | | | ok miod@ | ||||
* | remove some code that is now unused after guenther's changes in 1.20. | jsg | 2014-04-17 | 2 | -32/+2 |
| | |||||
* | KNF. | jsing | 2014-04-17 | 2 | -6/+6 |
| | |||||
* | Initial KNF. | jsing | 2014-04-17 | 6 | -278/+244 |
| | |||||
* | simply wrap around intrinsics, and knf cleanup. | beck | 2014-04-17 | 2 | -114/+108 |
| | | | | ok miod@ deraadt@ | ||||
* | Change library to use intrinsic memory allocation functions instead of | beck | 2014-04-17 | 477 | -2618/+2618 |
| | | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free | ||||
* | Revert unintended whitespace changes. | jsing | 2014-04-17 | 5 | -19/+19 |
| | |||||
* | OPENSSL_gmtime() is not a gmtime() wrapper. It is a gmtime_r(). | deraadt | 2014-04-17 | 2 | -36/+8 |
| | | | | | Always trying to confuse people... ok guenther | ||||
* | OPENSSL_DECLARE_EXIT serves no purpose. | deraadt | 2014-04-17 | 19 | -19/+0 |
| | |||||
* | 1. RAND_seed is now DEPRECATED | deraadt | 2014-04-17 | 4 | -4/+0 |
| | | | | | | | | | | 2. Even passing a digest in as entropy is sloppy. But apparently the OpenSSL guys could find no objects of lesser value to pass to the pluggable random subsystem, and had to resort to private keys and digests. Classy. ok djm | ||||
* | RAND_seed now does nothing, so skip the operation | deraadt | 2014-04-17 | 2 | -12/+0 |
| | |||||
* | Do not feed RSA private key information to the random subsystem as | deraadt | 2014-04-17 | 6 | -22/+0 |
| | | | | | | | | entropy. It might be fed to a pluggable random subsystem.... What were they thinking?! ok guenther | ||||
* | remove duplicated tests in if statements | jsg | 2014-04-17 | 2 | -8/+8 |
| | | | | ok krw@ sthen@ deraadt@ | ||||
* | Fix for ", " issue in jsing's knf script | guenther | 2014-04-17 | 1 | -2/+2 |
| | |||||
* | Do not need to map to another silly name for unistd.h here either | deraadt | 2014-04-17 | 1 | -1/+0 |
| | |||||
* | unistd.h is always in the same place; no need to #include the result of | deraadt | 2014-04-17 | 27 | -52/+29 |
| | | | | a maze of conditional #define's | ||||
* | minimal fix for ', ' issue in jsing's indent script | deraadt | 2014-04-17 | 1 | -8/+9 |
| | |||||
* | OpenSSL PR#3309: when looking for an extension, set the last found position | sthen | 2014-04-17 | 2 | -6/+6 |
| | | | | | | to -1 to properly search all extensions. ok tedu@ From http://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=300b9f0b70 | ||||
* | Remove the ossltests target, these are now all in libcrypto regress | jsg | 2014-04-17 | 1 | -208/+2 |
| | | | | except sha256t/sha512t which are likely to be removed for license reasons. | ||||
* | move enginetest to regress as was done with the other tests | jsg | 2014-04-17 | 4 | -284/+9 |
| | |||||
* | call the correct decrypt function in aes_cbc_cipher() | jsg | 2014-04-17 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | From: commit e9c80e04c1a3b5a0de8e666155ab4ecb2697a77d Author: Andy Polyakov <appro@openssl.org> Date: Wed Dec 18 21:42:46 2013 +0100 evp/e_[aes|camellia].c: fix typo in CBC subroutine. It worked because it was never called. Our e_camellia.c does not have this problem. ok miod@ deraadt@ | ||||
* | tag some functions with bounded. idea and ok djm | tedu | 2014-04-17 | 2 | -6/+12 |
| |