Skip to content

Commit 2dfc7ee

Browse files
committed
wolfcrypt/src/sp_int.c: in _sp_exptmod_nct(), use 2 bit window if bits <= 21.
1 parent 40506a6 commit 2dfc7ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/sp_int.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14208,7 +14208,7 @@ static int _sp_exptmod_nct(const sp_int* b, const sp_int* e, const sp_int* m,
1420814208
winBits = 6;
1420914209
}
1421014210
else if (bits <= 21) {
14211-
winBits = 1;
14211+
winBits = 2;
1421214212
}
1421314213
else if (bits <= 36) {
1421414214
winBits = 3;

0 commit comments

Comments
 (0)