mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-10 16:14:42 +02:00
Revert "SP int: modular exponentiation constant time" (fixes regression in benchmark "RSA,2048,public").
This reverts commit 219509d7d9
.
This commit is contained in:
@@ -14207,6 +14207,9 @@ static int _sp_exptmod_nct(const sp_int* b, const sp_int* e, const sp_int* m,
|
||||
if (bits > 450) {
|
||||
winBits = 6;
|
||||
}
|
||||
else if (bits <= 21) {
|
||||
winBits = 1;
|
||||
}
|
||||
else if (bits <= 36) {
|
||||
winBits = 3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user