Home
last modified time | relevance | path

Searched refs:bc_key (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/block/
Dblk-crypto.c104 bc->bc_key = key; in bio_crypt_set_ctx()
149 bytes >> bc->bc_key->data_unit_size_bits); in __bio_crypt_advance()
161 unsigned int carry = bytes >> bc->bc_key->data_unit_size_bits; in bio_crypt_dun_is_contiguous()
190 return bc2 && bc1->bc_key == bc2->bc_key; in bio_crypt_ctx_compatible()
216 bio->bi_crypt_context->bc_key->crypto_cfg.data_unit_size; in bio_crypt_check_alignment()
231 rq->crypt_ctx->bc_key, in __blk_crypto_rq_get_keyslot()
276 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_bio_prep() local
294 &bc_key->crypto_cfg)) in __blk_crypto_bio_prep()
Dblk-crypto-fallback.c283 data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in blk_crypto_fallback_encrypt_bio()
297 bc->bc_key, &slot); in blk_crypto_fallback_encrypt_bio()
391 const int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in blk_crypto_fallback_decrypt_bio()
400 bc->bc_key, &slot); in blk_crypto_fallback_decrypt_bio()
497 if (WARN_ON_ONCE(!tfms_inited[bc->bc_key->crypto_cfg.crypto_mode])) { in blk_crypto_fallback_bio_prep()
504 &bc->bc_key->crypto_cfg)) { in blk_crypto_fallback_bio_prep()
/linux-6.12.1/include/linux/
Dblk-crypto.h68 const struct blk_crypto_key *bc_key; member
/linux-6.12.1/drivers/md/
Ddm-io-rewind.c99 bytes >> bc->bc_key->data_unit_size_bits); in dm_bio_crypt_rewind()
/linux-6.12.1/fs/crypto/
Dinline_crypt.c365 if (bc->bc_key != inode->i_crypt_info->ci_enc_key.blk_key) in fscrypt_mergeable_bio()
/linux-6.12.1/drivers/ufs/host/
Dufs-exynos.c1324 const u8 *enckey = crypt_ctx->bc_key->raw; in exynos_ufs_fmp_fill_prdt()