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.c670 if (!BN_mod_mul_montgomery(d, val[0], val[0], mont, ctx)) { in BN_mod_exp_mont()
676 !BN_mod_mul_montgomery(val[i], val[i - 1], d, mont, ctx)) { in BN_mod_exp_mont()
710 if (!start && !BN_mod_mul_montgomery(r, r, r, mont, ctx)) { in BN_mod_exp_mont()
741 if (!BN_mod_mul_montgomery(r, r, r, mont, ctx)) { in BN_mod_exp_mont()
748 if (!BN_mod_mul_montgomery(r, r, val[wvalue >> 1], mont, ctx)) { in BN_mod_exp_mont()
1140 if (!BN_mod_mul_montgomery(&tmp, &am, &am, mont, ctx) || in BN_mod_exp_mont_consttime()
1146 if (!BN_mod_mul_montgomery(&tmp, &am, &tmp, mont, ctx) || in BN_mod_exp_mont_consttime()
1169 if (!BN_mod_mul_montgomery(&tmp, &tmp, &tmp, mont, ctx)) { in BN_mod_exp_mont_consttime()
1181 if (!BN_mod_mul_montgomery(&tmp, &tmp, &am, mont, ctx)) { in BN_mod_exp_mont_consttime()
1300 if (!BN_mod_mul_montgomery(r, r, r, mont, ctx)) { in BN_mod_exp_mont_word()
[all …]
Dmontgomery.c330 return BN_mod_mul_montgomery(ret, a, &mont->RR, mont, ctx); in BN_to_montgomery()
518 int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in BN_mod_mul_montgomery() function
Dbn_test.cc912 !BN_mod_mul_montgomery(c.get(), A.get(), B.get(), mont.get(), ctx) || in test_mont()
/external/boringssl/src/crypto/ec/
Dec_montgomery.c239 return BN_mod_mul_montgomery(r, a, b, group->mont, ctx); in ec_GFp_mont_field_mul()
249 return BN_mod_mul_montgomery(r, a, a, group->mont, ctx); in ec_GFp_mont_field_sqr()
/external/boringssl/src/include/openssl/
Dbn.h748 OPENSSL_EXPORT int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a,