We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fc7545 commit cfb6560Copy full SHA for cfb6560
1 file changed
wolfcrypt/src/sp_int.c
@@ -14594,9 +14594,15 @@ static int _sp_sqr(const sp_int* a, sp_int* r)
14594
}
14595
#endif
14596
if (err == MP_OKAY) {
14597
+ #ifndef WOLFSSL_SP_INT_SQR_VOLATILE
14598
sp_int_word w;
14599
sp_int_word l;
14600
sp_int_word h;
14601
+ #else
14602
+ volatile sp_int_word w;
14603
+ volatile sp_int_word l;
14604
+ volatile sp_int_word h;
14605
+ #endif
14606
#ifdef SP_WORD_OVERFLOW
14607
sp_int_word o;
14608
0 commit comments