crypto: ccp - Use precalculated hash from headers
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Thu, 17 Dec 2015 12:45:41 +0000 (13:45 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Dec 2015 12:43:38 +0000 (20:43 +0800)
commitbdd75064d2b2068007f4fc5e26ac726e8617a090
tree98ee6ebc669e110b324118cf8b4e28b29f7295ed
parent8054b8005b9f5ae172dac79a49370bfcc027a0f5
crypto: ccp - Use precalculated hash from headers

Precalculated hash for empty message are now present in hash headers.
This patch just use them.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/Kconfig
drivers/crypto/ccp/ccp-ops.c