Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
Signed-off-by: Songling Han <[email protected]>
  • Loading branch information
songlingatpan committed Sep 20, 2024
1 parent e4662db commit c3a32aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/common/sha3/ossl_sha3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c3a32aa

Please sign in to comment.