diff options
author | Eric Biggers <[email protected]> | 2024-07-08 16:53:29 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-07-10 22:32:30 -0400 |
commit | 4c45dba50a3750a0834353c4187e7896b158bc0c (patch) | |
tree | 4155b7b267dccc57450440736128b1ba207a2b1e /lib/memory-notifier-error-inject.c | |
parent | 8ecea3da1567e0648b5d37a6faec73fc9c8571ba (diff) |
scsi: ufs: core: Add UFSHCD_QUIRK_KEYS_IN_PRDT
Since the nonstandard inline encryption support on Exynos SoCs requires
that raw cryptographic keys be copied into the PRDT, it is desirable to
zeroize those keys after each request to keep them from being left in
memory. Therefore, add a quirk bit that enables the zeroization.
We could instead do the zeroization unconditionally. However, using a
quirk bit avoids adding the zeroization overhead to standard devices.
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Peter Griffin <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Alim Akhtar <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions