wolfssl/wolfcrypt/types.h: conditionalize XASM_LINK() definition on !FIPS_VERSION_LT(5,3) and !WOLFSSL_NO_ASM.
This commit is contained in:
parent
806c75d28b
commit
a435302415
@ -1180,8 +1180,16 @@ typedef struct w64wrapper {
|
||||
/* invalid device id */
|
||||
#define INVALID_DEVID (-2)
|
||||
|
||||
#ifdef XASM_LINK
|
||||
#if defined(HAVE_FIPS) && FIPS_VERSION_LT(5,3)
|
||||
#ifdef XASM_LINK
|
||||
#error User-supplied XASM_LINK is not compatible with this FIPS version.
|
||||
#else
|
||||
/* use version in FIPS <=5.2 aes.c */
|
||||
#endif
|
||||
#elif defined(XASM_LINK)
|
||||
/* keep user-supplied definition */
|
||||
#elif defined(WOLFSSL_NO_ASM)
|
||||
#define XASM_LINK(f)
|
||||
#elif defined(_MSC_VER)
|
||||
#define XASM_LINK(f)
|
||||
#elif defined(__APPLE__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user