diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-06-30 09:06:38 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2025-07-04 10:22:57 -0700 |
| commit | 4c855d5069ee2edbcf62fafc7f1a5d4cfea1bce1 (patch) | |
| tree | 902968ba8927f63f2dfc04ecd89c9fdc2579a760 /arch/mips | |
| parent | lib/crypto: sha256: Make library API use strongly-typed contexts (diff) | |
| download | linux-4c855d5069ee2edbcf62fafc7f1a5d4cfea1bce1.tar.gz linux-4c855d5069ee2edbcf62fafc7f1a5d4cfea1bce1.zip | |
lib/crypto: sha256: Propagate sha256_block_state type to implementations
The previous commit made the SHA-256 compression function state be
strongly typed, but it wasn't propagated all the way down to the
implementations of it. Do that now.
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250630160645.3198-8-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'arch/mips')
| -rw-r--r-- | arch/mips/cavium-octeon/crypto/octeon-sha256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/crypto/octeon-sha256.c b/arch/mips/cavium-octeon/crypto/octeon-sha256.c index c20038239cb6..f8664818d04e 100644 --- a/arch/mips/cavium-octeon/crypto/octeon-sha256.c +++ b/arch/mips/cavium-octeon/crypto/octeon-sha256.c @@ -22,7 +22,7 @@ * We pass everything as 64-bit. OCTEON can handle misaligned data. */ -void sha256_blocks_arch(u32 state[SHA256_STATE_WORDS], +void sha256_blocks_arch(struct sha256_block_state *state, const u8 *data, size_t nblocks) { struct octeon_cop2_state cop2_state; |
