mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
A couple more small cleanups to the BLAKE2s code before these things get propagated into the BLAKE2b code: - Drop 'const' from some non-pointer function parameters. It was a bit excessive and not conventional. - Rename 'block' argument of blake2s_compress*() to 'data'. This is for consistency with the SHA-* code, and also to avoid the implication that it points to a singular "block". No functional changes. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20251018043106.375964-4-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
6 lines
178 B
C
6 lines
178 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/* defined in blake2s-core.S */
|
|
void blake2s_compress(struct blake2s_ctx *ctx,
|
|
const u8 *data, size_t nblocks, u32 inc);
|