crypto: sparc - initialize blkcipher.ivsize
authorDave Kleikamp <dave.kleikamp@oracle.com>
Mon, 5 Oct 2015 15:08:51 +0000 (10:08 -0500)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 13 Nov 2015 18:17:45 +0000 (13:17 -0500)
commitd9d554c9e98a9f63fdfa5c72049f0b126d58df76
tree56344e7bf83d78f0b1de3fce6fea5d50d5b8974b
parente2fd4b16c7d495b1120dff97bb2de2a7079c53d0
crypto: sparc - initialize blkcipher.ivsize

[ Upstream commit a66d7f724a96d6fd279bfbd2ee488def6b081bea ]

Some of the crypto algorithms write to the initialization vector,
but no space has been allocated for it. This clobbers adjacent memory.

Cc: stable@vger.kernel.org
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/sparc/crypto/aes_glue.c
arch/sparc/crypto/camellia_glue.c
arch/sparc/crypto/des_glue.c