/external/boringssl/src/crypto/fipsmodule/bn/ |
D | sqrt.c | 206 if (!BN_mod_mul(t, t, y, p, ctx) || in BN_mod_sqrt() 212 if (!BN_mod_mul(x, A, b, p, ctx) || in BN_mod_sqrt() 213 !BN_mod_mul(x, x, t, p, ctx)) { in BN_mod_sqrt() 340 !BN_mod_mul(b, b, A, p, ctx)) { in BN_mod_sqrt() 345 if (!BN_mod_mul(x, x, A, p, ctx)) { in BN_mod_sqrt() 378 if (!BN_mod_mul(t, t, t, p, ctx)) { in BN_mod_sqrt() 393 if (!BN_mod_mul(y, t, t, p, ctx) || in BN_mod_sqrt() 394 !BN_mod_mul(x, x, t, p, ctx) || in BN_mod_sqrt() 395 !BN_mod_mul(b, b, y, p, ctx)) { in BN_mod_sqrt()
|
D | prime.c | 624 if (!BN_copy(x, z) || !BN_mod_mul(z, x, x, w, ctx)) { in BN_enhanced_miller_rabin_primality_test() 636 if (!BN_copy(x, z) || !BN_mod_mul(z, x, x, w, ctx)) { in BN_enhanced_miller_rabin_primality_test()
|
D | bn_test.cc | 538 ASSERT_TRUE(BN_mod_mul(ret.get(), a.get(), b.get(), m.get(), ctx)); in TestModMul() 596 ASSERT_TRUE(BN_mod_mul(ret.get(), a.get(), a.get(), m.get(), ctx)); in TestModSquare() 601 ASSERT_TRUE(BN_mod_mul(ret.get(), a.get(), a_copy.get(), m.get(), ctx)); in TestModSquare() 1293 BN_mod_mul(a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx())); in TEST_F()
|
D | div.c | 449 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_mul() function
|
/external/tpm2/ |
D | CpriECC.c | 628 if( !BN_mod_mul(bnA, bnA, bnX, bnP, context) in _cpri__EccIsPointOnCurve() 637 || !BN_mod_mul(bnY, bnY, bnY, bnP, context) in _cpri__EccIsPointOnCurve() 910 if( !BN_mod_mul(bnD, bnR, bnD, bnN, context) in SignEcdsa() 914 || !BN_mod_mul(bnD, bnIk, bnD, bnN, context) in SignEcdsa() 999 OK = OK && BN_mod_mul(bnD, bnT, bnD, bnN, context) == 1; in EcDaa() 1325 if( !BN_mod_mul(bnS, bnD, bnR, bnN, context) // (r * dA) mod n in SignSM2() 1327 || !BN_mod_mul(bnS, bnT, bnS, bnN, context))// t * (k - (r * dA) mod n in SignSM2() 1503 if( !BN_mod_mul(bnU1, bnE, bnW, bnN, context) in ValidateSignatureEcdsa() 1504 || !BN_mod_mul(bnU2, bnR, bnW, bnN, context)) in ValidateSignatureEcdsa() 1886 !BN_mod_mul(bnTa, bnDsA, bnTa, bnN, context) in C_2_2_MQV() [all …]
|
D | RSAKeySieve.c | 297 if(BN_mod_mul(bnZ, bnZ, bnZ, bnW, context) != 1) in MillerRabin()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 313 !BN_mod_mul(tmp1, tmp2, x, &group->field, ctx)) { in EC_POINT_set_compressed_coordinates_GFp() 325 if (!BN_mod_mul(tmp2, a, x, &group->field, ctx) || in EC_POINT_set_compressed_coordinates_GFp()
|
D | simple.c | 1038 return BN_mod_mul(r, a, b, &group->field, ctx); in ec_GFp_simple_field_mul()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 586 if (!BN_mod_mul(&xr, dsa->priv_key, r, dsa->q, ctx)) { in DSA_do_sign() 597 if (!BN_mod_mul(s, s, kinv, dsa->q, ctx)) { in DSA_do_sign() 701 if (!BN_mod_mul(&u1, &u1, &u2, dsa->q, ctx)) { in DSA_do_check_signature() 706 if (!BN_mod_mul(&u2, sig->r, &u2, dsa->q, ctx)) { in DSA_do_check_signature()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 688 !BN_mod_mul(&de, key->d, key->e, &lcm, ctx)) { in RSA_check_key() 716 !BN_mod_mul(&iqmp_times_q, key->iqmp, key->q, key->p, ctx)) { in RSA_check_key()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 1319 res = BN_mod_mul((BIGNUM *) d, (const BIGNUM *) a, (const BIGNUM *) b, in crypto_bignum_mulmod() 1656 BN_mod_mul(tmp, tmp, (const BIGNUM *) x, e->prime, e->bnctx) && in crypto_ec_point_compute_y_sqr() 1657 BN_mod_mul(tmp2, e->a, (const BIGNUM *) x, e->prime, e->bnctx) && in crypto_ec_point_compute_y_sqr()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 549 OPENSSL_EXPORT int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
|