+9763
−9526
File changed.
Preview size limit exceeded, changes collapsed.
+14
−7
+1
−0
+2
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Currently, blk-crypto uses the algorithm to determine the size of keys. However, some inline encryption hardware supports protecting keys from software by wrapping the storage keys with an ephemeral key. Since these wrapped keys are not of a fixed size, add the capability to provide the key size when initializing a blk_crypto_key, and update the keyslot manager to take size into account when comparing keys. Bug: 147209885 Change-Id: Ibc2e4807e0a0ec473e72d131e0f20abb3a6033b5 Co-developed-by:Gaurav Kashyap <gaurkash@codeaurora.org> Signed-off-by:
Gaurav Kashyap <gaurkash@codeaurora.org> Signed-off-by:
Barani Muthukumaran <bmuthuku@codeaurora.org> Signed-off-by:
Eric Biggers <ebiggers@google.com>
File changed.
Preview size limit exceeded, changes collapsed.