Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
Dblk-crypto.h101 struct blk_crypto_key { struct
121 const struct blk_crypto_key *bc_key; argument
135 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key,
143 int blk_crypto_init_key(struct blk_crypto_key *blk_key,
151 const struct blk_crypto_key *key);
154 const struct blk_crypto_key *key);
Dblk-crypto-profile.h38 const struct blk_crypto_key *key,
58 const struct blk_crypto_key *key,
/linux-6.15/block/
Dblk-crypto-internal.h75 const struct blk_crypto_key *key,
81 const struct blk_crypto_key *key);
224 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key);
243 blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key()
Dblk-crypto-profile.c41 const struct blk_crypto_key *key;
172 const struct blk_crypto_key *key) in blk_crypto_hash_bucket_for_key()
191 const struct blk_crypto_key *key) in blk_crypto_find_keyslot()
206 const struct blk_crypto_key *key) in blk_crypto_find_and_grab_keyslot()
249 const struct blk_crypto_key *key, in blk_crypto_get_keyslot()
366 const struct blk_crypto_key *key) in __blk_crypto_evict_key()
430 const struct blk_crypto_key *key = profile->slots[slot].key; in blk_crypto_reprogram_all_keys()
Dblk-crypto.c101 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, in bio_crypt_set_ctx()
286 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_bio_prep()
339 int blk_crypto_init_key(struct blk_crypto_key *blk_key, in blk_crypto_init_key()
424 const struct blk_crypto_key *key) in blk_crypto_start_using_key()
451 const struct blk_crypto_key *key) in blk_crypto_evict_key()
Dblk-crypto-fallback.c109 const struct blk_crypto_key *key, in blk_crypto_fallback_keyslot_program()
132 const struct blk_crypto_key *key, in blk_crypto_fallback_keyslot_evict()
528 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key()
/linux-6.15/drivers/ufs/core/
Dufshcd-crypto.c44 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_program()
89 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_evict()
/linux-6.15/drivers/mmc/host/
Dcqhci-crypto.c55 const struct blk_crypto_key *key, in cqhci_crypto_keyslot_program()
113 const struct blk_crypto_key *key, in cqhci_crypto_keyslot_evict()
Dsdhci-msm.c1959 const struct blk_crypto_key *key, in sdhci_msm_ice_keyslot_program()
1978 const struct blk_crypto_key *key, in sdhci_msm_ice_keyslot_evict()
/linux-6.15/fs/crypto/
Dinline_crypt.c160 struct blk_crypto_key *blk_key; in fscrypt_prepare_inline_crypt_key()
213 struct blk_crypto_key *blk_key = prep_key->blk_key; in fscrypt_destroy_inline_crypt_key()
Dfscrypt_private.h208 struct blk_crypto_key *blk_key;
/linux-6.15/Documentation/block/
Dinline-encryption.rst79 We introduce ``struct blk_crypto_key`` to represent an inline encryption key and
86 contains a data unit number and a pointer to a blk_crypto_key. We add pointers
108 keeps track of which blk_crypto_key that keyslot contains (if any), and how many
191 takes in a ``struct blk_crypto_config`` which is like blk_crypto_key, but omits
195 ``blk_crypto_init_key()`` allows users to initialize a blk_crypto_key.
198 a blk_crypto_key on a block_device (even if ``blk_crypto_config_supported()``
205 it to a bio, given the blk_crypto_key and the data unit number that will be used
209 Finally, when done using inline encryption with a blk_crypto_key on a
214 In summary, for users of the block layer, the lifecycle of a blk_crypto_key is
222 6. Zeroize the blk_crypto_key (this has no dedicated function)
[all …]
/linux-6.15/drivers/ufs/host/
Dufs-qcom.c217 const struct blk_crypto_key *key, in ufs_qcom_ice_keyslot_program()
240 const struct blk_crypto_key *key, in ufs_qcom_ice_keyslot_evict()
/linux-6.15/drivers/md/
Ddm-table.c1156 const struct blk_crypto_key *key = data; in dm_keyslot_evict_callback()
1167 const struct blk_crypto_key *key, unsigned int slot) in dm_keyslot_evict()