X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/d03ab969116fe715d569304c1c474749b2f64529..f41f820e4b3e230d9314cc4323abf59babdd4e67:/des3.h diff --git a/des3.h b/des3.h index ce57ac9..0a276f3 100644 --- a/des3.h +++ b/des3.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: des3.h,v 1.1 1999/09/03 08:41:11 mdw Exp $ + * $Id: des3.h,v 1.3 2000/06/17 10:52:32 mdw Exp $ * * Implementation of double- and triple-DES * @@ -30,13 +30,19 @@ /*----- Revision history --------------------------------------------------* * * $Log: des3.h,v $ + * Revision 1.3 2000/06/17 10:52:32 mdw + * Support new key size interface. + * + * Revision 1.2 1999/12/10 23:29:48 mdw + * Change header file guard names. + * * Revision 1.1 1999/09/03 08:41:11 mdw * Initial import. * */ -#ifndef DES3_H -#define DES3_H +#ifndef CATACOMB_DES3_H +#define CATACOMB_DES3_H #ifdef __cplusplus extern "C" { @@ -57,7 +63,7 @@ #include -#ifndef DES_H +#ifndef CATACOMB_DES_H # include "des.h" #endif @@ -67,6 +73,8 @@ #define DES3_KEYSZ 21 #define DES3_CLASS (N, B, 64) +extern const octet des3_keysz[]; + /*----- Data structures ---------------------------------------------------*/ typedef struct des3_ctx {