Home
last modified time | relevance | path

Searched refs:p_minus_2 (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dgcd.c616 BIGNUM *p_minus_2 = BN_CTX_get(ctx); in bn_mod_inverse_prime() local
617 int ok = p_minus_2 != NULL && in bn_mod_inverse_prime()
618 BN_copy(p_minus_2, p) && in bn_mod_inverse_prime()
619 BN_sub_word(p_minus_2, 2) && in bn_mod_inverse_prime()
620 BN_mod_exp_mont(out, a, p_minus_2, p, ctx, mont_p); in bn_mod_inverse_prime()
628 BIGNUM *p_minus_2 = BN_CTX_get(ctx); in bn_mod_inverse_secret_prime() local
629 int ok = p_minus_2 != NULL && in bn_mod_inverse_secret_prime()
630 BN_copy(p_minus_2, p) && in bn_mod_inverse_secret_prime()
631 BN_sub_word(p_minus_2, 2) && in bn_mod_inverse_secret_prime()
632 BN_mod_exp_mont_consttime(out, a, p_minus_2, p, ctx, mont_p); in bn_mod_inverse_secret_prime()