summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2016-02-26 01:48:13 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-27 22:26:35 +0300
commitce0ae266feaf35930394bd770c69778e4ef03ba9 (patch)
treeac36429324fa84177f969279f17a274158661c32 /lib/mpi/mpi-inline.h
parent9c6bd0c2f103f4748cb4abcaf141f7d11aabfe9f (diff)
downloadlinux-ce0ae266feaf35930394bd770c69778e4ef03ba9.tar.xz
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 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions