Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/block/
H A Dblk-crypto.c94 bc->bc_key = key; in bio_crypt_set_ctx()
141 bytes >> bc->bc_key->data_unit_size_bits); in __bio_crypt_advance()
153 unsigned int carry = bytes >> bc->bc_key->data_unit_size_bits; in bio_crypt_dun_is_contiguous()
182 return bc2 && bc1->bc_key == bc2->bc_key; in bio_crypt_ctx_compatible()
208 bio->bi_crypt_context->bc_key->crypto_cfg.data_unit_size; in bio_crypt_check_alignment()
222 return blk_ksm_get_slot_for_key(rq->q->ksm, rq->crypt_ctx->bc_key, in __blk_crypto_init_request()
267 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_bio_prep() local
285 &bc_key->crypto_cfg)) in __blk_crypto_bio_prep()
H A Dblk-crypto-fallback.c282 data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in blk_crypto_fallback_encrypt_bio()
295 blk_st = blk_ksm_get_slot_for_key(&blk_crypto_ksm, bc->bc_key, &slot); in blk_crypto_fallback_encrypt_bio()
389 const int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in blk_crypto_fallback_decrypt_bio()
397 blk_st = blk_ksm_get_slot_for_key(&blk_crypto_ksm, 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dblk-crypto.h72 const struct blk_crypto_key *bc_key; member
/OK3568_Linux_fs/kernel/fs/crypto/
H A Dinline_crypt.c372 if (bc->bc_key != &inode->i_crypt_info->ci_enc_key.blk_key->base) in fscrypt_mergeable_bio()