Home
last modified time | relevance | path

Searched refs:keyslot (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/mmc/core/
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()
/Linux-v6.1/Documentation/block/
Dinline-encryption.rst21 algorithm, and data unit size first be programmed into a keyslot. Each
22 low-level I/O request then just contains a keyslot index and data unit number.
65 keyslots and reuse an already-programmed keyslot when possible.
105 device drivers need to care about most details of keyslot management.
107 Specifically, for each keyslot, the block layer (via the blk_crypto_profile)
108 keeps track of which blk_crypto_key that keyslot contains (if any), and how many
110 ``struct request`` for a bio that has an encryption context, it grabs a keyslot
112 keyslot (a keyslot that isn't in-use by any I/O), then programs the key into the
113 least-recently-used idle keyslot using the function the device driver provided.
114 In both cases, the resulting keyslot is stored in the ``crypt_keyslot`` field of
[all …]