From 9b74609f23a192cfd55d8e0652aef7a20d5bd1f6 Mon Sep 17 00:00:00 2001 From: Vaibhav Agrawal Date: Fri, 2 Jul 2021 17:14:34 +0530 Subject: [PATCH] mmc: host: Do not include standard key support for QTI crypto Do not include standard key support while creating a keyslot manager because current implementation does not support standard keys with hardware key manager. This leads to per file key test failure, which tries generate standard keys and performs operations using it. Per file keys should by default use fallback mechanism in block crypto. Test: Verified bootup and vts_kernel_encryption_test. Also verified by customers. Change-Id: I4aaf532028374e2729868a82e970572e6e6985e0 Signed-off-by: Vaibhav Agrawal --- drivers/mmc/host/cqhci-crypto-qti.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/cqhci-crypto-qti.c b/drivers/mmc/host/cqhci-crypto-qti.c index 37766d13854d..8e906c96fbc2 100644 --- a/drivers/mmc/host/cqhci-crypto-qti.c +++ b/drivers/mmc/host/cqhci-crypto-qti.c @@ -213,7 +213,6 @@ int cqhci_host_init_crypto_qti_spec(struct cqhci_host *host, host->mmc->ksm = keyslot_manager_create(host->mmc->parent, cqhci_num_keyslots(host), ksm_ops, - BLK_CRYPTO_FEATURE_STANDARD_KEYS | BLK_CRYPTO_FEATURE_WRAPPED_KEYS, crypto_modes_supported, host);