Home
last modified time | relevance | path

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

/linux/include/linux/
A 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);
A Dblk-crypto-profile.h38 const struct blk_crypto_key *key,
58 const struct blk_crypto_key *key,
142 const struct blk_crypto_key *key,
151 const struct blk_crypto_key *key);
/linux/block/
A Dblk-crypto-profile.c40 const struct blk_crypto_key *key;
164 const struct blk_crypto_key *key) in blk_crypto_hash_bucket_for_key()
183 const struct blk_crypto_key *key) in blk_crypto_find_keyslot()
198 const struct blk_crypto_key *key) in blk_crypto_find_and_grab_keyslot()
242 const struct blk_crypto_key *key, in blk_crypto_get_keyslot()
374 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()
A Dblk-crypto.c81 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, in bio_crypt_set_ctx()
267 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_bio_prep()
321 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key, in blk_crypto_init_key()
380 int blk_crypto_start_using_key(const struct blk_crypto_key *key, in blk_crypto_start_using_key()
402 const struct blk_crypto_key *key) in blk_crypto_evict_key()
A 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()
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()
/linux/Documentation/block/
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 request_queue (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/mmc/host/
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()
/linux/drivers/scsi/ufs/
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()
/linux/fs/crypto/
A Dinline_crypt.c24 struct blk_crypto_key base;
/linux/drivers/md/
A Ddm-table.c1195 const struct blk_crypto_key *key;
1217 const struct blk_crypto_key *key, unsigned int slot) in dm_keyslot_evict()

Completed in 16 milliseconds