From: Niels Möller Date: Sun, 17 Jun 2001 17:55:54 +0000 (+0200) Subject: * blowfish.h (BLOWFISH_MAX_KEY_SIZE): Fixed, should be 56. X-Git-Tag: release_nettle_0.2.20010617~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08b250a612b20b3d5b37f10db07f5831110ae2c6;p=thirdparty%2Fnettle.git * blowfish.h (BLOWFISH_MAX_KEY_SIZE): Fixed, should be 56. * blowfish.h (struct blowfish_ctx): Use a two-dimensional array for s. Rev: src/nettle/blowfish.h:1.6 --- diff --git a/blowfish.h b/blowfish.h index 19366775..eb346a77 100644 --- a/blowfish.h +++ b/blowfish.h @@ -32,7 +32,7 @@ /* Variable key size between 64 and 448 bits. */ #define BLOWFISH_MIN_KEY_SIZE 8 -#define BLOWFISH_MAX_KEY_SIZE 32 +#define BLOWFISH_MAX_KEY_SIZE 56 /* Default to 128 bits */ #define BLOWFISH_KEY_SIZE 16