aboutsummaryrefslogtreecommitdiff
path: root/crypto/des/des_old.h
AgeCommit message (Collapse)AuthorFilesLines
2002-06-29Do not define crypt() on OpenBSD. Notified by Bob Beck of OpenBSD.Richard Levitte1-1/+1
2002-06-11Fix warnings.Ben Laurie1-1/+1
2002-03-26Add the mapping of des_random_seed() for 0.9.6 compatibility.Richard Levitte1-26/+32
Make sure DES_cblock is defined at all times (meaning one shouldn't include openssl/des_old.h directly any more).
2002-03-22Merge changes from 0.9.7-stableRichard Levitte1-23/+35
2002-03-22Merge in DES changed from 0.9.7-stable.Richard Levitte1-13/+30
2002-03-05typoBodo Möller1-1/+1
2002-03-05Provide a pre 0.9.7 compatibility mapping ifRichard Levitte1-57/+150
OPENSSL_DES_PRE_0_9_7_COMPATIBILITY is defined. NOT AT ALL TESTED YET! Add a comment as to the libdes compatibility.
2002-02-05With the changed des_old API, let's complete the work by renaming theRichard Levitte1-0/+10
functions in ui_compat. This gave reason to rework that part more thoroughly, so here are the changes made: 1. Add DES_read_password() and DES_read_2passwords() with the same functionality as the corresponding old des_ functions, as a convenience to the users. 2. Add UI_UTIL_read_pw_string() and UI_UTIL_read_pw() with the functionality from des_read_pw_string() and des_read_pw(), again as a concenience to the users. 3. Rename des_read_password(), des_read_2passwords(), des_read_pw_string() and des_read_pw() by changing des_ to _ossl_old_des_, and add the usual mapping macros. 4. Move the implementation of des_read_password() and des_read_2passwords() to the des directory, since they are tightly tied to DES anyway. This change was inspired by a patch from Assar Westerlund <assar@sics.se>: There are some functions that didn't get the kick-away-old-des-and- replace-des-with-DES action. Here's a patch that adds DES_ and des_ (in des_old.h) versions of des_read_pw_string et al. This patch includes some of the first des_old.h semi-colon macro fixes that I've already sent.
2002-02-05Apply three patches from Assar Westerlund <assar@kth.se>:Richard Levitte1-16/+16
This patch makes the macros in des_old.h actually pretend to be functions. There's no reason not to define _ossl_old_crypt when using PERL5/FreeBSD/darwin/Next, since it makes using crypt and including des.h break. Here's a trivial patch. This patch fixes some of the typos used in macro names in des_old.h and the number of arguments for some of them.
2002-01-26I got a request to make the "old des" symbols more closely tied toRichard Levitte1-70/+70
OpenSSL. Adding '_ossl' in the name seems to be a good way to do this.
2002-01-24To avoid all kinds of link-level clashes, rename all old des_*Richard Levitte1-34/+106
functions to _old_des_*.
2001-11-06des_old.h doesn't really need to include des.h, so don't. That willRichard Levitte1-3/+2
avoid clashes with other code that have their own DES_ functions but really only use OpenSSL's old des_ functions.
2001-10-25remove redundant definitions that are also in des.hBodo Möller1-9/+0
2001-10-25filenames are des_old.[ch], not des.comp*Bodo Möller1-2/+2
2001-10-25Have the removal warnings very high up in the source.Richard Levitte1-15/+16
2001-10-24Due to an increasing number of clashes between modern OpenSSL andRichard Levitte1-0/+236
libdes (which is still used out there) or other des implementations, the OpenSSL DES functions are renamed to begin with DES_ instead of des_. Compatibility routines are provided and declared by including openssl/des_old.h. Those declarations are the same as were in des.h when the OpenSSL project started, which is exactly how libdes looked at that time, and hopefully still looks today. The compatibility functions will be removed in some future release, at the latest in version 1.0.