linux-stable/crypto
Herbert Xu e381a0a116 [PATCH] Fix boundary check in standard multi-block cipher processors
[CRYPTO] Fix boundary check in standard multi-block cipher processors

Fixes Bug 5194 (IPSec related Oops in 2.6.13).

The boundary check in the standard multi-block cipher processors are
broken when nbytes is not a multiple of bsize.  In those cases it will
always process an extra block.

This patch corrects the check so that it processes at most nbytes of data.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-09-09 19:42:51 -07:00
..
Kconfig [CRYPTO] Add x86_64 asm AES 2005-07-06 13:55:00 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
aes.c [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
anubis.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
api.c [CRYPTO] Add null short circuit to crypto_free_tfm 2005-07-06 13:54:31 -07:00
arc4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
blowfish.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cast5.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cast6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cipher.c [PATCH] Fix boundary check in standard multi-block cipher processors 2005-09-09 19:42:51 -07:00
compress.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crc32c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crypto_null.c [PATCH] crypto: fix null encryption/compression 2005-05-17 07:59:18 -07:00
deflate.c [PATCH] crypto: call zlib end functions on deflate exit path 2005-04-16 15:23:58 -07:00
des.c [CRYPTO] Add faster DES code from Dag Arne Osvik 2005-07-06 13:55:44 -07:00
digest.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hmac.c [CRYPTO] Don't check for NULL before kfree() 2005-07-06 13:51:00 -07:00
internal.h [CRYPTO]: Fix zero-extension bug on 64-bit architectures. 2005-07-15 07:41:31 -07:00
khazad.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md5.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
michael_mic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scatterwalk.c [CRYPTO] Add plumbing for multi-block operations 2005-07-06 13:51:31 -07:00
scatterwalk.h [CRYPTO] Add alignmask for low-level cipher implementations 2005-07-06 13:52:09 -07:00
serpent.c [CRYPTO] Remove unused iv field from context structure 2005-07-06 13:55:21 -07:00
sha1.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sha256.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sha512.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcrypt.c [CRYPTO]: Use CPU cycle counters in tcrypt 2005-06-22 13:29:03 -07:00
tcrypt.h [CRYPTO]: Add cipher speed tests 2005-06-22 13:27:23 -07:00
tea.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tgr192.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
twofish.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wp512.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00