crypto: sparc - initialize blkcipher.ivsize
authorDave Kleikamp <dave.kleikamp@oracle.com>
Mon, 5 Oct 2015 15:08:51 +0000 (10:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 00:44:49 +0000 (09:44 +0900)
commit29e5b4243743e13be5196622fd0267657dc2ccf5
treea82e2e5338d0c8e7140ba60d23255e35dc0b7e4a
parent31e29b7bfcbece0d538cb4feec0e57b02b729ab2
crypto: sparc - initialize blkcipher.ivsize

commit a66d7f724a96d6fd279bfbd2ee488def6b081bea upstream.

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

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/crypto/aes_glue.c
arch/sparc/crypto/camellia_glue.c
arch/sparc/crypto/des_glue.c