From 62549fc9c2436ea7a3f466f023d823595bb0afe5 Mon Sep 17 00:00:00 2001 From: Vaibhav Agrawal Date: Fri, 9 Oct 2020 01:20:56 +0530 Subject: [PATCH] defconfig: Enable new file encryption framework Following flags are needed to support block crypto based inline encryption framework on EMCC devices: 1. CONFIG_MMC_CQHCI_CRYPTO. 2. CONFIG_MMC_CQHCI_CRYPTO_QTI. Test: 1. Device booted upto UI with File Based Encryption enabled. 2. Key insertion using fscryptctl tool. 3. Created new files under /data and checked retention across multiple re-boots. 4. vts_kernel_encryption_test tests. 5. check_encryption test for verifying metadata encryption. Change-Id: I574838b0e65e336d2c056ab7cfce8c9cd3e801e0 Signed-off-by: Vaibhav Agrawal --- arch/arm64/configs/vendor/holi_GKI.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/vendor/holi_GKI.config b/arch/arm64/configs/vendor/holi_GKI.config index 1c637282eeb5..aa0156374e44 100644 --- a/arch/arm64/configs/vendor/holi_GKI.config +++ b/arch/arm64/configs/vendor/holi_GKI.config @@ -150,6 +150,8 @@ CONFIG_CRYPTO_DEV_QCEDEV=m CONFIG_HW_RANDOM_MSM_LEGACY=m CONFIG_SCSI_UFS_CRYPTO_QTI=m CONFIG_QTI_HW_KEY_MANAGER=m +CONFIG_MMC_CQHCI_CRYPTO=m +CONFIG_MMC_CQHCI_CRYPTO_QTI=m CONFIG_QTI_CRYPTO_COMMON=m CONFIG_CNSS_GENL=m CONFIG_WCNSS_MEM_PRE_ALLOC=m