]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: ccp - Limit the amount of information exported
authorTom Lendacky <thomas.lendacky@amd.com>
Fri, 29 Jan 2016 18:45:14 +0000 (12:45 -0600)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:50:34 +0000 (08:50 -0400)
commit5badf7e00f0968d820bf7bba9081339bfca3489c
tree215bfe9aaae0b69ed2609bdffc555142d079b9b7
parent6896d28d701c95df209e15ce82bcc8024a7dbd90
crypto: ccp - Limit the amount of information exported

[ Upstream commit d1662165ae612ec8b5f94a6b07e65ea58b6dce34 ]

Since the exported information can be exposed to user-space, instead of
exporting the entire request context only export the minimum information
needed.

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/crypto/ccp/ccp-crypto-aes-cmac.c
drivers/crypto/ccp/ccp-crypto-sha.c
drivers/crypto/ccp/ccp-crypto.h