From 4d696d393e4a45ef51b596fc36eece9e96f0251b Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Mon, 28 Oct 2019 21:23:00 -0700 Subject: [PATCH] ipq40xx: Qualcomm HW Crypto Engine fixes --- config/Config-kernel.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 1e7d74fea..9a82b9ecc 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -244,6 +244,21 @@ config KERNEL_DEBUG_GPIO bool "Compile the kernel with gpio debugging" select KERNEL_DEBUG_KERNEL +choice + prompt "Algorithms enabled for QCE acceleration" + default KERNEL_CRYPTO_DEV_QCE_ENABLE_ALL + depends on TARGET_ipq40xx + + config KERNEL_CRYPTO_DEV_QCE_ENABLE_ALL + bool "All supported algorithms" + + config KERNEL_CRYPTO_DEV_QCE_ENABLE_BLKCIPHER + bool "Block ciphers only" + + config KERNEL_CRYPTO_DEV_QCE_ENABLE_SHA + bool "Hash/HMAC only" +endchoice + config KERNEL_COREDUMP bool