linux/arch/s390/crypto
Jan Glauber c708c57e24 [S390] prng: prevent access beyond end of stack
While initializing the state of the prng only the first 8 bytes of
random data where used, the second 8 bytes were read from the memory
after the stack. If only 64 bytes of the kernel stack are used and
CONFIG_DEBUG_PAGEALLOC is enabled a kernel panic may occur because of
the invalid page access. Use the correct multiplicator to stay within
the random data buffer.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-04-20 10:15:43 +02:00
..
Makefile crypto: des_s390: use generic weak key check 2010-05-21 22:04:46 +10:00
aes_s390.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2010-02-26 16:50:02 -08:00
crypt_s390.h [S390] cleanup facility list handling 2010-10-25 16:10:21 +02:00
crypto_des.h crypto: des_s390 - Checkpatch cleanup 2010-05-26 10:41:03 +10:00
des_check_key.c
des_s390.c crypto: des_s390: use generic weak key check 2010-05-21 22:04:46 +10:00
prng.c [S390] prng: prevent access beyond end of stack 2011-04-20 10:15:43 +02:00
sha.h crypto: sha-s390 - Switch to shash 2009-02-18 16:48:07 +08:00
sha1_s390.c crypto: sha-s390 - Fix warnings in import function 2009-09-05 16:27:35 +10:00
sha256_s390.c crypto: sha-s390 - Fix warnings in import function 2009-09-05 16:27:35 +10:00
sha512_s390.c crypto: sha-s390 - Fix warnings in import function 2009-09-05 16:27:35 +10:00
sha_common.c crypto: sha-s390 - Reset index after processing partial block 2011-02-07 20:26:06 +11:00