Remove reference to removed |RSA_FLAG_NO_CONSTTIME| flag.
Change-Id: I0bfdccf009772d4ff8cd419758ab5bfae95f5cc5 Reviewed-on: https://boringssl-review.googlesource.com/6530 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
81edc9beb6
commit
60a45aa7cc
@ -636,7 +636,7 @@ static int mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) {
|
|||||||
BIGNUM *p = NULL, *q = NULL;
|
BIGNUM *p = NULL, *q = NULL;
|
||||||
|
|
||||||
/* Make sure BN_mod_inverse in Montgomery intialization uses the
|
/* Make sure BN_mod_inverse in Montgomery intialization uses the
|
||||||
* BN_FLG_CONSTTIME flag (unless RSA_FLAG_NO_CONSTTIME is set) */
|
* BN_FLG_CONSTTIME flag. */
|
||||||
BN_init(&local_p);
|
BN_init(&local_p);
|
||||||
p = &local_p;
|
p = &local_p;
|
||||||
BN_with_flags(p, rsa->p, BN_FLG_CONSTTIME);
|
BN_with_flags(p, rsa->p, BN_FLG_CONSTTIME);
|
||||||
|
Loading…
Reference in New Issue
Block a user