Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-crypto.c114 bc->bc_key = key; in bio_crypt_set_ctx()
159 bytes >> bc->bc_key->data_unit_size_bits); in __bio_crypt_advance()
171 unsigned int carry = bytes >> bc->bc_key->data_unit_size_bits; in bio_crypt_dun_is_contiguous()
200 return bc2 && bc1->bc_key == bc2->bc_key; in bio_crypt_ctx_compatible()
225 rq->crypt_ctx->bc_key, in __blk_crypto_rq_get_keyslot()
253 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_submit_bio() local
266 if (!blk_crypto_config_supported_natively(bdev, &bc_key->crypto_cfg)) { in __blk_crypto_submit_bio()
H A Dblk-crypto-fallback.c245 int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in __blk_crypto_fallback_encrypt_bio()
362 bc->bc_key, &slot); in blk_crypto_fallback_encrypt_bio()
382 const int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in __blk_crypto_fallback_decrypt_bio()
431 bc->bc_key, &slot); in blk_crypto_fallback_decrypt_bio()
494 if (WARN_ON_ONCE(!tfms_inited[bc->bc_key->crypto_cfg.crypto_mode])) { in blk_crypto_fallback_bio_prep()
501 &bc->bc_key->crypto_cfg)) { in blk_crypto_fallback_bio_prep()
H A Dblk-crypto-internal.h92 &bio->bi_crypt_context->bc_key->crypto_cfg); in blk_crypto_supported()
H A Dblk-merge.c347 start_align_mask |= (bc->bc_key->crypto_cfg.data_unit_size - 1); in bio_split_io_at()
348 len_align_mask |= (bc->bc_key->crypto_cfg.data_unit_size - 1); in bio_split_io_at()
/linux/include/linux/
H A Dblk-crypto.h121 const struct blk_crypto_key *bc_key; member
/linux/drivers/md/
H A Ddm-io-rewind.c99 bytes >> bc->bc_key->data_unit_size_bits); in dm_bio_crypt_rewind()
/linux/fs/crypto/
H A Dinline_crypt.c401 if (bc->bc_key != ci->ci_enc_key.blk_key) in fscrypt_mergeable_bio()
/linux/drivers/ufs/host/
H A Dufs-exynos.c1396 const u8 *enckey = crypt_ctx->bc_key->bytes; in exynos_ufs_fmp_fill_prdt()