Thread (60 messages) 60 messages, 7 authors, 2024-06-25

Re: [PATCH v5 07/15] ufs: core: support wrapped keys in ufs core

From: Dmitry Baryshkov <hidden>
Date: 2024-06-17 08:01:16
Also in: linux-arm-msm, linux-devicetree, linux-mmc, linux-scsi, lkml

On Sun, Jun 16, 2024 at 05:51:02PM GMT, Gaurav Kashyap wrote:
Since wrapped keys are not part of the UFS specifications,
it needs to be treated as a supported quirk of the UFS
controller. This way, based on the quirk set during a host
probe, UFS crypto can choose to register either standard or
wrapped keys with block crypto profile.
No. It is the user who must be able to select whether to use HW-wrapped
keys or not. The hardware / driver can only specify whether HW-wrapped
keys are supported or not.
Tested-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Gaurav Kashyap <redacted>
---
 drivers/ufs/core/ufshcd-crypto.c | 24 ++++++++++++++++--------
 include/ufs/ufshcd.h             |  6 ++++++
 2 files changed, 22 insertions(+), 8 deletions(-)

-- 
With best wishes
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help