50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
config CRYPTO_DEV_EIP93_SKCIPHER
|
|
tristate
|
|
|
|
config CRYPTO_DEV_EIP93_HMAC
|
|
tristate
|
|
|
|
config CRYPTO_DEV_EIP93
|
|
tristate "Support for EIP93 crypto HW accelerators"
|
|
depends on SOC_MT7621 || COMPILE_TEST
|
|
help
|
|
EIP93 have various crypto HW accelerators. Select this if
|
|
you want to use the EIP93 modules for any of the crypto algorithms.
|
|
|
|
if CRYPTO_DEV_EIP93
|
|
|
|
config CRYPTO_DEV_EIP93_AES
|
|
bool "Register AES algorithm implementations with the Crypto API"
|
|
default y
|
|
select CRYPTO_DEV_EIP93_SKCIPHER
|
|
select CRYPTO_LIB_AES
|
|
select CRYPTO_SKCIPHER
|
|
help
|
|
Selecting this will offload AES - ECB, CBC and CTR crypto
|
|
to the EIP-93 crypto engine.
|
|
|
|
config CRYPTO_DEV_EIP93_DES
|
|
bool "Register legacy DES / 3DES algorithm with the Crypto API"
|
|
default y
|
|
select CRYPTO_DEV_EIP93_SKCIPHER
|
|
select CRYPTO_LIB_DES
|
|
select CRYPTO_SKCIPHER
|
|
help
|
|
Selecting this will offload DES and 3DES ECB and CBC
|
|
crypto to the EIP-93 crypto engine.
|
|
|
|
config CRYPTO_DEV_EIP93_AEAD
|
|
bool "Register AEAD algorithm with the Crypto API"
|
|
default y
|
|
select CRYPTO_DEV_EIP93_HMAC
|
|
select CRYPTO_AEAD
|
|
select CRYPTO_AUTHENC
|
|
select CRYPTO_MD5
|
|
select CRYPTO_SHA1
|
|
select CRYPTO_SHA256
|
|
help
|
|
Selecting this will offload AEAD authenc(hmac(x), cipher(y))
|
|
crypto to the EIP-93 crypto engine.
|
|
endif
|