/external/boringssl/src/crypto/bn/ |
D | div.c | 383 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) { in BN_nnmod() function 400 return BN_nnmod(r, r, m, ctx); in BN_mod_add() 419 return BN_nnmod(r, r, m, ctx); in BN_mod_sub() 456 if (!BN_nnmod(r, t, m, ctx)) { in BN_mod_mul() 481 if (!BN_nnmod(r, a, m, ctx)) { in BN_mod_lshift() 550 return BN_nnmod(r, r, m, ctx); in BN_mod_lshift1()
|
D | gcd.c | 267 if (!BN_nnmod(B, B, A, ctx)) { in BN_mod_inverse() 520 if (!BN_nnmod(R, Y, n, ctx)) { in BN_mod_inverse() 581 if (!BN_nnmod(B, pB, A, ctx)) { in BN_mod_inverse_no_branch() 680 if (!BN_nnmod(R, Y, n, ctx)) { in BN_mod_inverse_no_branch()
|
D | kronecker.c | 162 if (!BN_nnmod(B, B, A, ctx)) { in BN_kronecker()
|
D | sqrt.c | 128 if (!BN_nnmod(A, a, p, ctx)) { in BN_mod_sqrt() 319 if (!BN_nnmod(t, A, p, ctx)) { in BN_mod_sqrt()
|
D | bn_test.cc | 908 !BN_nnmod(a.get(), a.get(), n.get(), ctx) || in test_mont() 909 !BN_nnmod(b.get(), b.get(), n.get(), ctx) || in test_mont() 1279 !BN_nnmod(r.get(), r.get(), p.get(), ctx) || in test_mod_sqrt() 1282 !BN_nnmod(a.get(), a.get(), p.get(), ctx) || in test_mod_sqrt() 1293 !BN_nnmod(a.get(), a.get(), p.get(), ctx)) { in test_mod_sqrt()
|
D | exponentiation.c | 464 if (!BN_nnmod(val[0], a, m, ctx)) { in mod_exp_recp() 651 if (!BN_nnmod(val[0], a, m, ctx)) { in BN_mod_exp_mont()
|
/external/boringssl/src/crypto/ec/ |
D | simple.c | 199 if (!BN_nnmod(tmp_a, a, p, ctx)) { in ec_GFp_simple_group_set_curve() 211 if (!BN_nnmod(&group->b, b, p, ctx)) { in ec_GFp_simple_group_set_curve() 402 if (!BN_nnmod(&point->X, x, &group->field, ctx)) { in ec_GFp_simple_set_Jprojective_coordinates_GFp() 412 if (!BN_nnmod(&point->Y, y, &group->field, ctx)) { in ec_GFp_simple_set_Jprojective_coordinates_GFp() 424 if (!BN_nnmod(&point->Z, z, &group->field, ctx)) { in ec_GFp_simple_set_Jprojective_coordinates_GFp()
|
D | oct.c | 349 if (!BN_nnmod(x, x_, &group->field, ctx)) { in ec_GFp_simple_set_compressed_coordinates()
|
D | p256-64.c | 1820 if (!BN_nnmod(tmp_scalar, p_scalar, &group->order, ctx)) { in ec_GFp_nistp256_points_mul() 1865 if (!BN_nnmod(tmp_scalar, scalar, &group->order, ctx)) { in ec_GFp_nistp256_points_mul()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 220 if (!BN_nnmod(u1, X, order, ctx)) { in ECDSA_do_verify() 318 if (!BN_nnmod(r, X, order, ctx)) { in ecdsa_sign_setup()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 491 OPENSSL_EXPORT int BN_nnmod(BIGNUM *rem, const BIGNUM *numerator,
|