summaryrefslogtreecommitdiff
path: root/lib/libcrypto/sha
AgeCommit message (Collapse)Author
2014-07-10Remove bogus preprocessor statements trying to pick the largest integerMiod Vallat
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.
2014-07-09Remove leading underscore from _BYTE_ORDER and _{LITTLE,BIG}_ENDIAN, to beMiod Vallat
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
2014-07-09remove unused, private version strings except SSL_version_strBrent Cook
Also remove unused des_ver.h, which exports some of these strings, but is not installed. ok miod@ tedu@
2014-06-14Add more bounded attributes to the buffer and md5/sha headers in libsslAnil Madhavapeddy
ok miod@
2014-06-12tags as requested by miod and teduTheo de Raadt
2014-05-30Move sha256 and sha512 tests to regress and wire them up.Joel Sing
2014-05-24Almost nothing actually needs to include <openssl/e_os2.h>, however byJoel Sing
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@
2014-05-07Get __STRICT_ALIGNMENT from <machine/endian.h> and decide upon it, ratherMiod Vallat
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@
2014-05-02The assembly sha512 code detects at runtime if it is running on a 64-bitMiod Vallat
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)
2014-05-01Do not output SOM-specific directives.Miod Vallat
2014-05-01Fix include filename to get register name aliases under BSDMiod Vallat
2014-05-01Remove fips_md_init() macro indirection for digest algorithms, used by theMiod Vallat
OpenSSL FIPS module to prevent forbidden digests to be allowed. No functional change but readability. ok deraadt@
2014-04-30First pass at removing win64 support from the assembly generating PerlJoel Sing
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@
2014-04-28Remove WIN32, WIN64 and MINGW32 tentacles.Miod Vallat
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@
2014-04-23Unifdef -UPEDANTIC. ok beck@ tedu@Miod Vallat
2014-04-23Figure out endianness at compile-time, using _BYTE_ORDER fromMiod Vallat
<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@
2014-04-22Remove meat which either duplicates code found in apps/, or is only of valueMiod Vallat
for 20th century historians, and can be put in the Attic.
2014-04-18Unsurprisingly, since <unistd.h> was so darn hard to find for OpenSSL developersBob Beck
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@
2014-04-18Do not ask the user to pass either -DB_ENDIAN or -DL_ENDIAN to the compiler,Miod Vallat
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'
2014-04-17Get rid of MS Visual C compiler and Intel C compiler specific defines.Miod Vallat
2014-04-17There are no plans to ever build this with the Metrojerks compiler.Miod Vallat
2014-04-17Remove support for big-endian i386 and amd64.Miod Vallat
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.
2014-04-17Aren't you glad to have this file tell you that ``C2.pl works''? Bonus pointMiod Vallat
if you can spot C2.pl.
2014-04-17No need to consider being compiled by NASM anymore.Miod Vallat
2014-04-16Remove _CRAY references. Note that this pleads for the use of <stdint.h>Miod Vallat
fixed-width types instead of choosing int or long depending upon what we think the architecture support.
2014-04-15we don't use these files for buildingTed Unangst
2014-04-15remove FIPS mode support. people who require FIPS can buy something thatTed Unangst
meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
2014-04-15Moved to regress/lib/libcrypto.Miod Vallat
2014-04-15Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternityBob Beck
with the bearded ones... some API's that nobody should be using will dissapear with this commit.
2014-04-14remove auto-generated dependencies from the old unused build system, soTheo de Raadt
that it is easier to find code pieces. They are getting in the way. ok miod
2014-04-13Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.Miod Vallat
2014-04-13Import OpenSSL 1.0.1gMiod Vallat
2013-12-19Reliability fix for SHA384 SSL/TLS ciphers on strict alignmentJeremie Courreges-Anglas
architectures. ok miod@ djm@ Upstream patch: commit cdd1acd788020d2c525331da1712ada778f1373c Author: Andy Polyakov <appro@openssl.org> Date: Wed Dec 18 21:27:35 2013 +0100
2012-10-13resolve conflictsDamien Miller
2012-10-13import OpenSSL-1.0.1cDamien Miller
2011-11-03import OpenSSL 1.0.0eDamien Miller
2010-10-01resolve conflicts, fix local changesDamien Miller
2010-10-01import OpenSSL-1.0.0aDamien Miller
2009-04-06import of OpenSSL 0.9.8kDamien Miller
2009-01-09resolve conflictsDamien Miller
2009-01-05update to openssl-0.9.8i; tested by several, especially krw@Damien Miller
2008-09-06resolve conflictsDamien Miller
2008-09-06import of OpenSSL 0.9.8hDamien Miller
2006-06-27resolve conflictsDamien Miller
2005-04-29resolve conflictsDamien Miller
2005-04-29import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@Damien Miller
2004-04-08merge 0.9.7dMarkus Friedl
2003-05-12merge 0.9.7b with local changes; crank majors for libssl/libcryptoMarkus Friedl
2002-09-10merge openssl-0.9.7-beta3, tested on vax by miod@Markus Friedl
2002-09-04execute bourne shell scripts with 'sh' and not with $SHELLMarkus Friedl