summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha_locl.h
AgeCommit message (Collapse)Author
2016-05-17Copyright consolidation 09/10Rich Salz
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-01RT4347: Fix GCC unused-value warnings with HOST_c2l()David Woodhouse
The HOST_c2l() macro assigns the value to the specified variable, but also evaluates to the same value. Which we ignore, triggering a warning. To fix this, just cast it to void like we did in commit 08e553644 ("Fix some clang warnings.") for a bunch of other instances. Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-02-05GH601: Various spelling fixes.FdaSilvaYY
Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2016-01-26Remove /* foo.c */ commentsRich Salz
This was done by the following find . -name '*.[ch]' | /tmp/pl where /tmp/pl is the following three-line script: print unless $. == 1 && m@/\* .*\.[ch] \*/@; close ARGV if eof; # Close file to reset $. And then some hand-editing of other files. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2015-05-14Identify and move common internal libcrypto header filesRichard Levitte
There are header files in crypto/ that are used by a number of crypto/ submodules. Move those to crypto/include/internal and adapt the affected source code and Makefiles. The header files that got moved are: crypto/cryptolib.h crypto/md32_common.h Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-01-27OPENSSL_NO_xxx cleanup: SHARich Salz
Remove support for SHA0 and DSS0 (they were broken), and remove the ability to attempt to build without SHA (it didn't work). For simplicity, remove the option of not building various SHA algorithms; you could argue that SHA_224/256/384/512 should be kept, since they're like crypto algorithms, but I decided to go the other way. So these options are gone: GENUINE_DSA OPENSSL_NO_SHA0 OPENSSL_NO_SHA OPENSSL_NO_SHA1 OPENSSL_NO_SHA224 OPENSSL_NO_SHA256 OPENSSL_NO_SHA384 OPENSSL_NO_SHA512 Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-09-24RT3544: Remove MWERKS supportRich Salz
The following #ifdef tests were all removed: __MWERKS__ MAC_OS_pre_X MAC_OS_GUSI_SOURCE MAC_OS_pre_X OPENSSL_SYS_MACINTOSH_CLASSIC OPENSSL_SYS_MACOSX_RHAPSODY Reviewed-by: Andy Polyakov <appro@openssl.org>
2013-01-13Fix some clang warnings.Ben Laurie
2006-10-18Fix bug in big-endian path and optimize it for size.Andy Polyakov
2006-10-17Further synchronizations with md32_common.h update, consistent namingAndy Polyakov
for low-level SHA block routines.
2006-10-11Re-implement md32_common.h [make it simpler!] and eliminate code renderedAndy Polyakov
redundant as result.
2006-05-01SHA1 for PowerPC.Andy Polyakov
2006-04-16SHA-1 for x86_64.Andy Polyakov
2005-10-25Eliminate false preprocessor dependencies introduced with VOS support.Andy Polyakov
2005-07-19Fix bug [SHA1 IA-64 being disabled] introduced with Stratus VOS update.Andy Polyakov
PR: 1130
2005-06-23Update for Stratus VOS.Richard Levitte
PR: 1130
2004-12-09Engage SHA1 IA64 assembler on IA64 platforms.Andy Polyakov
2004-05-27Since num is now a size_t, it's not necssary to check for less than 0,Richard Levitte
AND it avoids warnings on certain systems.
2004-05-15size_t-fication of message digest APIs. We should size_t-fy more APIs...Andy Polyakov
2003-01-02I implemented this when troubleshooting performance problem on SPARC Solaris.Andy Polyakov
As there is an apparent interest for optimization for footprint, I figured that this can eventually become useful.
2002-12-14x86_64 performance patch.Andy Polyakov
2001-10-14openbsd-x86 macrosUlf Möller
Submitted by: Toomas Kiisk <vix@cyber.ee>
2001-03-08Make EVP_Digest*() routines return a value.Dr. Stephen Henson
TODO: update docs, and make soe other routines which use EVP_Digest*() check return codes.
2000-03-19FLAT_INC is not needed; we use -I.. all the timeUlf Möller
2000-02-12HP-UX tune-up: new unified configs, HP C compiler bug workaround.Andy Polyakov
2000-01-02Metrowerks for Motorola tune-up.Andy Polyakov
1999-09-06Fix warnings.Ben Laurie
1999-09-05SHA clean-up and (LP64) tune-up.Andy Polyakov
"Clean-up" stands for the fact that it's using common message digest template ../md32_common.h and sha[1_]dgst.c are reduced down to '#define SHA_[01]' and then '#include "sha_locl.h"'. It stands "(LP64)" there because it's 64 bit platforms which benefit most from the tune-up. The updated code exhibits 40% performance improvement on IRIX64 (sounds too good, huh? I probably should double check if it's not some cache trashing that was holding it back before), 28% - on Alpha Linux and 12% - Solaris 7/64.
1999-06-23Don't use inline assembler when configured for "no-asm".Bodo Möller
1999-05-27I386_ONLY is defined in opensslconf.h, so we need to include it.Bodo Möller
Submitted by: John Keith <jtkeith@kavi.com>
1999-05-11Use ifndef PEDANTIC for all inline assembler.Ulf Möller
1999-05-10Fix various things to let OpenSSL even pass ``egcc -pipe -O2 -Wall -WshadowRalf S. Engelschall
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline'' with EGCS 1.1.2+
1999-05-07Make -pedantic work again.Ben Laurie
1999-05-05SHA-1 cleanups and performance enhancements.Ulf Möller
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-04-20Problems with 64-bit long.Ulf Möller
Pointed out by Andy Polyakov <appro@fy.chalmers.se>.
1999-04-20Remove useless defines.Ulf Möller
1998-12-21Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall
1998-12-21Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall