From c3a32aa942cdd2e258e6f8d26c94e82522e57372 Mon Sep 17 00:00:00 2001 From: Songling Han Date: Fri, 20 Sep 2024 08:26:45 +0000 Subject: [PATCH] Fix build errors Signed-off-by: Songling Han --- src/common/sha3/ossl_sha3.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/sha3/ossl_sha3.c b/src/common/sha3/ossl_sha3.c index 38acfff6c..4f03dff7d 100644 --- a/src/common/sha3/ossl_sha3.c +++ b/src/common/sha3/ossl_sha3.c @@ -250,6 +250,11 @@ static void SHA3_shake128_inc_init(OQS_SHA3_shake128_inc_ctx *state) { } } +static void SHA3_shake128_inc_absorb(OQS_SHA3_shake128_inc_ctx *state, const uint8_t *input, size_t inplen) { + intrn_shake128_inc_ctx *s = (intrn_shake128_inc_ctx *)state->ctx; + OSSL_FUNC(EVP_DigestUpdate)(s->mdctx, input, inplen); +} + static void SHA3_shake128_inc_finalize(OQS_SHA3_shake128_inc_ctx *state) { (void)state; }