Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Dexponentiation.c684 if (!BN_mod_mul_montgomery(d, val[0], val[0], mont, ctx)) { in BN_mod_exp_mont()
690 !BN_mod_mul_montgomery(val[i], val[i - 1], d, mont, ctx)) { in BN_mod_exp_mont()
724 if (!start && !BN_mod_mul_montgomery(r, r, r, mont, ctx)) { in BN_mod_exp_mont()
755 if (!BN_mod_mul_montgomery(r, r, r, mont, ctx)) { in BN_mod_exp_mont()
762 if (!BN_mod_mul_montgomery(r, r, val[wvalue >> 1], mont, ctx)) { in BN_mod_exp_mont()
1142 if (!BN_mod_mul_montgomery(&tmp, &am, &am, mont, ctx) || in BN_mod_exp_mont_consttime()
1148 if (!BN_mod_mul_montgomery(&tmp, &am, &tmp, mont, ctx) || in BN_mod_exp_mont_consttime()
1171 if (!BN_mod_mul_montgomery(&tmp, &tmp, &tmp, mont, ctx)) { in BN_mod_exp_mont_consttime()
1183 if (!BN_mod_mul_montgomery(&tmp, &tmp, &am, mont, ctx)) { in BN_mod_exp_mont_consttime()
1298 if (!BN_mod_mul_montgomery(r, r, r, mont, ctx)) { in BN_mod_exp_mont_word()
[all …]
Dmontgomery.c326 return BN_mod_mul_montgomery(ret, a, &mont->RR, mont, ctx); in BN_to_montgomery()
514 int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in BN_mod_mul_montgomery() function
Dbn_test.cc932 !BN_mod_mul_montgomery(c.get(), A.get(), B.get(), mont.get(), ctx) || in test_mont()
/external/boringssl/src/crypto/ec/
Dec_montgomery.c196 return BN_mod_mul_montgomery(r, a, b, group->mont, ctx); in ec_GFp_mont_field_mul()
206 return BN_mod_mul_montgomery(r, a, a, group->mont, ctx); in ec_GFp_mont_field_sqr()
/external/boringssl/src/include/openssl/
Dbn.h771 OPENSSL_EXPORT int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a,