Re: [f2fs-dev] [PATCH v4 5/8] scsi: ufs: UFS crypto API

2019-08-27 Thread Eric Biggers
On Wed, Aug 21, 2019 at 12:57:11AM -0700, Satya Tangirala wrote: > +static int ufshcd_crypto_cap_find(void *hba_p, > +enum blk_crypto_mode_num crypto_mode, > +unsigned int data_unit_size) > +{ > + struct ufs_hba *hba = hba_p; > + enum ufs_cryp

[f2fs-dev] [PATCH v4 5/8] scsi: ufs: UFS crypto API

2019-08-21 Thread Satya Tangirala via Linux-f2fs-devel
Introduce functions to manipulate UFS inline encryption hardware in line with the JEDEC UFSHCI v2.1 specification and to work with the block keyslot manager. Signed-off-by: Satya Tangirala --- drivers/scsi/ufs/Kconfig | 10 + drivers/scsi/ufs/Makefile| 1 + drivers/scsi/ufs/uf