summaryrefslogtreecommitdiff
path: root/lib/crypto/s390
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-06-30 09:06:38 -0700
committerEric Biggers <ebiggers@kernel.org>2025-07-04 10:22:57 -0700
commit4c855d5069ee2edbcf62fafc7f1a5d4cfea1bce1 (patch)
tree902968ba8927f63f2dfc04ecd89c9fdc2579a760 /lib/crypto/s390
parentb86ced882b8e667758afddffd8d6354197842110 (diff)
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 'lib/crypto/s390')
-rw-r--r--lib/crypto/s390/sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/s390/sha256.c b/lib/crypto/s390/sha256.c
index 7dfe120fafab..fb565718f753 100644
--- a/lib/crypto/s390/sha256.c
+++ b/lib/crypto/s390/sha256.c
@@ -12,7 +12,7 @@
static __ro_after_init DEFINE_STATIC_KEY_FALSE(have_cpacf_sha256);
-void sha256_blocks_arch(u32 state[SHA256_STATE_WORDS],
+void sha256_blocks_arch(struct sha256_block_state *state,
const u8 *data, size_t nblocks)
{
if (static_branch_likely(&have_cpacf_sha256))