aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des
Commit message (Collapse)AuthorAgeFilesLines
* Use ui_compat.h to get the password reading functions.Richard Levitte2001-05-141-0/+1
|
* Move the password reading functions completely away from the DESRichard Levitte2001-05-131-9/+0
| | | | | | | 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.
* #if 0 out deleted (?) functions to stop Win32 DLLDr. Stephen Henson2001-05-131-1/+4
| | | | build falling over.
* make updateRichard Levitte2001-05-061-15/+2
|
* Add a general user interface API. This is designed to replace thingsRichard Levitte2001-05-061-4/+7
| | | | | | | 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.
* Complete the des_encrypt to des_encrypt1 rename in the mainRichard Levitte2001-03-305-36/+36
| | | | development line as well.
* Since there has been reports of clashes between OpenSSL'sRichard Levitte2001-03-2914-34/+34
| | | | | | | | 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.
* Instead of telling both 'make' and the user that ranlibBodo Möller2001-03-091-2/+1
| | | | | | errors can be tolerated, hide the error from 'make'. This gives shorter output both if ranlib fails and if it works.
* Code for better build under Darwin (MacOS X).Richard Levitte2001-03-072-2/+2
| | | | Submitted by Brad Dominy <jdominy@darwinuser.org>
* Introduce the possibility to access global variables throughRichard Levitte2001-03-023-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* e_os.h does not belong with the exported headers. Do not put it thereRichard Levitte2001-02-221-10/+10
| | | | | | | | 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.
* Use e_os2.h rather than opensslconf.h, since some needed macros areRichard Levitte2001-02-223-6/+7
| | | | defined there.
* OpenVMS catches up.Richard Levitte2001-02-201-2/+2
|
* Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMSRichard Levitte2001-02-201-1/+1
| | | | get a chance to be defined.
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-206-48/+48
| | | | | | | 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.
* Make all configuration macros available for application by makingRichard Levitte2001-02-196-34/+38
| | | | | | | | | | | | 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.
* Can't remember why this was needed?Ben Laurie2001-02-041-1/+2
|
* If OPENSSL_BUILD_SHLIBCRYPTO (for files that end up as libcryptoRichard Levitte2000-12-313-0/+16
| | | | | | | 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.
* Various Win32 related fixes. Doesn't compile yet onDr. Stephen Henson2000-12-211-1/+0
| | | | | | | | | | | | | | 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.
* 'ranlib' doesn't always run on some systems. That's actuallyRichard Levitte2000-09-251-1/+2
| | | | | acceptable, since all that happens if it fails is a library with an index, which makes linking slower, but still working correctly.
* Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>Richard Levitte2000-09-211-0/+6
|
* Fix some CygWin problems.Ulf Möller2000-09-091-1/+1
|
* 'make update'Richard Levitte2000-09-071-3/+5
|
* On Unicos, shorts are 8 bytes, so instead, use a structure with 2 32-bit ↵Richard Levitte2000-08-031-1/+11
| | | | ints, just as in destest.c
* Enable DSO support on alpha (OSF1), cc and gcc.Geoff Thorpe2000-06-131-3/+6
| | | | | | 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.
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-013-6/+6
| | | | | | | | | 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.
* #include <stdio.h> not needed.Ulf Möller2000-05-311-1/+0
|
* MacOS changes.Ulf Möller2000-05-151-5/+7
|
* In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte2000-05-021-4/+4
| | | | | | "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.
* _lrotl and _lrotr are defined in MSVC but nowhere else that we knowRichard Levitte2000-04-011-1/+1
| | | | off.
* Removed, especially since it conflicts with des.pod onRichard Levitte2000-03-271-16/+0
| | | | case-insensitive file systems.
* Fix a memory leak in PKCS12_parse.Dr. Stephen Henson2000-03-221-1/+1
| | | | | Don't copy private key to X509 etc public key structures. Fix for warning.
* make updateRichard Levitte2000-03-201-1/+1
|
* Integrate podd.h sk.h into set_key.cUlf Möller2000-03-195-301/+169
|
* make updateUlf Möller2000-03-191-6/+2
|
* cleanup.Ulf Möller2000-03-196-124/+38
|
* libdes manpage.Ulf Möller2000-03-191-261/+0
| | | | | This may still contain a few errors from the old documentation, but most of it should make sense.
* des_quad_cksum() byte order bug fix.Ulf Möller2000-03-192-53/+47
| | | | | | | | | | | | | | | 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
* DES in Perl was incomplete and not very usefulUlf Möller2000-03-188-1252/+0
|
* superseded by des_modes.podUlf Möller2000-03-181-84/+0
|
* change manpages to pod. Contents are not up to date!Ulf Möller2000-03-183-604/+388
|
* Insert a comment: This is one of the few files in this directoryBodo Möller2000-03-141-0/+5
| | | | | that is actually used (even though it may not appear so at first sight).
* Remove "Makefile.uni" files and some related stuff.Bodo Möller2000-03-143-515/+0
| | | | | | | | 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.
* Remove Win32 assembler files. They are always rebuilt (with someBodo Möller2000-03-132-4061/+0
| | | | choice of parameters) when they are needed.
* asm workaround for SuSE LinuxUlf Möller2000-03-121-2/+2
| | | | proposed by Holger Reif
* Use L for all constants.Ulf Möller2000-03-101-3/+3
|
* bug fix.Ulf Möller2000-03-091-1/+1
| | | | Submitted by: "Yoram Meroz" <yoram@mail.idrive.com>
* Add missing dependencies.Bodo Möller2000-03-021-2/+2
|
* The main() return value is a program's exit code.Ulf Möller2000-02-251-2/+1
|
* More VC++ pickiness. (destest.c doesn't have a "return" and the usualGeoff Thorpe2000-02-251-0/+1
| | | | | | | | signed/unsigned stuff in s3_pkt.c) Submitted by: Reviewed by: PR: