commit | ca7c39385ce1a7b44894a4b225a4608624e90730 | [log] [tgz] |
---|---|---|
author | Sebastian Siewior <linux-crypto@ml.breakpoint.cc> | Sat May 19 19:51:21 2007 +1000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jul 11 20:58:54 2007 +0800 |
tree | 107948d1bd8010ccb5185f34e2c2ef93098586cb | |
parent | fe3c5206adc5d7395828185ab73e9a522655b984 [diff] |
[CRYPTO] api: Handle unaligned keys in setkey 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>