From cb16ba46958e41f8d805cbdb027a601b3a0c65b4 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sat, 12 Apr 2025 18:57:31 +0800 Subject: crypto: lib/sm3 - Export generic block function Export the generic block function so that it can be used by the Crypto API. Signed-off-by: Herbert Xu --- include/crypto/sm3.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/crypto/sm3.h b/include/crypto/sm3.h index 1f021ad0533f..d49211ba9a20 100644 --- a/include/crypto/sm3.h +++ b/include/crypto/sm3.h @@ -58,6 +58,7 @@ static inline void sm3_init(struct sm3_state *sctx) sctx->count = 0; } +void sm3_block_generic(struct sm3_state *sctx, u8 const *data, int blocks); void sm3_update(struct sm3_state *sctx, const u8 *data, unsigned int len); void sm3_final(struct sm3_state *sctx, u8 *out); -- cgit v1.2.3