Home
last modified time | relevance | path

Searched refs:keyslot (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dcrypto.c33 struct blk_crypto_keyslot *keyslot; in mmc_crypto_prepare_req() local
40 keyslot = req->crypt_keyslot; in mmc_crypto_prepare_req()
41 if (keyslot) in mmc_crypto_prepare_req()
42 mrq->crypto_key_slot = blk_crypto_keyslot_index(keyslot); in mmc_crypto_prepare_req()
/kernel/linux/linux-5.10/block/
H A DMakefile39 obj-$(CONFIG_BLK_INLINE_ENCRYPTION) += keyslot-manager.o blk-crypto.o
H A Dblk-crypto.c14 #include <linux/keyslot-manager.h>
234 /* The keyslot, if one was needed, should have been released earlier. */ in __blk_crypto_free_request()
393 * from the keyslot management structures and evicts it from any underlying
394 * hardware keyslot(s) or blk-crypto-fallback keyslot it may have been
414 * keyslot (due to a hardware or driver issue) or is allegedly still in in blk_crypto_evict_key()
416 * still unlinked from the keyslot management structures, and the caller in blk_crypto_evict_key()
H A Dkeyslot-manager.c18 * The keyslot manager manages these keyslots appropriately, and also acts as
21 * Lower layer devices will set up a keyslot manager in their request queue
31 #include <linux/keyslot-manager.h>
66 * blk_ksm_init() - Initialize a keyslot manager
70 * Allocate memory for keyslots and initialize a keyslot manager. Called by
71 * e.g. storage drivers to set up a keyslot manager in their request_queue.
108 * buckets. This only makes a difference when there is only 1 keyslot. in blk_ksm_init()
184 * blk_ksm_get_slot_for_key() - Program a key into a keyslot.
185 * @ksm: The keyslot manager to program the key into.
188 * @slot_ptr: A pointer to return the pointer of the allocated keyslot
[all...]
H A Dblk-crypto-fallback.c17 #include <linux/keyslot-manager.h>
67 * keyslot; thus, a keyslot may contain tfms for multiple modes. However, to
69 * single encryption context per keyslot), we only allow one tfm per keyslot to
85 * This is the key we set when evicting a keyslot. This *should* be the all 0's
290 * Use the crypto API fallback keyslot manager to get a crypto_skcipher in blk_crypto_fallback_encrypt_bio()
392 * Use the crypto API fallback keyslot manager to get a crypto_skcipher in blk_crypto_fallback_decrypt_bio()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A Dufshcd.h35 #include <linux/keyslot-manager.h>
676 * @ksm: the keyslot manager tied to this hba

Completed in 4 milliseconds