[LEDE-DEV] [PATCH] imx6: enable ARM crypto acceleration

Koen Vandeputte koen.vandeputte at ncentric.com
Thu Sep 1 06:11:07 PDT 2016


Signed-off-by: Koen Vandeputte <koen.vandeputte at ncentric.com>

diff --git a/target/linux/imx6/config-4.4 b/target/linux/imx6/config-4.4
index 7591ab1..a2568b5 100644
--- a/target/linux/imx6/config-4.4
+++ b/target/linux/imx6/config-4.4
@@ -28,6 +28,7 @@ CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
  CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
  CONFIG_ARM=y
  # CONFIG_ARM_CPU_SUSPEND is not set
+CONFIG_ARM_CRYPTO=y
  CONFIG_ARM_ERRATA_754322=y
  CONFIG_ARM_ERRATA_764369=y
  CONFIG_ARM_ERRATA_775420=y
@@ -84,12 +85,30 @@ CONFIG_CPU_THERMAL=y
  CONFIG_CPU_TLB_V7=y
  CONFIG_CPU_V7=y
  CONFIG_CRC16=y
+CONFIG_CRYPTO_ABLK_HELPER=y
+CONFIG_CRYPTO_AEAD=y
+CONFIG_CRYPTO_AEAD2=y
+CONFIG_CRYPTO_AES_ARM=y
+CONFIG_CRYPTO_AES_ARM_BS=y
+# CONFIG_CRYPTO_AES_ARM_CE is not set
  CONFIG_CRYPTO_CRC32C=y
+CONFIG_CRYPTO_CRYPTD=y
  CONFIG_CRYPTO_DEFLATE=y
+# CONFIG_CRYPTO_GHASH_ARM_CE is not set
  CONFIG_CRYPTO_HASH=y
  CONFIG_CRYPTO_HASH2=y
  CONFIG_CRYPTO_LZO=y
+CONFIG_CRYPTO_MANAGER=y
+CONFIG_CRYPTO_MANAGER2=y
+CONFIG_CRYPTO_NULL2=y
  CONFIG_CRYPTO_RNG2=y
+CONFIG_CRYPTO_SHA1=y
+CONFIG_CRYPTO_SHA1_ARM=y
+# CONFIG_CRYPTO_SHA1_ARM_CE is not set
+CONFIG_CRYPTO_SHA1_ARM_NEON=y
+CONFIG_CRYPTO_SHA256_ARM=y
+# CONFIG_CRYPTO_SHA2_ARM_CE is not set
+CONFIG_CRYPTO_SHA512_ARM=y
  CONFIG_CRYPTO_WORKQUEUE=y
  CONFIG_CRYPTO_XZ=y
  CONFIG_DCACHE_WORD_ACCESS=y




More information about the Lede-dev mailing list