summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2git to create tag 'OPENBSD_5_8_BASE'.OPENBSD_5_8_BASEcvs2svn2015-08-0229-12660/+0
|
* Make sure to load absolute symbol address with `dla' instead of `la' whenmiod2014-12-071-1/+7
| | | | generating code for 64-bit mips userland.
* Remove OPENSSL_FIPSCANISTER mentions.miod2014-12-072-8/+0
|
* deregister; no binary changejsg2014-10-281-3/+3
| | | | ok jsing@ miod@
* digests: *_LONG_LOG2 is not used, stop talking about it.bcook2014-10-201-3/+2
| | | | | | | | Modified patch from Dmitry Eremin-Solenikov leave the sole public define in ripemd.h ok deraadt@ miod@
* Three independent typos for `independent' or `independently'.miod2014-08-191-1/+1
|
* remove return value from HOST_c2l/l2c macrosbcook2014-08-182-25/+25
| | | | | | | | | | | These macros and asm inlines simulate a function returning a value, but nothing ever uses this return value. Remove the pseudo-returns and (void) casts discarding the unused values. This, maybe unsurprisingly, speeds things up a bit. It also removes the GCC 4.9 warnings about unused values. ok miod@ deraadt@
* unbreak build this needed to be an and..beck2014-07-131-2/+2
| | | | ok jsing@
* Take out __bounded__ in the include files we use it in when not on OpenBSD.beck2014-07-131-1/+4
| | | | | | | while we can take it out in portable at compile time, it is still a problem when we install this header file on a system that doesn't support __bounded__ if this is unguarded. ok miod@ bcook@
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-111-4/+2
| | | | | | | | Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@
* Explicitly include <openssl/opensslconf.h> in every file that referencesjsing2014-07-107-17/+33
| | | | | | | | | an OPENSSL_NO_* define. This avoids relying on something else pulling it in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is never going to do anything, since OPENSSL_NO_XYZ will never defined, due to the fact that opensslconf.h has not been included. This also includes some miscellaneous sorting/tidying of headers.
* Remove bogus preprocessor statements trying to pick the largest integermiod2014-07-101-8/+1
| | | | | | | | type for BF_LONG, MD[45]_LONG and SHA_LONG. First, the preprocessor symbols they check for a 64-bit system is __ILP64__ which no sane system provides; second, on the platforms which have assembler code to speed things up, the assembler code assumes a 32-bit type will be used.
* Remove leading underscore from _BYTE_ORDER and _{LITTLE,BIG}_ENDIAN, to bemiod2014-07-093-8/+8
| | | | | more friendly to systems where the underscore flavours may be defined as empty. Found the hard way be bcook@; joint brainstrom with bcook beck and guenther
* remove unused, private version strings except SSL_version_strbcook2014-07-094-12/+4
| | | | | | Also remove unused des_ver.h, which exports some of these strings, but is not installed. ok miod@ tedu@
* Add more bounded attributes to the buffer and md5/sha headers in libsslavsm2014-06-141-13/+25
| | | | ok miod@
* tags as requested by miod and teduderaadt2014-06-128-8/+8
|
* Move sha256 and sha512 tests to regress and wire them up.jsing2014-05-302-331/+0
|
* Almost nothing actually needs to include <openssl/e_os2.h>, however byjsing2014-05-241-1/+2
| | | | | | | including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@
* Get __STRICT_ALIGNMENT from <machine/endian.h> and decide upon it, rathermiod2014-05-071-4/+1
| | | | | | | | | | | | | | than defining it for not (i386 and amd64 (and sometimes s390)) only. Compile-time tests remain compile-time tests, and runtime-test remain runtime-test instead of being converted to compile-time tests, per matthew@'s explicit demand (rationale: this makes sure the compiler checks your code even if you won't run it). No functional change except on s390 (which we don't run on) and vax (which we run on, but noone cares about) ok matthew@
* The assembly sha512 code detects at runtime if it is running on a 64-bitmiod2014-05-021-0/+6
| | | | | | | | | | | | processor (PA2.0) and, if so, switches to 64-bit code. However, when running under a 32-bit OpenBSD/hppa kernel, there is no guarantee that the upper part of the registers will be preserved accross context switches (or even userland->kernel boundaries), which causes this code to fail. Wrap the generated code within #ifndef __OpenBSD__ in that case, to avoid using the 64-bit code completely. (OpenBSD/hppa64, once stable, will not be affected by this)
* Do not output SOM-specific directives.miod2014-05-012-0/+12
|
* Fix include filename to get register name aliases under BSDmiod2014-05-011-6/+1
|
* Remove fips_md_init() macro indirection for digest algorithms, used by themiod2014-05-013-6/+6
| | | | | | | OpenSSL FIPS module to prevent forbidden digests to be allowed. No functional change but readability. ok deraadt@
* First pass at removing win64 support from the assembly generating Perljsing2014-04-301-109/+0
| | | | | | | scripts. We certainly do not need an identical copy of the win64 exception handler in each script (surely one copy would be sufficient). ok miod@
* Remove WIN32, WIN64 and MINGW32 tentacles.miod2014-04-281-4/+1
| | | | | | | | Also check for _LP64 rather than __arch64__ (the former being more reliable than __LP64__ or __arch64__) to tell 64-bit int platforms apart from 32-bit int platforms. Loosely based upon a diff from Martijn van Duren on tech@
* Unifdef -UPEDANTIC. ok beck@ tedu@miod2014-04-231-20/+12
|
* Figure out endianness at compile-time, using _BYTE_ORDER frommiod2014-04-232-4/+6
| | | | | | | <machine/endian.h>, rather than writing 1 to a 32-bit variable and checking whether the first byte is nonzero. tweaks and ok matthew@; ok beck@ tedu@
* Remove meat which either duplicates code found in apps/, or is only of valuemiod2014-04-222-249/+0
| | | | for 20th century historians, and can be put in the Attic.
* Unsurprisingly, since <unistd.h> was so darn hard to find for OpenSSL developersbeck2014-04-181-3/+1
| | | | | | | | they had resorted to manually protyping read(2) instead of incredible amount of preprocessor wizardry needed to find the ever illusive <unistd.h>. Let's just include <unistd.h> and we don't need to do this.. While we're at it flense out _OSD_POSIX and __DGJPP__ cruft. ok krw@
* Do not ask the user to pass either -DB_ENDIAN or -DL_ENDIAN to the compiler,miod2014-04-181-3/+4
| | | | | | | but rather figure out the endianness from <machine/endian.h> automagically; help from guenther@ ok jca@ guenther@ beck@ and the rest of the `Buena SSL rampage club'
* Get rid of MS Visual C compiler and Intel C compiler specific defines.miod2014-04-171-30/+0
|
* There are no plans to ever build this with the Metrojerks compiler.miod2014-04-171-8/+1
|
* Remove support for big-endian i386 and amd64.miod2014-04-171-7/+1
| | | | | | | | | | | | | Before someone suggests the OpenSSL people are junkies, here is what they mention about this: /* Most will argue that x86_64 is always little-endian. Well, * yes, but then we have stratus.com who has modified gcc to * "emulate" big-endian on x86. Is there evidence that they * [or somebody else] won't do same for x86_64? Naturally no. * And this line is waiting ready for that brave soul:-) */ So, yes, they are on drugs. But they are not alone, the stratus.com people are, too.
* Aren't you glad to have this file tell you that ``C2.pl works''? Bonus pointmiod2014-04-171-1/+0
| | | | if you can spot C2.pl.
* No need to consider being compiled by NASM anymore.miod2014-04-171-4/+0
|
* Remove _CRAY references. Note that this pleads for the use of <stdint.h>miod2014-04-161-1/+1
| | | | | fixed-width types instead of choosing int or long depending upon what we think the architecture support.
* we don't use these files for buildingtedu2014-04-151-129/+0
|
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-151-18/+0
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* Moved to regress/lib/libcrypto.miod2014-04-152-332/+0
|
* Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternitybeck2014-04-152-24/+0
| | | | | with the bearded ones... some API's that nobody should be using will dissapear with this commit.
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-37/+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-135-26/+24
|
* This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-1310-20/+26
|\ | | | | branch.
| * Import OpenSSL 1.0.1gmiod2014-04-1314-43/+56
| |
* | This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-131-1/+3
|\ \ | | | | | | branch.
| * | Import OpenSSL 1.0.1gmiod2014-04-132-2/+4
| | |
* | | Reliability fix for SHA384 SSL/TLS ciphers on strict alignmentjca2013-12-191-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | architectures. ok miod@ djm@ Upstream patch: commit cdd1acd788020d2c525331da1712ada778f1373c Author: Andy Polyakov <appro@openssl.org> Date: Wed Dec 18 21:27:35 2013 +0100
* | | resolve conflictsdjm2012-10-135-50/+1079
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-131-9/+30
|\| | | | | | | | branch.
| * | import OpenSSL-1.0.1cdjm2012-10-132-9/+31
| | |