summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/memcmp.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-17malloc + memset 0 -> callocmiod2-44/+4
(not that it matters much as this is in disabled code, for we don't build with zlib support)
2014-04-17dead codetedu1-2/+0
2014-04-17-Walltedu3-3/+7
2014-04-17unused variabletedu2-6/+2
2014-04-17a little less obfuscationtedu2-34/+4
2014-04-17fold prototypes into o_str.c. miodtedu4-138/+8
2014-04-17quick pass at removing ability to disable sha256 and sha512. ok miodtedu10-72/+0
2014-04-17Aren't you glad to have this file tell you that ``C2.pl works''? Bonus pointmiod2-2/+0
if you can spot C2.pl.
2014-04-17Nuke BN_DEBUG_LEVITTEmiod2-20/+0
2014-04-17No need to consider being compiled by NASM anymore.miod2-8/+0
2014-04-17Stop paying lip service to non-AT&T syntax assemblers in the x86 world.miod6-772/+2
2014-04-17todo: do not leave 15 year old todo lists in the tree.miod2-6/+0
2014-04-17fix BIO_snprintf usage in here.beck2-16/+38
ok tedu@
2014-04-17Use of OPENSSL_SYS_xxx defines in public header files considered harmful.miod9-102/+2
2014-04-17Bob O.D.'ed on the o_dir code so high he forgot to rm the `test' aftermiod2-132/+0
rewriting the code.
2014-04-17sprintf: bad.miod2-2/+2
snprintf: good. snprintf with a correct size: better! (harmless in this case)
2014-04-17Remove utils that we don't useafresh16-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
2014-04-17Remove unused ssl utilsafresh160-11438/+0
This code is the reason perl has a name as a write only language. ok deraadt miod
2014-04-17expunge more of the old build systemafresh14-1199/+0
ok deraadt miod
2014-04-17Remove oh-so-important-from-a-security-pov OpenSSL_rtdsc() function.miod24-502/+4
2014-04-17fix some more leaks, mostly suggestions from miodjsg12-4/+28
ok miod@
2014-04-17Remove the benchmark part of the selftest. It uses the undocumentedmiod2-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().
2014-04-17crypto/modes/gcm128.c can be used as its own selftest. Add it to regress,miod2-1/+14
conveniently leaving the benchmark code not compiled in the test.
2014-04-17Ok, there was a need for OPENSSL_cleanse() instead of bzero() to preventmiod19-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?
2014-04-17Move the machine-specific parts of the libcrypto Makefile to per-arch makefilemiod5-104/+242
fragments, to ease maintainance, and see through the fog of bugs. "looks good" deraadt@
2014-04-17some KNF cleanup following the scriptderaadt44-338/+332
2014-04-17Invoke OPENSSL_add_all_algorithms_noconf() to enforce OPENSSL_cpuid_setup()miod1-5/+1
has been called, for, depending how libcrypto, it might be a hidden symbol. Reported by jsg@
2014-04-17fix some of the leaksjsg8-14/+46
ok miod@ looks good deraadt@
2014-04-17fix a potential double freejsg2-4/+4
ok miod@
2014-04-17remove OPENSSL_realloc_clean usage here - replace with intrinsics to makebeck2-8/+14
it obvious what should happen. ok tedu@
2014-04-17Fully kill FIPS API. Forcible certification conflicts with the goals of atedu5-158/+2
free software project. ok beck deraadt Ports calling FIPS_mode_set(1): mongodb
2014-04-17Initial KNF.jsing8-1016/+1010
2014-04-17Initial KNF.jsing4-502/+459
2014-04-17Initial KNF.jsing2-173/+133
2014-04-17More KNF.jsing2-11/+16
2014-04-17More KNF.jsing1-11/+17
2014-04-17Initial KNF.jsing1-329/+289
2014-04-17I've replaced everything in this file. ISC liscense it with my copyrightbeck2-108/+26
2014-04-17Initial KNF.jsing1-212/+214
2014-04-17Remove defines for unwanted OS support...jsing1-54/+0
ok miod@
2014-04-17remove some code that is now unused after guenther's changes in 1.20.jsg2-32/+2
2014-04-17KNF.jsing2-6/+6
2014-04-17Initial KNF.jsing6-278/+244
2014-04-17simply wrap around intrinsics, and knf cleanup.beck2-114/+108
ok miod@ deraadt@
2014-04-17Change library to use intrinsic memory allocation functions instead ofbeck477-2618/+2618
OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
2014-04-17Revert unintended whitespace changes.jsing5-19/+19
2014-04-17OPENSSL_gmtime() is not a gmtime() wrapper. It is a gmtime_r().deraadt2-36/+8
Always trying to confuse people... ok guenther
2014-04-17OPENSSL_DECLARE_EXIT serves no purpose.deraadt19-19/+0
2014-04-171. RAND_seed is now DEPRECATEDderaadt4-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
2014-04-17RAND_seed now does nothing, so skip the operationderaadt2-12/+0