Home
last modified time | relevance | path

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

/linux/include/linux/
H A 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);
H A Dblk-crypto-profile.h38 const struct blk_crypto_key *key,
58 const struct blk_crypto_key *key,
/linux/block/
H A 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()
H A 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()
/linux/drivers/mmc/host/
H A 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()
H A Dsdhci-msm.c1964 const struct blk_crypto_key *key, in sdhci_msm_ice_keyslot_program()
1974 const struct blk_crypto_key *key, in sdhci_msm_ice_keyslot_evict()
/linux/drivers/ufs/core/
H A 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/include/soc/qcom/
H A Dice.h18 const struct blk_crypto_key *blk_key);
/linux/Documentation/block/
H A 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/drivers/soc/qcom/
H A Dice.c305 const struct blk_crypto_key *bkey) in qcom_ice_program_wrapped_key()
344 const struct blk_crypto_key *blk_key) in qcom_ice_program_key()
/linux/drivers/md/
H A Ddm-table.c1163 const struct blk_crypto_key *key = data; in dm_keyslot_evict_callback()
1174 const struct blk_crypto_key *key, unsigned int slot) in dm_keyslot_evict()
/linux/drivers/ufs/host/
H A Dufs-qcom.c238 const struct blk_crypto_key *key, in ufs_qcom_ice_keyslot_program()
252 const struct blk_crypto_key *key, in ufs_qcom_ice_keyslot_evict()