Home
last modified time | relevance | path

Searched refs:BN_div (Results 1 – 15 of 15) sorted by relevance

/external/boringssl/src/crypto/bn/
Dbn_test.cc439 if (BN_div(d.get(), c.get(), a.get(), b.get(), ctx)) { in test_div()
458 if (!BN_div(d.get(), c.get(), a.get(), b.get(), ctx)) { in test_div()
493 if (!BN_div(d.get(), c.get(), a.get(), b.get(), ctx)) { in test_div()
505 if (!BN_div(d.get(), c.get(), a.get(), b.get(), ctx)) { in test_div()
575 if (!BN_div(d.get(), e.get(), a.get(), c.get(), ctx) || in test_rshift()
705 if (!BN_div(d.get(), e.get(), c.get(), a.get(), ctx.get()) || in test_mul()
757 if (!BN_div(d.get(), e.get(), c.get(), a.get(), ctx) || in test_sqr()
987 if (!BN_div(d.get(), e.get(), a.get(), b.get(), ctx) || in test_mod()
1054 !BN_div(a.get(), b.get(), d.get(), c.get(), ctx)) { in test_mod_mul()
1109 !BN_div(a.get(), b.get(), e.get(), c.get(), ctx)) { in test_mod_exp()
[all …]
Dgcd.c430 if (!BN_div(D, M, A, B, ctx)) { in BN_mod_inverse_ex()
622 if (!BN_div(D, M, pA, B, ctx)) { in BN_mod_inverse_no_branch()
Dmontgomery.c233 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) { in BN_MONT_CTX_set()
266 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) { in BN_MONT_CTX_set()
Dsqrt.c466 if (!BN_div(tmp, NULL, in, estimate, ctx) || in BN_sqrt()
Ddiv.c115 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, in BN_div() function
Dexponentiation.c253 if (!BN_div(r, NULL, t, m, ctx)) { in BN_reciprocal()
/external/boringssl/src/crypto/rsa/
Drsa.c603 if (!BN_div(&lcm, NULL, &lcm, &gcd, ctx) || in RSA_check_key()
727 !BN_div(multiple, NULL, totient, rsa->n, ctx) || in RSA_recover_crt_params()
729 !BN_div(totient, rem, totient, multiple, ctx)) { in RSA_recover_crt_params()
762 !BN_div(rsa->p, NULL, rsa->n, rsa->q, ctx) || in RSA_recover_crt_params()
/external/boringssl/src/crypto/dh/
Dcheck.c139 if (!BN_div(t1, t2, dh->p, dh->q, ctx)) { in DH_check()
/external/boringssl/src/include/openssl/
Dbn.h418 OPENSSL_EXPORT int BN_div(BIGNUM *quotient, BIGNUM *rem,
505 BN_div(NULL, (rem), (numerator), (divisor), (ctx))
/external/tpm2/
DMathFunctions.c307 if (BN_div(bnQ, bnR, bnN, bnD, context) != 1) in _math__Div()
DCpriRSA.c76 if (BN_div(bnQ, bnQr, bnN, bnP, context) != 1) in RsaPrivateExponent()
203 if(BN_div(bnQ, bnQr, bnN, bnP, context) != 1) in _cpri__TestKeyRSA()
DCpriECC.c1150 BN_div(NULL, bnT, bnT, bnN, context); in SchnorrEcc()
Dpart4.txt25892 229 if (BN_div(bnQ, bnR, bnN, bnD, context) != 1)
28915 56 if (BN_div(bnQ, bnQr, bnN, bnP, context) != 1)
29069 185 if(BN_div(bnQ, bnQr, bnN, bnP, context) != 1)
34398 1031 BN_div(NULL, bnT, bnT, bnN, context);
/external/boringssl/src/crypto/dsa/
Ddsa.c337 !BN_div(r0, NULL, test, q, ctx)) { in DSA_generate_parameters_ex()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1148 res = BN_div((BIGNUM *) c, NULL, (const BIGNUM *) a, in crypto_bignum_div()