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 <vagrawa@codeaurora.org>
This commit is contained in:
Vaibhav Agrawal 2021-07-02 17:14:34 +05:30 • committed by Gerrit - the friendly Code Review server
commit 9b74609f23

View file

@ -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);