diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-07-15 15:11:51 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-07-22 12:01:21 -0700 |
| commit | 94efa0c9fb36b0f8be480f24bce2bb673005bfde (patch) | |
| tree | 53a5d44f676403f9c7a20ae6578b17553b858747 /include/linux/bnge/git@git.tavy.me:linux.git | |
| parent | 747463a214b82e2a2c45fc218704843f76e7b7c3 (diff) | |
crypto: aes - Add XTS support using library
Implement the "xts(aes)" crypto_skcipher algorithm using the
corresponding library functions.
Among other benefits, this allows the architecture-optimized AES-XTS
code to be migrated into the library while still leaving it accessible
via crypto_skcipher, eliminating lots of boilerplate code.
Fast paths similar to what x86_64 uses (to eliminate the scatterlist
walking overhead) are included. So we'll get that optimization for all
architectures.
For now the cra_priority is set to just 110, since the
architecture-optimized implementations of this algorithm haven't yet
been migrated into the library. It will be boosted once that happens.
Link: https://patch.msgid.link/20260715221153.246410-12-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include/linux/bnge/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
