Skip to content

Commit 9757aa0

Browse files
authored
Merge pull request wolfSSL#8113 from philljj/tiny_dilithium_fix
dilithium: expose wc_MlDsaKey_GetX functions as API.
2 parents 8f2516c + 9d8c5a2 commit 9757aa0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

wolfssl/wolfcrypt/dilithium.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,9 +854,9 @@ WOLFSSL_API int wc_Dilithium_PrivateKeyToDer(dilithium_key* key, byte* output,
854854
#define wc_MlDsaKey_Verify(key, sig, sigSz, msg, msgSz, res) \
855855
wc_dilithium_verify_msg(sig, sigSz, msg, msgSz, res, key)
856856

857-
int wc_MlDsaKey_GetPrivLen(MlDsaKey* key, int* len);
858-
int wc_MlDsaKey_GetPubLen(MlDsaKey* key, int* len);
859-
int wc_MlDsaKey_GetSigLen(MlDsaKey* key, int* len);
857+
WOLFSSL_API int wc_MlDsaKey_GetPrivLen(MlDsaKey* key, int* len);
858+
WOLFSSL_API int wc_MlDsaKey_GetPubLen(MlDsaKey* key, int* len);
859+
WOLFSSL_API int wc_MlDsaKey_GetSigLen(MlDsaKey* key, int* len);
860860

861861
#ifdef __cplusplus
862862
} /* extern "C" */

0 commit comments

Comments
 (0)