forked from Minki/linux
bdd75064d2
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>
25 lines
795 B
Plaintext
25 lines
795 B
Plaintext
config CRYPTO_DEV_CCP_DD
|
|
tristate "Cryptographic Coprocessor device driver"
|
|
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,
|
|
AES and more. If you choose 'M' here, this module will be called
|
|
ccp.
|
|
|
|
config CRYPTO_DEV_CCP_CRYPTO
|
|
tristate "Encryption and hashing offload support"
|
|
depends on CRYPTO_DEV_CCP_DD
|
|
default m
|
|
select CRYPTO_HASH
|
|
select CRYPTO_BLKCIPHER
|
|
select CRYPTO_AUTHENC
|
|
help
|
|
Support for using the cryptographic API with the AMD Cryptographic
|
|
Coprocessor. This module supports offload of SHA and AES algorithms.
|
|
If you choose 'M' here, this module will be called ccp_crypto.
|