summaryrefslogtreecommitdiff
path: root/rust/kernel/gpu/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-03-21 16:06:50 -0700
committerMikulas Patocka <mpatocka@redhat.com>2026-03-23 17:51:13 +0100
commitd1c3b6b8e74393a5b34b91a056bd7ea6ae33938a (patch)
tree0b88129291ce213c2eb3613ff2293e4359daa82a /rust/kernel/gpu/git@git.tavy.me:linux-stable.git
parent0e4c1eb59909ddaef19cd997e646d5d1ce251a6c (diff)
dm-crypt: Reimplement elephant diffuser using AES library
Simplify and optimize dm-crypt's implementation of Bitlocker's "elephant diffuser" to use the AES library instead of an "ecb(aes)" crypto_skcipher. Note: struct aes_enckey is fixed-size, so it could be embedded directly in struct iv_elephant_private. But I kept it as a separate allocation so that the size of struct crypt_config doesn't increase. The elephant diffuser is rarely used in dm-crypt. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'rust/kernel/gpu/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions