]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:46:03 +0000 (15:46 -0700)
commit9491caadcce80a2f501391d1a7a45c56c7465a32
tree3bc57a9cbc070f5d24ba749b0c3dfa48db078a50
parentb770c1b61b5a61b5c392e9f9b2d8491c987980ca
crypto: ccp - Limit the amount of information exported

Orabug: 23331051

[ 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>
(cherry picked from commit 5badf7e00f0968d820bf7bba9081339bfca3489c)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/crypto/ccp/ccp-crypto-aes-cmac.c
drivers/crypto/ccp/ccp-crypto-sha.c
drivers/crypto/ccp/ccp-crypto.h