Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Dexponentiation.c678 if (!BN_to_montgomery(val[0], aa, mont, ctx)) { in BN_mod_exp_mont()
715 } else if (!BN_to_montgomery(r, BN_value_one(), mont, ctx)) { in BN_mod_exp_mont()
989 } else if (!BN_to_montgomery(&tmp, BN_value_one(), mont, ctx)) { in BN_mod_exp_mont_consttime()
996 !BN_to_montgomery(&am, &am, mont, ctx)) { in BN_mod_exp_mont_consttime()
999 } else if (!BN_to_montgomery(&am, a, mont, ctx)) { in BN_mod_exp_mont_consttime()
1224 (BN_set_word(r, (w)) && BN_to_montgomery(r, r, (mont), ctx)) in BN_mod_exp_mont_word()
1421 if (!BN_to_montgomery(val1[0], a_mod_m, mont, ctx)) { in BN_mod_exp2_mont()
1456 if (!BN_to_montgomery(val2[0], a_mod_m, mont, ctx)) { in BN_mod_exp2_mont()
1481 if (!BN_to_montgomery(r, BN_value_one(), mont, ctx)) { in BN_mod_exp2_mont()
Dmontgomery.c324 int BN_to_montgomery(BIGNUM *ret, const BIGNUM *a, const BN_MONT_CTX *mont, in BN_to_montgomery() function
Dbn_test.cc930 !BN_to_montgomery(A.get(), a.get(), mont.get(), ctx) || in test_mont()
931 !BN_to_montgomery(B.get(), b.get(), mont.get(), ctx) || in test_mont()
/external/boringssl/src/crypto/ec/
Dec_montgomery.c164 if (one == NULL || !BN_to_montgomery(one, BN_value_one(), mont, ctx)) { in ec_GFp_mont_group_set_curve()
216 return BN_to_montgomery(r, a, group->mont, ctx); in ec_GFp_mont_field_encode()
/external/boringssl/src/include/openssl/
Dbn.h760 OPENSSL_EXPORT int BN_to_montgomery(BIGNUM *ret, const BIGNUM *a,