From 9d8c5a293f9b52806c86c8e11f8ef7547828d683 Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 25 Oct 2024 13:29:06 -0500 Subject: [PATCH] dilithium: expose wc_MlDsaKey_GetX functions as API. --- wolfssl/wolfcrypt/dilithium.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wolfssl/wolfcrypt/dilithium.h b/wolfssl/wolfcrypt/dilithium.h index 6e9cfb67ec..804e51d58e 100644 --- a/wolfssl/wolfcrypt/dilithium.h +++ b/wolfssl/wolfcrypt/dilithium.h @@ -854,9 +854,9 @@ WOLFSSL_API int wc_Dilithium_PrivateKeyToDer(dilithium_key* key, byte* output, #define wc_MlDsaKey_Verify(key, sig, sigSz, msg, msgSz, res) \ wc_dilithium_verify_msg(sig, sigSz, msg, msgSz, res, key) -int wc_MlDsaKey_GetPrivLen(MlDsaKey* key, int* len); -int wc_MlDsaKey_GetPubLen(MlDsaKey* key, int* len); -int wc_MlDsaKey_GetSigLen(MlDsaKey* key, int* len); +WOLFSSL_API int wc_MlDsaKey_GetPrivLen(MlDsaKey* key, int* len); +WOLFSSL_API int wc_MlDsaKey_GetPubLen(MlDsaKey* key, int* len); +WOLFSSL_API int wc_MlDsaKey_GetSigLen(MlDsaKey* key, int* len); #ifdef __cplusplus } /* extern "C" */