Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dblk-crypto.h47 struct blk_crypto_key { struct
67 const struct blk_crypto_key *bc_key; argument
84 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key,
92 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key,
97 int blk_crypto_start_using_key(const struct blk_crypto_key *key,
101 const struct blk_crypto_key *key);
Dkeyslot-manager.h29 const struct blk_crypto_key *key,
32 const struct blk_crypto_key *key,
92 const struct blk_crypto_key *key,
103 const struct blk_crypto_key *key);
/Linux-v5.15/block/
Dkeyslot-manager.c43 const struct blk_crypto_key *key;
166 const struct blk_crypto_key *key) in blk_ksm_hash_bucket_for_key()
183 const struct blk_crypto_key *key) in blk_ksm_find_keyslot()
197 const struct blk_crypto_key *key) in blk_ksm_find_and_grab_keyslot()
234 const struct blk_crypto_key *key, in blk_ksm_get_slot_for_key()
361 const struct blk_crypto_key *key) in blk_ksm_evict_key()
417 const struct blk_crypto_key *key = ksm->slots[slot].key; in blk_ksm_reprogram_all_keys()
Dblk-crypto.c81 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, in bio_crypt_set_ctx()
266 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_bio_prep()
319 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key, in blk_crypto_init_key()
378 int blk_crypto_start_using_key(const struct blk_crypto_key *key, in blk_crypto_start_using_key()
400 const struct blk_crypto_key *key) in blk_crypto_evict_key()
Dblk-crypto-internal.h186 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key);
205 blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key()
Dblk-crypto-fallback.c107 const struct blk_crypto_key *key, in blk_crypto_keyslot_program()
130 const struct blk_crypto_key *key, in blk_crypto_keyslot_evict()
527 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key()
/Linux-v5.15/drivers/mmc/host/
Dcqhci-crypto.c61 const struct blk_crypto_key *key, in cqhci_crypto_keyslot_program()
119 const struct blk_crypto_key *key, in cqhci_crypto_keyslot_evict()
/Linux-v5.15/drivers/scsi/ufs/
Dufshcd-crypto.c52 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_program()
109 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_evict()
/Linux-v5.15/Documentation/block/
Dinline-encryption.rst144 ``struct blk_crypto_key`` represents a crypto key (the raw key, size of the
150 ``blk_crypto_key``.
155 crypto configuration). This function takes the ``blk_crypto_key`` and the
167 ``blk_crypto_key`` and a ``request_queue`` before using the key with any bio
175 ``blk_crypto_key`` is freed. Further, it *must* only be called only once
176 there are no more in-flight requests that use that ``blk_crypto_key``.
/Linux-v5.15/fs/crypto/
Dinline_crypt.c24 struct blk_crypto_key base;
/Linux-v5.15/drivers/md/
Ddm-table.c1195 const struct blk_crypto_key *key;
1217 const struct blk_crypto_key *key, unsigned int slot) in dm_keyslot_evict()