Home
last modified time | relevance | path

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

/linux-6.15/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()
/linux-6.15/Documentation/block/
H A 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)
112 keyslot (a keyslot that isn't in-use by any I/O), then programs the key into the
130 includes getting a keyslot from the clone's target device if needed.
137 likewise for the block layer's keyslot management logic. It is also desirable
251 also have a keyslot which was already programmed with the appropriate key.
356 keyslot(s) and thereafter only referred to them via keyslot number.
[all …]