diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-03-21 16:06:50 -0700 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-03-23 17:51:13 +0100 |
| commit | d1c3b6b8e74393a5b34b91a056bd7ea6ae33938a (patch) | |
| tree | 0b88129291ce213c2eb3613ff2293e4359daa82a /rust/kernel/gpu/git@git.tavy.me:linux-stable.git | |
| parent | 0e4c1eb59909ddaef19cd997e646d5d1ce251a6c (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
