mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-23 21:08:23 +00:00
kernel: crypto: add atmel i2c hw accelerator support
Add support for Microchip / Atmel ECC/SHA/RNG hw accelerator.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/17253
(cherry picked from commit 9d434a8abf
)
Link: https://github.com/openwrt/openwrt/pull/17348
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
738c9e5286
commit
48f9284232
@ -366,6 +366,26 @@ endef
|
|||||||
$(eval $(call KernelPackage,crypto-hmac))
|
$(eval $(call KernelPackage,crypto-hmac))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/crypto-hw-atmel
|
||||||
|
TITLE:=Microchip / Atmel ECC/SHA/RNG hw accelerator
|
||||||
|
DEPENDS:=+kmod-i2c-core +kmod-crypto-ecdh +kmod-crypto-sha1 \
|
||||||
|
+kmod-crypto-sha256 +kmod-lib-crc16 +kmod-random-core
|
||||||
|
KCONFIG:= \
|
||||||
|
CONFIG_CRYPTO_HW=y \
|
||||||
|
CONFIG_CRYPTO_DEV_ATMEL_I2C \
|
||||||
|
CONFIG_CRYPTO_DEV_ATMEL_ECC \
|
||||||
|
CONFIG_CRYPTO_DEV_ATMEL_SHA204A
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/drivers/crypto/atmel-i2c.ko \
|
||||||
|
$(LINUX_DIR)/drivers/crypto/atmel-ecc.ko \
|
||||||
|
$(LINUX_DIR)/drivers/crypto/atmel-sha204a.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,09,atmel-i2c atmel-ecc atmel-sha204a)
|
||||||
|
$(call AddDepends/crypto)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,crypto-hw-atmel))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/crypto-hw-ccp
|
define KernelPackage/crypto-hw-ccp
|
||||||
TITLE:=AMD Cryptographic Coprocessor
|
TITLE:=AMD Cryptographic Coprocessor
|
||||||
DEPENDS:= \
|
DEPENDS:= \
|
||||||
|
Loading…
Reference in New Issue
Block a user