[openwrt/openwrt] kernel: crypto: use ARM64 SHA256 CE optimized module for more targets
LEDE Commits
lede-commits at lists.infradead.org
Fri Mar 8 08:16:23 PST 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ce2b302ca43b42ef4a51baf875180fa03787e21f
commit ce2b302ca43b42ef4a51baf875180fa03787e21f
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Wed Mar 6 22:21:47 2024 +0100
kernel: crypto: use ARM64 SHA256 CE optimized module for more targets
At start I only set qualcommax to use the Crypto Extensions optimized
version of SHA256 as I knew it supports the optional Crypto Extensions.
However, after looking into the tree there are more targets/subtargets
that I could find at least a specification sheet that says the support
Cryptographic Extensions, so lets add them.
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/kernel/linux/modules/crypto.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index a73062c611..b7cecb8919 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -1027,7 +1027,12 @@ define KernelPackage/crypto-sha256/x86_64
endef
endif
+KernelPackage/crypto-sha256/mediatek/filogic=$(KernelPackage/crypto-sha256/aarch64-ce)
+KernelPackage/crypto-sha256/mediatek/mt7622=$(KernelPackage/crypto-sha256/aarch64-ce)
+KernelPackage/crypto-sha256/mvebu/cortexa53=$(KernelPackage/crypto-sha256/aarch64-ce)
+KernelPackage/crypto-sha256/mvebu/cortexa72=$(KernelPackage/crypto-sha256/aarch64-ce)
KernelPackage/crypto-sha256/qualcommax=$(KernelPackage/crypto-sha256/aarch64-ce)
+KernelPackage/crypto-sha256/rockchip/armv8=$(KernelPackage/crypto-sha256/aarch64-ce)
ifdef KernelPackage/crypto-sha256/$(ARCH)
KernelPackage/crypto-sha256/$(CRYPTO_TARGET)=\
More information about the lede-commits
mailing list