Searched refs:blk_crypto_key (Results 1 – 11 of 11) sorted by relevance
| /kernel/linux/linux-5.10/include/linux/ |
| D | blk-crypto.h | 47 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);
|
| D | keyslot-manager.h | 29 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);
|
| /kernel/linux/linux-5.10/block/ |
| D | keyslot-manager.c | 42 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()
|
| D | blk-crypto.c | 81 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()
|
| D | blk-crypto-internal.h | 186 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()
|
| D | blk-crypto-fallback.c | 106 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()
|
| /kernel/linux/linux-5.10/drivers/hyperhold/ |
| D | hp_device.c | 161 void inline_crypt_bio(struct blk_crypto_key *blk_key, struct bio *bio) in inline_crypt_bio() 171 static struct blk_crypto_key *inline_crypto_init(const u8 *key) in inline_crypto_init() 173 struct blk_crypto_key *blk_key = NULL; in inline_crypto_init() 177 blk_key = kzalloc(sizeof(struct blk_crypto_key), GFP_KERNEL); in inline_crypto_init() 196 void inline_crypt_bio(struct blk_crypto_key *blk_key, struct bio *bio) {} in inline_crypt_bio() 197 static struct blk_crypto_key *inline_crypto_init(const u8 *key) in inline_crypto_init()
|
| D | hp_device.h | 28 struct blk_crypto_key *blk_key; 37 void inline_crypt_bio(struct blk_crypto_key *blk_key, struct bio *bio);
|
| /kernel/linux/linux-5.10/drivers/scsi/ufs/ |
| D | ufshcd-crypto.c | 52 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_program() 109 const struct blk_crypto_key *key, in ufshcd_crypto_keyslot_evict()
|
| /kernel/linux/linux-5.10/Documentation/block/ |
| D | inline-encryption.rst | 144 ``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``.
|
| /kernel/linux/linux-5.10/fs/crypto/ |
| D | inline_crypt.c | 24 struct blk_crypto_key base;
|