[CRYPTO] api: fix writting into unallocated memory in setkey_aligned
commit06817176784f620984200dc5d7cbe16984f7b262
authorSebastian Siewior <sebastian@breakpoint.cc>
Fri, 3 Aug 2007 12:33:47 +0000 (3 20:33 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 6 Aug 2007 07:33:56 +0000 (6 15:33 +0800)
tree42de1788711cff6832c99a4f6a6518bb4f316935
parentd4ac2477fad0f2680e84ec12e387ce67682c5c13
[CRYPTO] api: fix writting into unallocated memory in setkey_aligned

setkey_unaligned() commited in ca7c39385ce1a7b44894a4b225a4608624e90730
overwrites unallocated memory in the following memset() because
I used the wrong buffer length.

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