aboutsummaryrefslogtreecommitdiffstats
path: root/patches/0990-arm64-defconfig-add-newly-added-accelerated-crypto-m.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0990-arm64-defconfig-add-newly-added-accelerated-crypto-m.patch')
-rw-r--r--patches/0990-arm64-defconfig-add-newly-added-accelerated-crypto-m.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/0990-arm64-defconfig-add-newly-added-accelerated-crypto-m.patch b/patches/0990-arm64-defconfig-add-newly-added-accelerated-crypto-m.patch
new file mode 100644
index 00000000000000..41894ff23251dd
--- /dev/null
+++ b/patches/0990-arm64-defconfig-add-newly-added-accelerated-crypto-m.patch
@@ -0,0 +1,33 @@
+From b66f3261daa6eaf5e1a2a737bbebe28256ea8f00 Mon Sep 17 00:00:00 2001
+From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
+Date: Wed, 14 Feb 2018 09:26:36 +0000
+Subject: [PATCH 0990/1795] arm64: defconfig: add newly added accelerated
+ crypto modules
+
+New crypto drivers have been introduced in v4.16 that implement the
+SHA-512, SHA3 and SM3 secure hash algorithms using ARMv8.2 optional
+instructions. Add these drivers to arm64's defconfig as modules.
+
+Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
+Signed-off-by: Arnd Bergmann <arnd@arndb.de>
+(cherry picked from commit b1bdf5084e88acdab7f9f8084e308f7cd8eed3a0)
+Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
+Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
+---
+ arch/arm64/configs/defconfig | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
+index 3f6606291cf5..2c2e7631832d 100644
+--- a/arch/arm64/configs/defconfig
++++ b/arch/arm64/configs/defconfig
+@@ -637,3 +637,6 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
+ CONFIG_CRYPTO_AES_ARM64_NEON_BLK=m
+ CONFIG_CRYPTO_CHACHA20_NEON=m
+ CONFIG_CRYPTO_AES_ARM64_BS=m
++CONFIG_CRYPTO_SHA512_ARM64_CE=m
++CONFIG_CRYPTO_SHA3_ARM64=m
++CONFIG_CRYPTO_SM3_ARM64_CE=m
+--
+2.19.0
+