@@ -28024,6 +28024,7 @@ int sp_RsaPublic_2048(const byte* in, word32 inLen, const mp_int* em,
2802428024}
2802528025
2802628026#ifndef WOLFSSL_RSA_PUBLIC_ONLY
28027+ #if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
2802728028/* Conditionally add a and b using the mask m.
2802828029 * m is -1 to add and 0 when not.
2802928030 *
@@ -28093,6 +28094,7 @@ SP_NOINLINE static sp_digit sp_2048_cond_add_32(sp_digit* r, const sp_digit* a,
2809328094 return (word32)(size_t)r;
2809428095}
2809528096
28097+ #endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
2809628098/* RSA private key operation.
2809728099 *
2809828100 * in Array of bytes representing the number to exponentiate, base.
@@ -80194,6 +80196,7 @@ int sp_RsaPublic_3072(const byte* in, word32 inLen, const mp_int* em,
8019480196}
8019580197
8019680198#ifndef WOLFSSL_RSA_PUBLIC_ONLY
80199+ #if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
8019780200/* Conditionally add a and b using the mask m.
8019880201 * m is -1 to add and 0 when not.
8019980202 *
@@ -80263,6 +80266,7 @@ SP_NOINLINE static sp_digit sp_3072_cond_add_48(sp_digit* r, const sp_digit* a,
8026380266 return (word32)(size_t)r;
8026480267}
8026580268
80269+ #endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
8026680270/* RSA private key operation.
8026780271 *
8026880272 * in Array of bytes representing the number to exponentiate, base.
@@ -92650,6 +92654,7 @@ int sp_RsaPublic_4096(const byte* in, word32 inLen, const mp_int* em,
9265092654}
9265192655
9265292656#ifndef WOLFSSL_RSA_PUBLIC_ONLY
92657+ #if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
9265392658/* Conditionally add a and b using the mask m.
9265492659 * m is -1 to add and 0 when not.
9265592660 *
@@ -92724,6 +92729,7 @@ SP_NOINLINE static sp_digit sp_4096_cond_add_64(sp_digit* r, const sp_digit* a,
9272492729 return (word32)(size_t)r;
9272592730}
9272692731
92732+ #endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
9272792733/* RSA private key operation.
9272892734 *
9272992735 * in Array of bytes representing the number to exponentiate, base.
0 commit comments