2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/crypto
David McCullough 55e9dce37d [CRYPTO] aes: Fixed array boundary violation
The AES setkey routine writes 64 bytes to the E_KEY area even though
there are only 60 bytes there.  It is in fact safe since E_KEY is
immediately follwed by D_KEY which is initialised afterwards.  However,
doing this may trigger undefined behaviour and makes Coverity unhappy.

So by combining E_KEY and D_KEY into one array we sidestep this issue
altogether.

This problem was reported by Adrian Bunk.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-03-21 20:14:10 +11:00
..
aes.c [CRYPTO] aes: Fixed array boundary violation 2006-03-21 20:14:10 +11:00
anubis.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
api.c [CRYPTO] all: Use kzalloc where possible 2006-03-21 20:14:08 +11:00
arc4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
blowfish.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
cast5.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
cast6.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
cipher.c [CRYPTO] cipher: Align temporary buffer in cbc_process_decrypt 2006-01-09 14:15:49 -08:00
compress.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crc32c.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
crypto_null.c [PATCH] crypto: fix null encryption/compression 2005-05-17 07:59:18 -07:00
deflate.c [CRYPTO] all: Use kzalloc where possible 2006-03-21 20:14:08 +11:00
des.c [CRYPTO] all: Add missing cra_alignmask 2006-03-21 20:14:09 +11:00
digest.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hmac.c [PATCH] Use sg_set_buf/sg_init_one where applicable 2005-10-30 11:19:43 +11:00
internal.h [CRYPTO] Allow multiple implementations of the same algorithm 2006-01-09 14:15:37 -08:00
Kconfig [CRYPTO] Allow AES C/ASM implementations to coexist 2006-01-09 14:15:39 -08:00
khazad.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md4.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
md5.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
michael_mic.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
proc.c [CRYPTO] Allow multiple implementations of the same algorithm 2006-01-09 14:15:37 -08:00
scatterwalk.c [PATCH] remove bogus asm/bug.h includes. 2006-02-07 20:56:35 -05:00
scatterwalk.h [CRYPTO] Add alignmask for low-level cipher implementations 2005-07-06 13:52:09 -07:00
serpent.c [CRYPTO] all: Add missing cra_alignmask 2006-03-21 20:14:09 +11:00
sha1.c [CRYPTO] sha1: Fixed off-by-64 bug in sha1_update 2006-01-09 14:15:56 -08:00
sha256.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
sha512.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
tcrypt.c [PATCH] s390: in-kernel crypto test vectors 2006-01-06 08:33:51 -08:00
tcrypt.h [CRYPTO] tcrypt: Fix key alignment 2006-03-21 20:14:09 +11:00
tea.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
tgr192.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
twofish.c [CRYPTO] twofish: Use rol32/ror32 where appropriate 2006-03-21 20:14:08 +11:00
wp512.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00