]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: sdhci-msm: convert to use custom crypto profile
authorEric Biggers <ebiggers@google.com>
Fri, 13 Dec 2024 04:19:50 +0000 (20:19 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 19 Dec 2024 13:43:33 +0000 (14:43 +0100)
commit741521fa273fdd119f149dd208d7b60fc9400bb5
treea9648e636d00123c14bb1d68f06ce57127f96cb9
parent08a7ead3242f70f4415232800104ae458fd96d17
mmc: sdhci-msm: convert to use custom crypto profile

As is being done in ufs-qcom, make the sdhci-msm driver override the
full crypto profile rather than "just" key programming and eviction.
This makes it much more straightforward to add support for
hardware-wrapped inline encryption keys.  It also makes it easy to pass
the original blk_crypto_key down to qcom_ice_program_key() once it is
updated to require the key in that form.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Message-ID: <20241213041958.202565-8-ebiggers@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cqhci-crypto.c
drivers/mmc/host/cqhci.h
drivers/mmc/host/sdhci-msm.c