diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2016-02-25 16:48:13 -0600 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-02-28 03:26:35 +0800 |
commit | ce0ae266feaf35930394bd770c69778e4ef03ba9 (patch) | |
tree | ac36429324fa84177f969279f17a274158661c32 /drivers/crypto/ixp4xx_crypto.c | |
parent | 9c6bd0c2f103f4748cb4abcaf141f7d11aabfe9f (diff) | |
download | kernel_replicant_linux-ce0ae266feaf35930394bd770c69778e4ef03ba9.tar.gz kernel_replicant_linux-ce0ae266feaf35930394bd770c69778e4ef03ba9.tar.bz2 kernel_replicant_linux-ce0ae266feaf35930394bd770c69778e4ef03ba9.zip |
crypto: ccp - memset request context to zero during import
Since a crypto_ahash_import() can be called against a request context
that has not had a crypto_ahash_init() performed, the request context
needs to be cleared to insure there is no random data present. If not,
the random data can result in a kernel oops during crypto_ahash_update().
Cc: <stable@vger.kernel.org> # 3.14.x-
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ixp4xx_crypto.c')
0 files changed, 0 insertions, 0 deletions