Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/dh/
Ddh.c296 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/
Ddsa.c348 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/
Dprime.c605 if (!BN_mod_exp_mont(w, w, a1_odd, a, ctx, mont)) { /* w := w^a1_odd mod a */ in witness()
Dexponentiation.c613 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
Dbn_test.cc1327 !BN_mod_exp_mont(r.get(), a.get(), zero.get(), BN_value_one(), nullptr, in test_exp_mod_zero()
/external/boringssl/src/include/openssl/
Dbn.h791 OPENSSL_EXPORT int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
/external/boringssl/src/crypto/rsa/
Drsa_impl.c1130 BN_mod_exp_mont /* bn_mod_exp */,