summaryrefslogtreecommitdiffstats
path: root/crypto/des
AgeCommit message (Collapse)Author
2001-07-30Make EVPs allocate context memory, thus making them extensible. RationaliseBen Laurie
DES's keyschedules. I know these two should be separate, and I'll back out the DES changes if they are deemed to be an error. Note that there is a memory leak lurking in SSL somewhere in this version.
2001-05-14Use ui_compat.h to get the password reading functions.Richard Levitte
2001-05-13Move the password reading functions completely away from the DESRichard Levitte
section. Add ui_compat.h for inclusion by those who want the old functions and provide all of them, not just the higher-level ones, in ui_compat.c.
2001-05-13#if 0 out deleted (?) functions to stop Win32 DLLDr. Stephen Henson
build falling over.
2001-05-06make updateRichard Levitte
2001-05-06Add a general user interface API. This is designed to replace thingsRichard Levitte
like des_read_password and friends (backward compatibility functions using this new API are provided). The purpose is to remove prompting functions from the DES code section as well as provide for prompting through dialog boxes in a window system and the like.
2001-03-30Complete the des_encrypt to des_encrypt1 rename in the mainRichard Levitte
development line as well.
2001-03-29Since there has been reports of clashes between OpenSSL'sRichard Levitte
des_encrypt() and des_encrypt() defined on some systems (Solaris and Unixware and maybe others), we rename des_encrypt() to des_encrypt1(). This should have very little impact on external software unless someone has written a mode of DES, since that's all des_encrypt() is meant for.
2001-03-09Instead of telling both 'make' and the user that ranlibBodo Möller
errors can be tolerated, hide the error from 'make'. This gives shorter output both if ranlib fails and if it works.
2001-03-07Code for better build under Darwin (MacOS X).Richard Levitte
Submitted by Brad Dominy <jdominy@darwinuser.org>
2001-03-02Introduce the possibility to access global variables throughRichard Levitte
functions on platform were that's the best way to handle exporting global variables in shared libraries. To enable this functionality, one must configure with "EXPORT_VAR_AS_FN" or defined the C macro "OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter is normally done by Configure or something similar). To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL in the source file (foo.c) like this: OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1; OPENSSL_IMPLEMENT_GLOBAL(double,bar); To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL and OPENSSL_GLOBAL_REF in the header file (foo.h) like this: OPENSSL_DECLARE_GLOBAL(int,foo); #define foo OPENSSL_GLOBAL_REF(foo) OPENSSL_DECLARE_GLOBAL(double,bar); #define bar OPENSSL_GLOBAL_REF(bar) The #defines are very important, and therefore so is including the header file everywere where the defined globals are used. The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition of ASN.1 items, but that structure is a bt different. The largest change is in util/mkdef.pl which has been enhanced with better and easier to understand logic to choose which symbols should go into the Windows .def files as well as a number of fixes and code cleanup (among others, algorithm keywords are now sorted lexicographically to avoid constant rewrites).
2001-02-22e_os.h does not belong with the exported headers. Do not put it thereRichard Levitte
and make all files the depend on it include it without prefixing it with openssl/. This means that all Makefiles will have $(TOP) as one of the include directories.
2001-02-22Use e_os2.h rather than opensslconf.h, since some needed macros areRichard Levitte
defined there.
2001-02-20OpenVMS catches up.Richard Levitte
2001-02-20Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMSRichard Levitte
get a chance to be defined.
2001-02-20Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte
missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
2001-02-19Make all configuration macros available for application by makingRichard Levitte
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
2001-02-04Can't remember why this was needed?Ben Laurie
2000-12-31If OPENSSL_BUILD_SHLIBCRYPTO (for files that end up as libcryptoRichard Levitte
objects) or OPENSSL_BUILD_SHLIBSSL (for files that end up as libssl objects) is defined, redefine OPENSSL_EXTERN to be OPENSSL_EXPORT. This is actually only important on Win32, and can safely be ignored in all other cases, at least for now.
2000-12-21Various Win32 related fixes. Doesn't compile yet onDr. Stephen Henson
Win32 but it is getting there... Update mkdef.pl to handle ASN1_ANY and fix headers. Stop various VC++ warnings. Include some fixes from "Peter 'Luna' Runestig" <peter@runestig.com> Remove external declaration for des_set_weak_key_flag: it doesn't exist.
2000-09-25'ranlib' doesn't always run on some systems. That's actuallyRichard Levitte
acceptable, since all that happens if it fails is a library with an index, which makes linking slower, but still working correctly.
2000-09-21Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>Richard Levitte
2000-09-09Fix some CygWin problems.Ulf Möller
2000-09-07'make update'Richard Levitte
2000-08-03On Unicos, shorts are 8 bytes, so instead, use a structure with 2 32-bit ↵Richard Levitte
ints, just as in destest.c
2000-06-13Enable DSO support on alpha (OSF1), cc and gcc.Geoff Thorpe
Also, "make update" has added some missing functions to libeay.num, updated the TABLE for the alpha changes, and updated thousands of dependancies that have changed from recent commits.
2000-06-01There have been a number of complaints from a number of sources that namesRichard Levitte
like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
2000-05-31#include <stdio.h> not needed.Ulf Möller
2000-05-15MacOS changes.Ulf Möller
2000-05-02In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
2000-04-01_lrotl and _lrotr are defined in MSVC but nowhere else that we knowRichard Levitte
off.
2000-03-27Removed, especially since it conflicts with des.pod onRichard Levitte
case-insensitive file systems.
2000-03-22Fix a memory leak in PKCS12_parse.Dr. Stephen Henson
Don't copy private key to X509 etc public key structures. Fix for warning.
2000-03-20make updateRichard Levitte
2000-03-19Integrate podd.h sk.h into set_key.cUlf Möller
2000-03-19make updateUlf Möller
2000-03-19cleanup.Ulf Möller
2000-03-19libdes manpage.Ulf Möller
This may still contain a few errors from the old documentation, but most of it should make sense.
2000-03-19des_quad_cksum() byte order bug fix.Ulf Möller
See http://www.pdc.kth.se/kth-krb/ Their solution for CRAY is somewhat awkward. I'll assume that a "short" is 32 bits on CRAY to avoid the #ifdef _CRAY typedef struct { unsigned int a:32; unsigned int b:32; } XXX; #else typedef DES_LONG XXX; #endif
2000-03-18DES in Perl was incomplete and not very usefulUlf Möller
2000-03-18superseded by des_modes.podUlf Möller
2000-03-18change manpages to pod. Contents are not up to date!Ulf Möller
2000-03-14Insert a comment: This is one of the few files in this directoryBodo Möller
that is actually used (even though it may not appear so at first sight).
2000-03-14Remove "Makefile.uni" files and some related stuff.Bodo Möller
This was meant for building individual ciphers separately; but nothing of this is maintained, it does not work because we rely on central configuration by the Configure utility with <openssl/opensslconf.h> etc., so the files are only wasting space and time.
2000-03-13Remove Win32 assembler files. They are always rebuilt (with someBodo Möller
choice of parameters) when they are needed.
2000-03-12asm workaround for SuSE LinuxUlf Möller
proposed by Holger Reif
2000-03-10Use L for all constants.Ulf Möller
2000-03-09bug fix.Ulf Möller
Submitted by: "Yoram Meroz" <yoram@mail.idrive.com>
2000-03-02Add missing dependencies.Bodo Möller
2000-02-25The main() return value is a program's exit code.Ulf Möller