diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-07-13 02:22:53 +0300 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2025-07-14 18:22:31 +0300 |
| commit | 9503ca2ccafec51ee9e533d6f3aef14a589fc106 (patch) | |
| tree | 694000acd4a8b02b11b5cd5e99172d6ac1c47661 /include/crypto | |
| parent | 56119446f89fbab40f3a160e9c3de33687cd85cf (diff) | |
| download | linux-9503ca2ccafec51ee9e533d6f3aef14a589fc106.tar.xz | |
lib/crypto: sha1: Rename sha1_init() to sha1_init_raw()
Rename the existing sha1_init() to sha1_init_raw(), since it conflicts
with the upcoming library function. This will later be removed, but
this keeps the kernel building for the introduction of the library.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250712232329.818226-3-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include/crypto')
| -rw-r--r-- | include/crypto/sha1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/sha1.h b/include/crypto/sha1.h index f48230b1413c..d853d3b93169 100644 --- a/include/crypto/sha1.h +++ b/include/crypto/sha1.h @@ -33,7 +33,7 @@ struct sha1_state { */ #define SHA1_DIGEST_WORDS (SHA1_DIGEST_SIZE / 4) #define SHA1_WORKSPACE_WORDS 16 -void sha1_init(__u32 *buf); +void sha1_init_raw(__u32 *buf); void sha1_transform(__u32 *digest, const char *data, __u32 *W); #endif /* _CRYPTO_SHA1_H */ |
