Searched refs:BN_mod_exp_mont (Results 1 – 7 of 7) sorted by relevance
/external/boringssl/src/crypto/dh/ |
D | dh.c | 296 if (!BN_mod_exp_mont(pub_key, dh->g, &local_priv, dh->p, ctx, mont)) { in DH_generate_key() 359 if (!BN_mod_exp_mont(shared_key, peers_key, &local_priv, dh->p, ctx, in DH_compute_key()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 348 if (!BN_mod_exp_mont(g, test, r0, p, ctx, mont)) { in DSA_generate_parameters_ex() 826 if (!BN_mod_exp_mont(r, dsa->g, K, dsa->p, ctx, dsa->method_mont_p)) { in DSA_sign_setup()
|
/external/boringssl/src/crypto/bn/ |
D | prime.c | 605 if (!BN_mod_exp_mont(w, w, a1_odd, a, ctx, mont)) { /* w := w^a1_odd mod a */ in witness()
|
D | exponentiation.c | 613 return BN_mod_exp_mont(r, a, p, m, ctx, NULL); in BN_mod_exp() 619 int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, in BN_mod_exp_mont() function
|
D | bn_test.cc | 1327 !BN_mod_exp_mont(r.get(), a.get(), zero.get(), BN_value_one(), nullptr, in test_exp_mod_zero()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 791 OPENSSL_EXPORT int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
/external/boringssl/src/crypto/rsa/ |
D | rsa_impl.c | 1130 BN_mod_exp_mont /* bn_mod_exp */,
|