[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>

No differences found