From 9dd9afc3b4ce6df14d6c8e0552b2d622d14cf9e3 Mon Sep 17 00:00:00 2001 From: Aveen Ismail Date: Sun, 29 Sep 2024 18:18:37 +0200 Subject: [PATCH] Revert change --- pkcs11/util_pkcs11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkcs11/util_pkcs11.c b/pkcs11/util_pkcs11.c index d0e92e21..b9eaf7a8 100644 --- a/pkcs11/util_pkcs11.c +++ b/pkcs11/util_pkcs11.c @@ -6092,7 +6092,7 @@ bool match_meta_attributes(yubihsm_pkcs11_session *session, return true; } -#ifndef FUZZING + static void increment_ctr(uint8_t *ctr, size_t len) { while (len > 0) { if (++ctr[--len]) { @@ -6100,7 +6100,7 @@ static void increment_ctr(uint8_t *ctr, size_t len) { } } } -#endif + CK_RV ecdh_with_kdf(ecdh_session_key *shared_secret, uint8_t *fixed_info, size_t fixed_len, CK_ULONG kdf, size_t value_len) {