From 405497f7089f296c20eb4ce233feda5b51f5d16b Mon Sep 17 00:00:00 2001 From: mdw Date: Thu, 22 Jun 2000 18:58:00 +0000 Subject: [PATCH] Twofish can handle keys with any byte-aligned size. --- twofish.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 --------------------------------------------------*/ -- 2.11.0