summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bob O.D.'ed on the o_dir code so high he forgot to rm the `test' aftermiod2014-04-172-132/+0
| | | | rewriting the code.
* sprintf: bad.miod2014-04-172-2/+2
| | | | | | snprintf: good. snprintf with a correct size: better! (harmless in this case)
* Remove utils that we don't useafresh12014-04-176-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 utilsafresh12014-04-1760-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 systemafresh12014-04-174-1199/+0
| | | | ok deraadt miod
* Remove oh-so-important-from-a-security-pov OpenSSL_rtdsc() function.miod2014-04-1724-502/+4
|
* fix some more leaks, mostly suggestions from miodjsg2014-04-1712-4/+28
| | | | ok miod@
* Remove the benchmark part of the selftest. It uses the undocumentedmiod2014-04-172-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,miod2014-04-172-1/+14
| | | | conveniently leaving the benchmark code not compiled in the test.
* Ok, there was a need for OPENSSL_cleanse() instead of bzero() to preventmiod2014-04-1719-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 makefilemiod2014-04-175-104/+242
| | | | | | fragments, to ease maintainance, and see through the fog of bugs. "looks good" deraadt@
* some KNF cleanup following the scriptderaadt2014-04-1744-338/+332
|
* Invoke OPENSSL_add_all_algorithms_noconf() to enforce OPENSSL_cpuid_setup()miod2014-04-171-5/+1
| | | | | has been called, for, depending how libcrypto, it might be a hidden symbol. Reported by jsg@
* fix some of the leaksjsg2014-04-178-14/+46
| | | | ok miod@ looks good deraadt@
* fix a potential double freejsg2014-04-172-4/+4
| | | | ok miod@
* remove OPENSSL_realloc_clean usage here - replace with intrinsics to makebeck2014-04-172-8/+14
| | | | | it obvious what should happen. ok tedu@
* Fully kill FIPS API. Forcible certification conflicts with the goals of atedu2014-04-175-158/+2
| | | | | | free software project. ok beck deraadt Ports calling FIPS_mode_set(1): mongodb
* Initial KNF.jsing2014-04-178-1016/+1010
|
* Initial KNF.jsing2014-04-174-502/+459
|
* Initial KNF.jsing2014-04-172-173/+133
|
* More KNF.jsing2014-04-172-11/+16
|
* More KNF.jsing2014-04-171-11/+17
|
* Initial KNF.jsing2014-04-171-329/+289
|
* I've replaced everything in this file. ISC liscense it with my copyrightbeck2014-04-172-108/+26
|
* Initial KNF.jsing2014-04-171-212/+214
|
* Remove defines for unwanted OS support...jsing2014-04-171-54/+0
| | | | ok miod@
* remove some code that is now unused after guenther's changes in 1.20.jsg2014-04-172-32/+2
|
* KNF.jsing2014-04-172-6/+6
|
* Initial KNF.jsing2014-04-176-278/+244
|
* simply wrap around intrinsics, and knf cleanup.beck2014-04-172-114/+108
| | | | ok miod@ deraadt@
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-17477-2618/+2618
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* Revert unintended whitespace changes.jsing2014-04-175-19/+19
|
* OPENSSL_gmtime() is not a gmtime() wrapper. It is a gmtime_r().deraadt2014-04-172-36/+8
| | | | | Always trying to confuse people... ok guenther
* OPENSSL_DECLARE_EXIT serves no purpose.deraadt2014-04-1719-19/+0
|
* 1. RAND_seed is now DEPRECATEDderaadt2014-04-174-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 operationderaadt2014-04-172-12/+0
|
* Do not feed RSA private key information to the random subsystem asderaadt2014-04-176-22/+0
| | | | | | | | entropy. It might be fed to a pluggable random subsystem.... What were they thinking?! ok guenther
* remove duplicated tests in if statementsjsg2014-04-172-8/+8
| | | | ok krw@ sthen@ deraadt@
* Fix for ", " issue in jsing's knf scriptguenther2014-04-171-2/+2
|
* Do not need to map to another silly name for unistd.h here eitherderaadt2014-04-171-1/+0
|
* unistd.h is always in the same place; no need to #include the result ofderaadt2014-04-1727-52/+29
| | | | a maze of conditional #define's
* minimal fix for ', ' issue in jsing's indent scriptderaadt2014-04-171-8/+9
|
* OpenSSL PR#3309: when looking for an extension, set the last found positionsthen2014-04-172-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 regressjsg2014-04-171-208/+2
| | | | except sha256t/sha512t which are likely to be removed for license reasons.
* move enginetest to regress as was done with the other testsjsg2014-04-174-284/+9
|
* call the correct decrypt function in aes_cbc_cipher()jsg2014-04-172-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 djmtedu2014-04-172-6/+12
|
* TANSTAAFL - delete the buf freelist code. if you need a better malloc, gettedu2014-04-169-260/+9
| | | | a better malloc. ok beck deraadt
* add back SRP. i was being too greedy.tedu2014-04-1623-2/+1804
|
* Clean up dangerous strncpy use. This included a use where the resultingbeck2014-04-1618-150/+34
| | | | | | | string was potentially not nul terminated and a place where malloc return was unchecked. while we're at it remove dummytest.c ok miod@