lib/crypto: arm64/sha512-ce: Drop compatibility macros for older binutils
authorEric Biggers <ebiggers@kernel.org>
Fri, 18 Jul 2025 22:07:06 +0000 (15:07 -0700)
committerEric Biggers <ebiggers@kernel.org>
Mon, 21 Jul 2025 04:43:27 +0000 (21:43 -0700)
commitdebc1e5a431779c027a5752f247a4de2e4f702b2
tree1cd76508c1233e43dbb439b85482d190185c8df4
parent42e3376e0954d7e589e5a53d6149835cad64e8e6
lib/crypto: arm64/sha512-ce: Drop compatibility macros for older binutils

Now that the oldest supported binutils version is 2.30, the macros that
emit the SHA-512 instructions as '.inst' words are no longer needed.  So
drop them.  No change in the generated machine code.

Changed from the original patch by Ard Biesheuvel:
(https://lore.kernel.org/r/20250515142702.2592942-2-ardb+git@google.com):
 - Reduced scope to just SHA-512
 - Added comment that explains why "sha3" is used instead of "sha2"

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250718220706.475240-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
lib/crypto/arm64/sha512-ce-core.S