mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-04 13:14:45 +02:00
SP int: fix _sp_mul_d inclusion checks
configuration: --disable-asn --disable-filesystem --disable-shared --enable-cryptonly --enable-sp=smallrsa2048 --enable-sp-math --disable-dh --disable-ecc --disable-sha224 --enable-rsavfy --enable-rsapss
This commit is contained in:
@@ -3032,8 +3032,9 @@ int sp_sub_d(sp_int* a, sp_int_digit d, sp_int* r)
|
|||||||
#endif /* (!NO_RSA && !WOLFSSL_RSA_VERIFY_ONLY) || !NO_DH || HAVE_ECC ||
|
#endif /* (!NO_RSA && !WOLFSSL_RSA_VERIFY_ONLY) || !NO_DH || HAVE_ECC ||
|
||||||
* !NO_DSA */
|
* !NO_DSA */
|
||||||
|
|
||||||
#if defined(WOLFSSL_SP_MATH_ALL) || defined(WOLFSSL_SP_SMALL) || \
|
#if defined(WOLFSSL_SP_MATH_ALL) || defined(WOLFSSL_SP_SMALL) && \
|
||||||
(defined(WOLFSSL_KEY_GEN) && !defined(NO_RSA))
|
(!defined(NO_DH) || defined(HAVE_ECC) || \
|
||||||
|
(!defined(NO_RSA) && !defined(WOLFSSL_RSA_VERIFY_ONLY)))
|
||||||
/* Multiply a by digit n and put result into r shifting up o digits.
|
/* Multiply a by digit n and put result into r shifting up o digits.
|
||||||
* r = (a * n) << (o * SP_WORD_SIZE)
|
* r = (a * n) << (o * SP_WORD_SIZE)
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user