projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
011f82e
)
consttime flag changed
author
Samuel Weiser
<samuel.weiser@iaik.tugraz.at>
Fri, 9 Feb 2018 13:11:47 +0000
(14:11 +0100)
committer
Matt Caswell
<matt@openssl.org>
Wed, 21 Mar 2018 17:36:40 +0000
(17:36 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5170)
crypto/rsa/rsa_gen.c
patch
|
blob
|
history
diff --git
a/crypto/rsa/rsa_gen.c
b/crypto/rsa/rsa_gen.c
index f869f191502f57a750b8608508ddca8dd0967b61..4952ec3f38a2a5d8b5febeae0c00e9c758c939fa 100644
(file)
--- a/
crypto/rsa/rsa_gen.c
+++ b/
crypto/rsa/rsa_gen.c
@@
-89,7
+89,7
@@
static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value,
if (BN_copy(rsa->e, e_value) == NULL)
goto err;
- BN_set_flags(r
sa->e
, BN_FLG_CONSTTIME);
+ BN_set_flags(r
2
, BN_FLG_CONSTTIME);
/* generate p and q */
for (;;) {
if (!BN_generate_prime_ex(rsa->p, bitsp, 0, NULL, NULL, cb))