/external/boringssl/src/crypto/dh/ |
dh.c | 296 if (!BN_mod_exp_mont(pub_key, dh->g, &local_priv, dh->p, ctx, mont)) { 359 if (!BN_mod_exp_mont(shared_key, peers_key, &local_priv, dh->p, ctx,
|
/external/boringssl/src/crypto/bn/ |
prime.c | 605 if (!BN_mod_exp_mont(w, w, a1_odd, a, ctx, mont)) { /* w := w^a1_odd mod a */ [all...] |
exponentiation.c | 144 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */ 440 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */ 592 * BN_mod_exp_mont 33 .. 40 % [AMD K6-2, Linux, debug configuration] 599 * On the Sparc, BN_mod_exp_recp was faster than BN_mod_exp_mont 613 return BN_mod_exp_mont(r, a, p, m, ctx, NULL); 619 int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, 858 /* This variant of BN_mod_exp_mont() uses fixed windows and the special [all...] |
bn_test.cc | [all...] |
/system/keymaster/ |
keymaster0_engine.cpp | 65 rsa_method_.bn_mod_exp = BN_mod_exp_mont;
|
keymaster1_engine.cpp | 403 method.bn_mod_exp = BN_mod_exp_mont;
|
/external/boringssl/src/crypto/dsa/ |
dsa.c | 348 if (!BN_mod_exp_mont(g, test, r0, p, ctx, mont)) { 814 * (This is a kludge that we need because the BN_mod_exp_mont() 826 if (!BN_mod_exp_mont(r, dsa->g, K, dsa->p, ctx, dsa->method_mont_p)) {
|
/external/boringssl/src/include/openssl/ |
bn.h | [all...] |
/external/boringssl/src/crypto/rsa/ |
rsa_impl.c | 1130 BN_mod_exp_mont /* bn_mod_exp */,
|