diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2015-12-17 15:45:41 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-12-22 15:43:38 +0300 |
commit | bdd75064d2b2068007f4fc5e26ac726e8617a090 (patch) | |
tree | 98ee6ebc669e110b324118cf8b4e28b29f7295ed /drivers/crypto/ccp/Kconfig | |
parent | 8054b8005b9f5ae172dac79a49370bfcc027a0f5 (diff) | |
download | linux-bdd75064d2b2068007f4fc5e26ac726e8617a090.tar.xz |
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>
Diffstat (limited to 'drivers/crypto/ccp/Kconfig')
-rw-r--r-- | drivers/crypto/ccp/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig index 3cd8481065f8..6e37845abf8f 100644 --- a/drivers/crypto/ccp/Kconfig +++ b/drivers/crypto/ccp/Kconfig @@ -3,6 +3,8 @@ config CRYPTO_DEV_CCP_DD depends on CRYPTO_DEV_CCP default m select HW_RANDOM + select CRYPTO_SHA1 + select CRYPTO_SHA256 help Provides the interface to use the AMD Cryptographic Coprocessor which can be used to offload encryption operations such as SHA, |