diff options
author | Zaibo Xu <xuzaibo@huawei.com> | 2020-01-11 03:41:56 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-16 08:18:15 +0100 |
commit | 2f072d75d1ab32e9c7c43a54398f4360a0a42d5e (patch) | |
tree | 5b70b6f314982f6c337b8416e119bd4a86d7ae74 /drivers/crypto/hisilicon/Kconfig | |
parent | crypto: hisilicon - redefine skcipher initiation (diff) | |
download | linux-2f072d75d1ab32e9c7c43a54398f4360a0a42d5e.tar.xz linux-2f072d75d1ab32e9c7c43a54398f4360a0a42d5e.zip |
crypto: hisilicon - Add aead support on SEC2
authenc(hmac(sha1),cbc(aes)), authenc(hmac(sha256),cbc(aes)), and
authenc(hmac(sha512),cbc(aes)) support are added for SEC v2.
Signed-off-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/Kconfig')
-rw-r--r-- | drivers/crypto/hisilicon/Kconfig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig index 6e7c7573dc0c..8851161f722f 100644 --- a/drivers/crypto/hisilicon/Kconfig +++ b/drivers/crypto/hisilicon/Kconfig @@ -20,12 +20,18 @@ config CRYPTO_DEV_HISI_SEC2 select CRYPTO_ALGAPI select CRYPTO_LIB_DES select CRYPTO_DEV_HISI_QM + select CRYPTO_AEAD + select CRYPTO_AUTHENC + select CRYPTO_HMAC + select CRYPTO_SHA1 + select CRYPTO_SHA256 + select CRYPTO_SHA512 depends on PCI && PCI_MSI depends on ARM64 || (COMPILE_TEST && 64BIT) help Support for HiSilicon SEC Engine of version 2 in crypto subsystem. It provides AES, SM4, and 3DES algorithms with ECB - CBC, and XTS cipher mode. + CBC, and XTS cipher mode, and AEAD algorithms. To compile this as a module, choose M here: the module will be called hisi_sec2. |