Skip to content

Commit 59b0465

Browse files
authored
Merge pull request #71 from mattia-moffa/20251007-windows-fix
Fix Windows build (ML-KEM, Dilithium, Shake)
2 parents bb89ab7 + e2fd2be commit 59b0465

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

windows/non_fips/user_settings.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
#define WOLFSSL_SHA512
1818
#define WOLFSSL_SHA3
1919
#define WOLFSSL_SHA224
20-
#define WOLFSSL_NO_SHAKE256
20+
#define WOLFSSL_SHAKE128
21+
#define WOLFSSL_SHAKE256
2122
#define NO_MD5
2223
#define HAVE_HKDF
2324
#define NO_OLD_TLS
@@ -45,6 +46,10 @@
4546
#define FP_MAX_BITS 16384
4647
#define WC_RSA_BLINDING
4748
#define ECC_TIMING_RESISTANT
49+
#define WOLFSSL_HAVE_MLKEM
50+
#define WOLFSSL_WC_MLKEM
51+
#define HAVE_DILITHIUM
52+
#define WOLFSSL_WC_DILITHIUM
4853

4954
/* PKCS7 requirements */
5055
#define HAVE_PKCS7

0 commit comments

Comments
 (0)