diff options
Diffstat (limited to 'src/crypto/fipsmodule/bn/montgomery_inv.c')
-rw-r--r-- | src/crypto/fipsmodule/bn/montgomery_inv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/fipsmodule/bn/montgomery_inv.c b/src/crypto/fipsmodule/bn/montgomery_inv.c index 15e62e4f..a920ca41 100644 --- a/src/crypto/fipsmodule/bn/montgomery_inv.c +++ b/src/crypto/fipsmodule/bn/montgomery_inv.c @@ -177,7 +177,7 @@ int bn_mod_exp_base_2_consttime(BIGNUM *r, unsigned p, const BIGNUM *n, // Set |r| to the larger power of two smaller than |n|, then shift with // reductions the rest of the way. if (!BN_set_bit(r, n_bits - 1) || - !bn_mod_lshift_quick_ctx(r, r, p - (n_bits - 1), n, ctx)) { + !bn_mod_lshift_consttime(r, r, p - (n_bits - 1), n, ctx)) { return 0; } |