crypto: x86/sha256-ni - convert to use rounds macros
authorEric Biggers <ebiggers@google.com>
Thu, 11 Apr 2024 16:23:56 +0000 (09:23 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 Apr 2024 10:54:18 +0000 (18:54 +0800)
commitffaec34b0f2ba624f20614c4aaed0d5eb6181b2d
tree85e6039393a19c4280b4ffd225f705bf5f4459cd
parent5d5bd24f415516b212d56e8a66fffd40cdaeab30
crypto: x86/sha256-ni - convert to use rounds macros

To avoid source code duplication, do the SHA-256 rounds using macros.
This reduces the length of sha256_ni_asm.S by 153 lines while still
producing the exact same object file.

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