X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/680bedf81bb4e939d3137ef0a4d9ca25a4638355..89ae755da614975a84c65da6ffcf351dec60a690:/blowfish.h diff --git a/blowfish.h b/blowfish.h index f2f8b64..c8c0444 100644 --- a/blowfish.h +++ b/blowfish.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: blowfish.h,v 1.2 1999/12/10 23:29:48 mdw Exp $ + * $Id: blowfish.h,v 1.3 2000/06/17 10:48:13 mdw Exp $ * * The Blowfish block cipher * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: blowfish.h,v $ + * Revision 1.3 2000/06/17 10:48:13 mdw + * Support new key size interface. + * * Revision 1.2 1999/12/10 23:29:48 mdw * Change header file guard names. * @@ -63,9 +66,11 @@ /*----- Magical numbers ---------------------------------------------------*/ #define BLOWFISH_BLKSZ 8 -#define BLOWFISH_KEYSZ 0 +#define BLOWFISH_KEYSZ 32 #define BLOWFISH_CLASS (N, B, 64) +extern const octet blowfish_keysz[]; + /*----- Data structures ---------------------------------------------------*/ typedef struct blowfish_ctx {