]> git.openpandora.org Git - pandora-kernel.git/commitdiff
[CRYPTO] api: Handle unaligned keys in setkey
authorSebastian Siewior <linux-crypto@ml.breakpoint.cc>
Sat, 19 May 2007 09:51:21 +0000 (19:51 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Jul 2007 12:58:54 +0000 (20:58 +0800)
setkey() in {cipher,blkcipher,ablkcipher,hash}.c does not respect the
requested alignment by the algorithm. This patch fixes it. The extra
memory is allocated by kmalloc() with GFP_ATOMIC flag.

Signed-off-by: Sebastian Siewior <linux-crypto@ml.breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ablkcipher.c
crypto/blkcipher.c
crypto/cipher.c
crypto/hash.c

Simple merge
Simple merge
diff --cc crypto/cipher.c
Simple merge
diff --cc crypto/hash.c
Simple merge