Home
last modified time | relevance | path

Searched refs:crypto_profile (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/ufs/core/
H A Dufshcd-crypto.c113 blk_crypto_reprogram_all_keys(&hba->crypto_profile); in ufshcd_crypto_enable()
180 hba->dev, &hba->crypto_profile, in ufshcd_hba_init_crypto_capabilities()
185 hba->crypto_profile.ll_ops = ufshcd_crypto_ops; in ufshcd_hba_init_crypto_capabilities()
187 hba->crypto_profile.max_dun_bytes_supported = 8; in ufshcd_hba_init_crypto_capabilities()
188 hba->crypto_profile.key_types_supported = BLK_CRYPTO_KEY_TYPE_RAW; in ufshcd_hba_init_crypto_capabilities()
189 hba->crypto_profile.dev = hba->dev; in ufshcd_hba_init_crypto_capabilities()
204 hba->crypto_profile.modes_supported[blk_mode_num] |= in ufshcd_hba_init_crypto_capabilities()
228 for (slot = 0; slot < hba->crypto_profile.num_slots; slot++) in ufshcd_init_crypto()
229 hba->crypto_profile.ll_ops.keyslot_evict(&hba->crypto_profile, in ufshcd_init_crypto()
236 blk_crypto_register(&hba->crypto_profile, q); in ufshcd_crypto_register()
/linux/drivers/mmc/core/
H A Dcrypto.c19 blk_crypto_reprogram_all_keys(&host->crypto_profile); in mmc_crypto_set_initial_state()
25 blk_crypto_register(&host->crypto_profile, q); in mmc_crypto_setup_queue()
/linux/drivers/md/
H A Ddm-table.c1237 bdev_get_queue(bdev)->crypto_profile; in dm_wrappedkey_op_callback()
1375 bdev_get_queue(dev->bdev)->crypto_profile; in device_intersect_crypto_capabilities()
1396 dm_destroy_crypto_profile(t->crypto_profile); in dm_table_destroy_crypto_profile()
1397 t->crypto_profile = NULL; in dm_table_destroy_crypto_profile()
1452 t->md->queue->crypto_profile)) { in dm_table_construct_crypto_profile()
1479 t->crypto_profile = profile; in dm_table_construct_crypto_profile()
1487 if (!t->crypto_profile) in dm_update_crypto_profile()
1491 if (!q->crypto_profile) { in dm_update_crypto_profile()
1492 blk_crypto_register(t->crypto_profile, q); in dm_update_crypto_profile()
1494 blk_crypto_update_capabilities(q->crypto_profile, in dm_update_crypto_profile()
[all …]
H A Ddm-core.h227 struct blk_crypto_profile *crypto_profile; member
H A Ddm.c2215 dm_destroy_crypto_profile(q->crypto_profile); in dm_queue_destroy_crypto_profile()
/linux/block/
H A Dblk-crypto.c240 return blk_crypto_get_keyslot(rq->q->crypto_profile, in __blk_crypto_rq_get_keyslot()
388 return __blk_crypto_cfg_supported(bdev_get_queue(bdev)->crypto_profile, in blk_crypto_config_supported_natively()
457 err = __blk_crypto_evict_key(q->crypto_profile, key); in blk_crypto_evict_key()
599 bdev_get_queue(bdev)->crypto_profile; in blk_crypto_ioctl()
H A Dblk-crypto-sysfs.c170 if (!q->crypto_profile) in blk_crypto_sysfs_register()
176 obj->profile = q->crypto_profile; in blk_crypto_sysfs_register()
H A Dblk-crypto-profile.c462 q->crypto_profile = profile; in blk_crypto_register()
489 bdev_get_queue(bdev)->crypto_profile; in blk_crypto_derive_sw_secret()
/linux/drivers/mmc/host/
H A Dcqhci-crypto.c165 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init()
/linux/include/ufs/
H A Dufshcd.h1084 struct blk_crypto_profile crypto_profile; member
1199 return container_of(profile, struct ufs_hba, crypto_profile); in ufs_hba_from_crypto_profile()
/linux/drivers/ufs/host/
H A Dufs-qcom.c170 struct blk_crypto_profile *profile = &hba->crypto_profile; in ufs_qcom_ice_init()