aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/Makefile
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2022-06-01 20:26:31 +0200
committerTom Rini <trini@konsulko.com>2022-06-27 13:36:28 -0400
commit0fcc1c76d1acaa68a0675f0baa0e5d9a25908bae (patch)
tree5f9a634239d20404cbc5cf97080ae558176d28be /arch/arm/cpu/armv8/Makefile
parent915047048f0acd3dbfe8605b854f151815f9be96 (diff)
downloadu-boot-0fcc1c76d1acaa68a0675f0baa0e5d9a25908bae.zip
u-boot-0fcc1c76d1acaa68a0675f0baa0e5d9a25908bae.tar.gz
u-boot-0fcc1c76d1acaa68a0675f0baa0e5d9a25908bae.tar.bz2
armv8 SHA-256 using ARMv8 Crypto Extensions
This patch adds support for the SHA-256 Secure Hash Algorithm for CPUs that have support for the SHA-256 part of the ARM v8 Crypto Extensions. It greatly improves sha-256 based operations, about 17x faster on iMX8M evk board. ~12ms vs ~208ms for a 20MiB kernel sha-256 verification. asm implementation is a simplified version of the Linux version (from Ard Biesheuvel). Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Diffstat (limited to 'arch/arm/cpu/armv8/Makefile')
-rw-r--r--arch/arm/cpu/armv8/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/Makefile b/arch/arm/cpu/armv8/Makefile
index ff2495c..2e4bf9e 100644
--- a/arch/arm/cpu/armv8/Makefile
+++ b/arch/arm/cpu/armv8/Makefile
@@ -45,3 +45,4 @@ obj-$(CONFIG_ARMV8_PSCI) += psci.o
obj-$(CONFIG_TARGET_BCMNS3) += bcmns3/
obj-$(CONFIG_XEN) += xen/
obj-$(CONFIG_ARMV8_CE_SHA1) += sha1_ce_glue.o sha1_ce_core.o
+obj-$(CONFIG_ARMV8_CE_SHA256) += sha256_ce_glue.o sha256_ce_core.o