Home
last modified time | relevance | path

Searched refs:crypto_profile (Results 1 – 6 of 6) 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.c1221 bdev_get_queue(bdev)->crypto_profile; in dm_wrappedkey_op_callback()
1353 bdev_get_queue(dev->bdev)->crypto_profile; in device_intersect_crypto_capabilities()
1374 dm_destroy_crypto_profile(t->crypto_profile); in dm_table_destroy_crypto_profile()
1375 t->crypto_profile = NULL; in dm_table_destroy_crypto_profile()
1430 t->md->queue->crypto_profile)) { in dm_table_construct_crypto_profile()
1457 t->crypto_profile = profile; in dm_table_construct_crypto_profile()
1465 if (!t->crypto_profile) in dm_update_crypto_profile()
1469 if (!q->crypto_profile) { in dm_update_crypto_profile()
1470 blk_crypto_register(t->crypto_profile, q); in dm_update_crypto_profile()
1472 blk_crypto_update_capabilities(q->crypto_profile, in dm_update_crypto_profile()
[all …]
/linux/block/
H A Dblk-crypto-profile.c460 q->crypto_profile = profile; in blk_crypto_register()
487 bdev_get_queue(bdev)->crypto_profile; in blk_crypto_derive_sw_secret()
/linux/include/linux/mmc/
H A Dhost.h572 struct blk_crypto_profile crypto_profile; member
610 return container_of(profile, struct mmc_host, crypto_profile); in mmc_from_crypto_profile()
/linux/drivers/mmc/host/
H A Dcqhci-crypto.c165 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init()