Home
last modified time | relevance | path

Searched refs:BN_from_montgomery (Results 1 – 7 of 7) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/ec/
Dec_montgomery.c197 return BN_from_montgomery(r, a, group->mont, ctx); in ec_GFp_mont_field_decode()
223 if (x != NULL && !BN_from_montgomery(x, &point->X, group->mont, ctx)) { in ec_GFp_mont_point_get_affine_coordinates()
226 if (y != NULL && !BN_from_montgomery(y, &point->Y, group->mont, ctx)) { in ec_GFp_mont_point_get_affine_coordinates()
253 if (!BN_from_montgomery(Z_1, &point->Z, group->mont, ctx) || in ec_GFp_mont_point_get_affine_coordinates()
254 !BN_from_montgomery(Z_1, Z_1, group->mont, ctx) || in ec_GFp_mont_point_get_affine_coordinates()
267 if (!BN_from_montgomery(Z_2, Z_2, group->mont, ctx)) { in ec_GFp_mont_point_get_affine_coordinates()
Dp256-x86_64_test.cc174 !BN_from_montgomery(z.get(), z.get(), mont.get(), ctx.get()) || in PointToAffine()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dblinding.c230 if (!BN_from_montgomery(b->Ai, b->A, mont, ctx)) { in bn_blinding_create_param()
/external/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery.c347 int BN_from_montgomery(BIGNUM *r, const BIGNUM *a, const BN_MONT_CTX *mont, in BN_from_montgomery() function
Dexponentiation.c725 if (!BN_from_montgomery(rr, r, mont, ctx)) { in BN_mod_exp_mont()
1168 if (!BN_from_montgomery(rr, &tmp, mont, ctx)) { in BN_mod_exp_mont_consttime()
Dbn_test.cc490 ASSERT_TRUE(BN_from_montgomery(ret.get(), ret.get(), mont.get(), ctx)); in TestModMul()
527 ASSERT_TRUE(BN_from_montgomery(ret.get(), ret.get(), mont.get(), ctx)); in TestModSquare()
535 ASSERT_TRUE(BN_from_montgomery(ret.get(), ret.get(), mont.get(), ctx)); in TestModSquare()
/external/boringssl/src/include/openssl/
Dbn.h839 OPENSSL_EXPORT int BN_from_montgomery(BIGNUM *ret, const BIGNUM *a,