Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dblk-crypto.h48 struct blk_crypto_key { struct
68 const struct blk_crypto_key *bc_key; argument
82 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key,
90 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key,
96 const struct blk_crypto_key *key);
99 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,
/openbmc/linux/block/
H A 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()
364 const struct blk_crypto_key *key) in __blk_crypto_evict_key()
428 const struct blk_crypto_key *key = profile->slots[slot].key; in blk_crypto_reprogram_all_keys()
H A Dblk-crypto-internal.h74 const struct blk_crypto_key *key,
80 const struct blk_crypto_key *key);
214 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key);
233 blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key()
H A Dblk-crypto.c91 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, in bio_crypt_set_ctx()
276 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_bio_prep()
328 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key, in blk_crypto_init_key()
395 const struct blk_crypto_key *key) in blk_crypto_start_using_key()
418 const struct blk_crypto_key *key) in blk_crypto_evict_key()
H A 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()
527 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key()
/openbmc/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 …]
/openbmc/linux/drivers/mmc/host/
H A Dcqhci-crypto.c62 const struct blk_crypto_key *key, in cqhci_crypto_keyslot_program()
120 const struct blk_crypto_key *key, in cqhci_crypto_keyslot_evict()
/openbmc/linux/drivers/ufs/core/
H A Dufshcd-crypto.c52 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_program()
110 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_evict()
/openbmc/linux/fs/crypto/
H A Dinline_crypt.c160 struct blk_crypto_key *blk_key; in fscrypt_prepare_inline_crypt_key()
211 struct blk_crypto_key *blk_key = prep_key->blk_key; in fscrypt_destroy_inline_crypt_key()
H A Dfscrypt_private.h187 struct blk_crypto_key *blk_key;
/openbmc/linux/drivers/md/
H A Ddm-table.c1224 const struct blk_crypto_key *key = data; in dm_keyslot_evict_callback()
1235 const struct blk_crypto_key *key, unsigned int slot) in dm_keyslot_evict()