summaryrefslogtreecommitdiffstats
path: root/crypto/des
AgeCommit message (Collapse)Author
2004-11-02Don't use $(EXHEADER) directly in for loops, as most shells will breakRichard Levitte
if $(EXHEADER) is empty. Notified by many, solution suggested by Carson Gaspar <carson@taltos.org>
2004-11-01Make sure memmove() is defined, even on SunOS 4.1.4.Richard Levitte
PR: 963
2004-08-29Proper support for OpenBSD-i386 shared build, including assember modules!Andy Polyakov
"Proper" means "compiles and passes test." Versioning is broken (I think).
2004-08-01OpenBSD fix-up for new a.out targets. OpenBSD .s.o rule is busted...Andy Polyakov
2004-08-01Clean-up GAS targets: get rid of "cpp" stuff and replace it with "purified"Andy Polyakov
COFF and a.out targets [similar to ELF targets]. You might notice some rudementary support for shared mingw builds under cygwin. It works (it produces cryptoeay32.dll and ssleay32.dll with everything exported by name), but it's primarily for testing/debugging purposes, at least for now...
2004-05-17After the latest round of header-hacking, regenerate the dependencies inGeoff Thorpe
the Makefiles. NB: this commit is probably going to generate a huge posting and it is highly uninteresting to read.
2004-05-17Because of recent reductions in header interdependencies, these files needGeoff Thorpe
to include crypto.h directly.
2004-04-19make updateGeoff Thorpe
2004-03-28This is essentially Intel 32-bit compiler tune-up. To start with allAndy Polyakov
available compiler versions generated bogus machine code trying to compile new crypto/des/cfb_enc.c. Secondly, 8th version defines __GNUC__ macro, but fails to compile *some* inline assembler correctly. Note that all versions of icc implement MSC-like _lrot[rl] intrinsic, which is used now instead of offensive asm. Finally, unnecessary linker dependencies are eliminated. Most notably dependency from libirc.a caused trouble at application start-up, if libcrypto.so is linked with -Bsymbolic (which it is).
2004-02-10minor signed/unsigned warning fixesGeoff Thorpe
2004-01-28Add the missing parts for DES CFB1 and CFB8.Richard Levitte
Add the corresponding AES parts while I'm at it. make update
2004-01-28make updateRichard Levitte
2004-01-28Unsigned vs. signed problem removedRichard Levitte
2004-01-27CFB DES sync-up with FIPS branch.Andy Polyakov
2003-12-27Use sh explicitely to run point.shRichard Levitte
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-12-27Use BUF_strlcpy() instead of strcpy().Richard Levitte
Use BUF_strlcat() instead of strcat(). Use BIO_snprintf() instead of sprintf(). In some cases, keep better track of buffer lengths. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-11-28Netware-specific changes,Richard Levitte
PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
2003-11-16Provide ASFLAGS in the subdirectories handling assembler code.Lutz Jänicke
Submitted by: Tim Rice <tim@multitalents.net> PR: #735, #765
2003-10-29A general spring-cleaning (in autumn) to fix up signed/unsigned warnings.Geoff Thorpe
I have tried to convert 'len' type variable declarations to unsigned as a means to address these warnings when appropriate, but when in doubt I have used casts in the comparisons instead. The better solution (that would get us all lynched by API users) would be to go through and convert all the function prototypes and structure definitions to use unsigned variables except when signed is necessary. The proliferation of (signed) "int" for strictly non-negative uses is unfortunate.
2003-10-29Remove redundant declaration.Geoff Thorpe
2003-10-06Make sure int SSL_COMP_add_compression_method() checks if a certainRichard Levitte
compression identity is already present among the registered compression methods, and if so, reject the addition request. Declare SSL_COMP_get_compression_method() so it can be used properly. Change ssltest.c so it checks what compression methods are available and enumerates them. As a side-effect, built-in compression methods will be automagically loaded that way. Additionally, change the identities for ZLIB and RLE to be conformant to draft-ietf-tls-compression-05.txt. Finally, make update. Next on my list: have the built-in compression methods added "automatically" instead of requiring that the author call SSL_COMP_add_compression_method() or SSL_COMP_get_compression_methods().
2003-10-01Include e_os.h to get a proper definition of memmove on the platformsRichard Levitte
that do not have it.
2003-05-29PR: 630Richard Levitte
Avoid looking outside the key_data array.
2003-03-20Make sure we get the definition of OPENSSL_EXTERN, OPENSSL_NO_DES,Richard Levitte
DES_LONG and OPENSSL_NO_DESCBCM.
2003-02-13Oh, the destest program did look at the return value...Richard Levitte
2003-02-12Adjust DES_cbc_cksum() so the returned value is the same as MIT'sRichard Levitte
mit_des_cbc_cksum(). The difference was first observed, then verified by looking at the MIT source.
2003-01-16A few more files to ignoreRichard Levitte
2003-01-09gcc wants character constants to be correct. Before this change, theRichard Levitte
following would happen on Solaris: m4 -B 8192 asm/des_enc.m4 > asm/des_enc-sparc.S gcc -DOPENSSL_SYSNAME_ULTRASPARC -DOPENSSL_NO_STATIC_ENGINE -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM -c -o asm/des_enc-sparc.o asm/des_enc-sparc.S asm/des_enc-sparc.S:2007: unterminated character constant asm/des_enc-sparc.S:2008: unterminated character constant
2003-01-04Another GAS fix-up and some commentary...Andy Polyakov
2003-01-04GAS can't stand stub, which is stb's synonym.Andy Polyakov
2003-01-03Redundant now as it's moved to ./Makefile.org.Andy Polyakov
2003-01-03Unified targets for ELF assembler modules. Tested on Linux, Solaris andAndy Polyakov
FreeBSD. Goal is to extend support even to SCO5, UnixWare/OpenUnix...
2003-01-02Complete integration of SPARC assembler DES implementation. Tested on SolarisAndy Polyakov
only. I'll keep my eyes open for Linux and OpenBSD targets.
2003-01-02UltraSPARC assembler DES implementation tune-up. The code can beAndy Polyakov
compiled for any SPARC CPU (UltraSPARC performance is *not* affected), can be compiled for 64-bit ABI and is position-independent.
2003-01-02Very old submission (from 2000) of UltraSPARC assembler DES implementation.Andy Polyakov
It was not accepted because code is not PIC, too UltraSPARC-specific when it doesn't have to and 32-bit only. I'm committing the original version mostly for reference purposes. 64, PIC, blended CPU tune-up follows shortly. Obtained from: http://inet.uni2.dk/~svolaf/des.htm
2002-12-29Correct asm exclusions.Ben Laurie
2002-12-18Fix for RT#405, Solaris refuses to invoke preprocessor if egrep returns 1.Andy Polyakov
Linux for example doesn't exhibit this behaviour, but I add "exit 0" to all potentially affected rules, just to be on the safe side.
2002-12-15Bring des_locl.h at the same level as in the 0.9.7 branch.Richard Levitte
Don't define macros in terms of asm() when __STRICT_ANSI is defined.
2002-12-15Ooops! No ROTATE on some platforms after x86_64 performance patch...Andy Polyakov
2002-12-14x86_64 performance patch.Andy Polyakov
2002-12-13IA-32 assembler modules (primarily DES) PIC-ification. Idea is to keepAndy Polyakov
shared libraries shared.
2002-12-11Let's not forget the other places where HEADER_DES_H and HEADER_DES_OLD_HRichard Levitte
were defined.
2002-12-11Since HEADER_DES_H has been the protector of des.h since libdesRichard Levitte
(before SSLeay, maybe?), it's better to have that macro protect the compatibility header des_old.h. In the new des.h, let's use a slightly different protecting macro. The rationale is that there are application that might include (via other header files, perhaps) both an old libdes des.h and OpenSSL's des.h. Whichever comes first would overshadow the other because of the clash in protecting macro. This fix solves that problem.
2002-12-03Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>Richard Levitte
2002-11-28Cleanse memory using the new OPENSSL_cleanse() function.Richard Levitte
I've covered all the memset()s I felt safe modifying, but may have missed some.
2002-11-15WinCE patchesRichard Levitte
2002-10-09Add a few more VxWorks targets.Richard Levitte
Correct misspelled VXWORKS macros. Add VXWORKS identifying macros to e_os2.h. Add required inclusions and mappings for VxWorks in e_os.h. A few small modifications to make OpenSSL build and work on VxWorks. PR: 253, except for the change that was handled in an earlier commit, and a request for easy build of just parts of OpenSSL.
2002-10-09Use double dashes so makedepend doesn't misunderstand the flags weRichard Levitte
give it. For 0.9.7 and up, that means util/domd needs to remove those double dashes from the argument list when gcc is used to find the dependencies.
2002-10-06Since crypt() isn't defined anywhere, define it locally in destest.cRichard Levitte
2002-10-06Do not define crypt(). The supported function is DES_crypt() (an des_crypt()Richard Levitte
when backward compatibility is desired).