]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: x86/aes-xts - make the register aliases per-function
authorEric Biggers <ebiggers@google.com>
Thu, 12 Dec 2024 21:28:41 +0000 (13:28 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 21 Dec 2024 14:46:24 +0000 (22:46 +0800)
commitd1bb1c32f945e70d2b31aad715d2e620833f55d1
tree9492b9c67e2e75b4642d79d3744cf23859fee4eb
parent5b7981c1ca61ca7ad7162cfe95bf271d001d29ac
crypto: x86/aes-xts - make the register aliases per-function

Since aes-xts-avx-x86_64.S contains multiple functions, move the
register aliases for the parameters and local variables of the XTS
update function into the macro that generates that function.  Then add
register aliases to aes_xts_encrypt_iv() to improve readability there.
This makes aes-xts-avx-x86_64.S consistent with the GCM assembly files.

No change in the generated code.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aes-xts-avx-x86_64.S