mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add support for the Inside Secure SafeXcel EIP-93 Crypto Engine used on Mediatek MT7621 SoC and new Airoha SoC. EIP-93 IP supports AES/DES/3DES ciphers in ECB/CBC and CTR modes as well as authenc(HMAC(x), cipher(y)) using HMAC MD5, SHA1, SHA224 and SHA256. EIP-93 provide regs to signal support for specific chipers and the driver dynamically register only the supported one by the chip. Signed-off-by: Richard van Schagen <vschagen@icloud.com> Co-developed-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
20 lines
672 B
Text
20 lines
672 B
Text
# SPDX-License-Identifier: GPL-2.0
|
|
config CRYPTO_DEV_EIP93
|
|
tristate "Support for EIP93 crypto HW accelerators"
|
|
depends on SOC_MT7621 || ARCH_AIROHA ||COMPILE_TEST
|
|
select CRYPTO_LIB_AES
|
|
select CRYPTO_LIB_DES
|
|
select CRYPTO_SKCIPHER
|
|
select CRYPTO_AEAD
|
|
select CRYPTO_AUTHENC
|
|
select CRYPTO_MD5
|
|
select CRYPTO_SHA1
|
|
select CRYPTO_SHA256
|
|
help
|
|
EIP93 have various crypto HW accelerators. Select this if
|
|
you want to use the EIP93 modules for any of the crypto algorithms.
|
|
|
|
If the IP supports it, this provide offload for AES - ECB, CBC and
|
|
CTR crypto. Also provide DES and 3DES ECB and CBC.
|
|
|
|
Also provide AEAD authenc(hmac(x), cipher(y)) for supported algo.
|