Skip to content

Commit b1e1ea5

Browse files
committed
Raised upper limit for Comba squaring
1 parent 53fdf5f commit b1e1ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mp_mul.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mp_err mp_mul(const mp_int *a, const mp_int *b, mp_int *c)
2323
} else if ((a == b) &&
2424
MP_HAS(S_MP_SQR_COMBA) && /* can we use the fast comba multiplier? */
2525
(((a->used * 2) + 1) < MP_WARRAY) &&
26-
(a->used < (MP_MAX_COMBA / 2))) {
26+
(a->used < (MP_MAX_COMBA))) {
2727
err = s_mp_sqr_comba(a, c);
2828
} else if ((a == b) &&
2929
MP_HAS(S_MP_SQR)) {

0 commit comments

Comments
 (0)