Searched refs:BN_mod_mul_montgomery (Results 1 – 5 of 5) sorted by relevance
/external/boringssl/src/crypto/bn/ |
D | exponentiation.c | 670 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 …]
|
D | montgomery.c | 330 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
|
D | bn_test.cc | 912 !BN_mod_mul_montgomery(c.get(), A.get(), B.get(), mont.get(), ctx) || in test_mont()
|
/external/boringssl/src/crypto/ec/ |
D | ec_montgomery.c | 239 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/ |
D | bn.h | 748 OPENSSL_EXPORT int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a,
|