Drop Windows section pragmas; they belong on the Windows branch

pull/11303/head
kaleb-himes 2026-08-31 15:06:21 -06:00
parent ec487817a0
commit b5d90b9396
2 changed files with 0 additions and 19 deletions

View File

@ -72,15 +72,6 @@
#include <wolfssl/wolfcrypt/libwolfssl_sources.h>
#if FIPS_VERSION3_GE(2,0,0)
/* Windows orders the module by section name, so this places ML-KEM inside
* the range the integrity check covers. */
#ifdef USE_WINDOWS_API
#pragma code_seg(".fipsA$nb")
#pragma const_seg(".fipsB$nb")
#endif
#endif
#ifdef WC_MLKEM_NO_ASM
#undef USE_INTEL_SPEEDUP
#undef WOLFSSL_ARMASM

View File

@ -24,16 +24,6 @@
#include <wolfssl/wolfcrypt/libwolfssl_sources.h>
#if FIPS_VERSION3_GE(2,0,0)
/* Windows orders the module by section name, so this places SLH-DSA
* inside the range the integrity check covers: after sha3 (.fipsA$n) and
* before fips.c (.fipsA$o). */
#ifdef USE_WINDOWS_API
#pragma code_seg(".fipsA$nh")
#pragma const_seg(".fipsB$nh")
#endif
#endif
#include <wolfssl/wolfcrypt/wc_slhdsa.h>
#ifdef WOLFSSL_HAVE_SLHDSA