Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/bn/
Dsqrt.c153 !BN_mod_exp_mont(ret, A, q, p, ctx, NULL)) { in BN_mod_sqrt()
198 if (!BN_mod_exp_mont(b, t, q, p, ctx, NULL)) { in BN_mod_sqrt()
286 if (!BN_mod_exp_mont(y, y, q, p, ctx, NULL)) { in BN_mod_sqrt()
332 if (!BN_mod_exp_mont(x, A, t, p, ctx, NULL)) { in BN_mod_sqrt()
Dexponentiation.c568 return BN_mod_exp_mont(r, a, p, m, ctx, NULL); in BN_mod_exp()
574 int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, in BN_mod_exp_mont() function
1196 ret = BN_mod_exp_mont(rr, &a_bignum, p, m, ctx, mont); in BN_mod_exp_mont_word()
1227 if (!BN_mod_exp_mont(rr, a1, p1, m, ctx, mont) || in BN_mod_exp2_mont()
1228 !BN_mod_exp_mont(&tmp, a2, p2, m, ctx, mont) || in BN_mod_exp2_mont()
Dgcd.c620 BN_mod_exp_mont(out, a, p_minus_2, p, ctx, mont_p); in bn_mod_inverse_prime()
Dbn_test.cc558 BN_mod_exp_mont(ret.get(), a.get(), e.get(), m.get(), ctx, NULL)); in TestModExp()
1189 EXPECT_FALSE(BN_mod_exp_mont(a.get(), BN_value_one(), BN_value_one(), in TEST_F()
1206 EXPECT_FALSE(BN_mod_exp_mont(a.get(), BN_value_one(), BN_value_one(), b.get(), in TEST_F()
1228 ASSERT_TRUE(BN_mod_exp_mont(r.get(), a.get(), zero.get(), BN_value_one(), in TEST_F()
Dprime.c614 if (!BN_mod_exp_mont(z, b, m, w, ctx, mont)) { in BN_enhanced_miller_rabin_primality_test()
/external/boringssl/src/crypto/dh/
Dcheck.c96 if (!BN_mod_exp_mont(tmp, pub_key, dh->q, dh->p, ctx, NULL)) { in DH_check_pub_key()
148 if (!BN_mod_exp_mont(t1, dh->g, dh->q, dh->p, ctx, NULL)) { in DH_check()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dblinding.c254 if (!BN_mod_exp_mont(b->A, b->A, e, &mont->N, ctx, mont)) { in bn_blinding_create_param()
Drsa_impl.c184 !BN_mod_exp_mont(result, f, rsa->e, rsa->n, ctx, rsa->mont_n)) { in RSA_encrypt()
497 !BN_mod_exp_mont(result, f, rsa->e, rsa->n, ctx, rsa->mont_n)) { in RSA_verify_raw()
619 !BN_mod_exp_mont(vrfy, result, rsa->e, rsa->n, ctx, rsa->mont_n) || in rsa_default_private_transform()
/external/boringssl/src/crypto/evp/
Dp_dsa_asn1.c154 !BN_mod_exp_mont(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx, in dsa_priv_decode()
/external/python/cpython2/Misc/
Dvalgrind-python.supp343 fun:BN_mod_exp_mont
/external/boringssl/src/include/openssl/
Dbn.h867 OPENSSL_EXPORT int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
/external/boringssl/src/crypto/dsa/
Ddsa.c370 if (!BN_mod_exp_mont(g, test, r0, p, ctx, mont)) { in DSA_generate_parameters_ex()