Re: 242-ac3 loop bug

Mario Hermann (ario@eikon.tum.de)
Mon, 26 Feb 2001 02:17:06 +0100


Hi!

Jonathan Oppenheim wrote:

> i have also been having trouble with many cyphers including
> blowfish (although twofish and idea worked). the error seems to be the
> same in all 2.4.x kernels (i have all the relevant options compiled
> as modules eg. loopback and ciphers))

I had the same problem today with blowfish. Following mini-diff works for
blowfish(apply after patch-int-2.4.0.3):

--- crypto/cipher-blowfish.c~ Sun Feb 25 13:33:42 2001
+++ crypto/cipher-blowfish.c Sun Feb 25 13:48:23 2001
@@ -404,6 +404,8 @@
u32 *P = key2->P;
u32 *S = key2->S;

+ if (keybytes<=0 || keybytes>32) return(-1);
+
/* Copy the initialization s-boxes */

for (i = 0, count = 0; i < 256; i++)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/