mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
touch up autoconf build with xilinx and sp macro guards
This commit is contained in:
@ -9323,6 +9323,7 @@ AM_CONDITIONAL([BUILD_HPKE],[test "x$ENABLED_HPKE" = "xyes" || test "x$ENABLED_U
|
|||||||
AM_CONDITIONAL([BUILD_DTLS],[test "x$ENABLED_DTLS" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
|
AM_CONDITIONAL([BUILD_DTLS],[test "x$ENABLED_DTLS" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
|
||||||
AM_CONDITIONAL([BUILD_MAXQ10XX],[test "x$ENABLED_MAXQ10XX" = "xyes"])
|
AM_CONDITIONAL([BUILD_MAXQ10XX],[test "x$ENABLED_MAXQ10XX" = "xyes"])
|
||||||
AM_CONDITIONAL([BUILD_ARIA],[test "x$ENABLED_ARIA" = "xyes"])
|
AM_CONDITIONAL([BUILD_ARIA],[test "x$ENABLED_ARIA" = "xyes"])
|
||||||
|
AM_CONDITIONAL([BUILD_XILINX],[test "x$ENABLED_XILINX" = "xyes"])
|
||||||
|
|
||||||
if test "$ENABLED_REPRODUCIBLE_BUILD" != "yes" &&
|
if test "$ENABLED_REPRODUCIBLE_BUILD" != "yes" &&
|
||||||
(test "$ax_enable_debug" = "yes" ||
|
(test "$ax_enable_debug" = "yes" ||
|
||||||
|
@ -900,6 +900,9 @@ endif
|
|||||||
|
|
||||||
endif !BUILD_CRYPTONLY
|
endif !BUILD_CRYPTONLY
|
||||||
|
|
||||||
|
if BUILD_XILINX
|
||||||
|
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/xilinx/xil-aesgcm.c
|
||||||
|
endif
|
||||||
|
|
||||||
endif !BUILD_FIPS_RAND
|
endif !BUILD_FIPS_RAND
|
||||||
|
|
||||||
@ -907,3 +910,4 @@ if BUILD_ARIA
|
|||||||
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/aria/aria-crypt.c
|
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/aria/aria-crypt.c
|
||||||
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/aria/aria-cryptocb.c
|
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/aria/aria-cryptocb.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -7031,7 +7031,7 @@ int sp_mod_d(const sp_int* a, sp_int_digit d, sp_int_digit* r)
|
|||||||
|
|
||||||
#if defined(HAVE_ECC) || !defined(NO_DSA) || defined(OPENSSL_EXTRA) || \
|
#if defined(HAVE_ECC) || !defined(NO_DSA) || defined(OPENSSL_EXTRA) || \
|
||||||
(!defined(NO_RSA) && !defined(WOLFSSL_RSA_VERIFY_ONLY) && \
|
(!defined(NO_RSA) && !defined(WOLFSSL_RSA_VERIFY_ONLY) && \
|
||||||
!defined(WOLFSSL_RSA_PUBLIC_ONLY))
|
!defined(WOLFSSL_RSA_PUBLIC_ONLY)) || defined(WOLFSSL_SP_INVMOD)
|
||||||
/* Divides a by 2 and stores in r: r = a >> 1
|
/* Divides a by 2 and stores in r: r = a >> 1
|
||||||
*
|
*
|
||||||
* @param [in] a SP integer to divide.
|
* @param [in] a SP integer to divide.
|
||||||
@ -19254,7 +19254,7 @@ int sp_prime_is_prime_ex(const sp_int* a, int trials, int* result, WC_RNG* rng)
|
|||||||
}
|
}
|
||||||
#endif /* WOLFSSL_SP_PRIME_GEN */
|
#endif /* WOLFSSL_SP_PRIME_GEN */
|
||||||
|
|
||||||
#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
|
#if !defined(NO_RSA) || defined(WOLFSSL_KEY_GEN)
|
||||||
|
|
||||||
/* Calculates the Greatest Common Denominator (GCD) of a and b into r.
|
/* Calculates the Greatest Common Denominator (GCD) of a and b into r.
|
||||||
*
|
*
|
||||||
|
@ -1067,7 +1067,7 @@ MP_API int sp_rand_prime(sp_int* r, int len, WC_RNG* rng, void* heap);
|
|||||||
MP_API int sp_prime_is_prime(const sp_int* a, int t, int* result);
|
MP_API int sp_prime_is_prime(const sp_int* a, int t, int* result);
|
||||||
MP_API int sp_prime_is_prime_ex(const sp_int* a, int t, int* result,
|
MP_API int sp_prime_is_prime_ex(const sp_int* a, int t, int* result,
|
||||||
WC_RNG* rng);
|
WC_RNG* rng);
|
||||||
#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
|
#if !defined(NO_RSA) || defined(WOLFSSL_KEY_GEN)
|
||||||
MP_API int sp_gcd(const sp_int* a, const sp_int* b, sp_int* r);
|
MP_API int sp_gcd(const sp_int* a, const sp_int* b, sp_int* r);
|
||||||
#endif
|
#endif
|
||||||
#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN) && \
|
#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN) && \
|
||||||
|
Reference in New Issue
Block a user