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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 1 Feb 2016 14:27:05 +0000 (22:27 +0800)
commitd1662165ae612ec8b5f94a6b07e65ea58b6dce34
tree7aab5279425b9e40e844c7d2237b6e952e708bb3
parent0529900a01cb840feb7f7e2f64ed88f7a9ed0031
crypto: ccp - Limit the amount of information exported

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>
drivers/crypto/ccp/ccp-crypto-aes-cmac.c
drivers/crypto/ccp/ccp-crypto-sha.c
drivers/crypto/ccp/ccp-crypto.h