On Wed, Dec 08, 2021 at 12:09:03AM +0000, Gaurav Kashyap wrote: > Hey Eric, here are the answers to some of the questions across all the patches > > > Also, at runtime, does any of the Qualcomm hardware support multiple key > > types, and if so can they be used at the same time? > > Currently, with hardware key manager data path, there is no support for > standard keys. So, when HWKM is being used, only wrapped keys are supported. > If standard keys need to be supported, it can be, but modifications are > required within trustzone. Do the SoCs support both key types though, just not at the same time? E.g. when the ufs_qcom driver loads on SM8350, could it choose to expose either standard key support or wrapped key support, or is it predetermined by the hardware and/or firmware? If the driver has a choice, then there should be a kernel module parameter (module_param()) that controls it, so that the user can choose which key type they want when they boot their kernel. - Eric