Skip to content

Commit dd6e601

Browse files
committed
wolfcrypt/src/wc_mlkem.c: add setup for WC_MLKEM_NO_ASM.
1 parent 0bdf8b5 commit dd6e601

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

wolfcrypt/src/wc_mlkem.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@
6565

6666
#include <wolfssl/wolfcrypt/libwolfssl_sources.h>
6767

68+
#ifdef WC_MLKEM_NO_ASM
69+
#undef USE_INTEL_SPEEDUP
70+
#undef WOLFSSL_ARMASM
71+
#undef WOLFSSL_RISCV_ASM
72+
#endif
73+
6874
#include <wolfssl/wolfcrypt/mlkem.h>
6975
#include <wolfssl/wolfcrypt/wc_mlkem.h>
7076
#include <wolfssl/wolfcrypt/hash.h>

0 commit comments

Comments
 (0)