Home
last modified time | relevance | path

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

/linux-5.10/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,
89 const struct blk_crypto_key *key,
100 const struct blk_crypto_key *key);
/linux-5.10/block/
Dkeyslot-manager.c42 const struct blk_crypto_key *key;
132 const struct blk_crypto_key *key) in blk_ksm_hash_bucket_for_key()
149 const struct blk_crypto_key *key) in blk_ksm_find_keyslot()
163 const struct blk_crypto_key *key) in blk_ksm_find_and_grab_keyslot()
200 const struct blk_crypto_key *key, in blk_ksm_get_slot_for_key()
323 const struct blk_crypto_key *key) in blk_ksm_evict_key()
366 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.c106 const struct blk_crypto_key *key, in blk_crypto_keyslot_program()
129 const struct blk_crypto_key *key, in blk_crypto_keyslot_evict()
523 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key()
/linux-5.10/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-5.10/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-5.10/fs/crypto/
Dinline_crypt.c24 struct blk_crypto_key base;