crypto: sha512 - Rename conflicting symbols
authorEric Biggers <ebiggers@kernel.org>
Mon, 30 Jun 2025 16:03:05 +0000 (09:03 -0700)
committerEric Biggers <ebiggers@kernel.org>
Mon, 30 Jun 2025 16:26:19 +0000 (09:26 -0700)
commite0fca177556c4419819876ac5a947b0844115d56
tree3d333ffce97e8fcdc83c4b0fffa32b0060c2c5c2
parente49a3eac9207e9575337f70feeb29430f6f16bb7
crypto: sha512 - Rename conflicting symbols

Rename existing functions and structs in architecture-optimized SHA-512
code that had names conflicting with the upcoming library interface
which will be added to <crypto/sha2.h>: sha384_init, sha512_init,
sha512_update, sha384, and sha512.

Note: all affected code will be superseded by later commits that migrate
the arch-optimized SHA-512 code into the library.  This commit simply
keeps the kernel building for the initial introduction of the library.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250630160320.2888-2-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
arch/arm64/crypto/sha512-glue.c
arch/s390/crypto/sha512_s390.c
arch/sparc/crypto/sha512_glue.c
arch/x86/crypto/sha512_ssse3_glue.c