X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/8dd8c294e9f330eb6b975c2b96cf9bbfcd087e5e..c760149fcb65296defd1af967fbfa098bd83143a:/twofish.c diff --git a/twofish.c b/twofish.c index 437a191..4ba4860 100644 --- a/twofish.c +++ b/twofish.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: twofish.c,v 1.1 2000/06/17 12:10:17 mdw Exp $ + * $Id: twofish.c,v 1.2 2000/06/22 18:58:00 mdw Exp $ * * Implementation of the Twofish cipher * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: twofish.c,v $ + * Revision 1.2 2000/06/22 18:58:00 mdw + * Twofish can handle keys with any byte-aligned size. + * * Revision 1.1 2000/06/17 12:10:17 mdw * New cipher. * @@ -49,7 +52,7 @@ /*----- Global variables --------------------------------------------------*/ -const octet twofish_keysz[] = { KSZ_RANGE, TWOFISH_KEYSZ, 4, 32, 4 }; +const octet twofish_keysz[] = { KSZ_RANGE, TWOFISH_KEYSZ, 0, 32, 1 }; /*----- Important tables --------------------------------------------------*/