Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Dbn_test.cc456 if (!BN_div(d.get(), c.get(), a.get(), b.get(), ctx)) { in test_div()
491 if (!BN_div(d.get(), c.get(), a.get(), b.get(), ctx)) { in test_div()
503 if (!BN_div(d.get(), c.get(), a.get(), b.get(), ctx)) { in test_div()
573 if (!BN_div(d.get(), e.get(), a.get(), c.get(), ctx) || in test_rshift()
703 if (!BN_div(d.get(), e.get(), c.get(), a.get(), ctx.get()) || in test_mul()
755 if (!BN_div(d.get(), e.get(), c.get(), a.get(), ctx) || in test_sqr()
966 if (!BN_div(d.get(), e.get(), a.get(), b.get(), ctx) || in test_mod()
1023 !BN_div(a.get(), b.get(), d.get(), c.get(), ctx)) { in test_mod_mul()
1065 !BN_div(a.get(), b.get(), e.get(), c.get(), ctx)) { in test_mod_exp()
1106 !BN_div(a.get(), b.get(), e.get(), c.get(), ctx)) { in test_mod_exp_mont_consttime()
Ddiv.c115 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, in BN_div() function
128 OPENSSL_PUT_ERROR(BN, BN_div, BN_R_NOT_INITIALIZED); in BN_div()
138 OPENSSL_PUT_ERROR(BN, BN_div, BN_R_DIV_BY_ZERO); in BN_div()
Dgcd.c427 if (!BN_div(D, M, A, B, ctx)) { in BN_mod_inverse()
609 if (!BN_div(D, M, pA, B, ctx)) { in BN_mod_inverse_no_branch()
Dmontgomery.c238 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) { in BN_MONT_CTX_set()
271 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()
Dexponentiation.c242 if (!BN_div(r, NULL, t, m, ctx)) { in BN_reciprocal()
/external/boringssl/src/crypto/rsa/
Drsa.c550 !BN_div(&lcm, NULL, &lcm, &gcd, ctx) || in RSA_check_key()
669 !BN_div(multiple, NULL, totient, rsa->n, ctx) || in RSA_recover_crt_params()
671 !BN_div(totient, rem, totient, multiple, ctx)) { in RSA_recover_crt_params()
704 !BN_div(rsa->p, NULL, rsa->n, rsa->q, ctx) || in RSA_recover_crt_params()
/external/boringssl/src/crypto/err/
Dbn.errordata6 BN,function,105,BN_div
/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.h399 OPENSSL_EXPORT int BN_div(BIGNUM *quotient, BIGNUM *rem,
486 BN_div(NULL, (rem), (numerator), (divisor), (ctx))
/external/boringssl/src/crypto/dsa/
Ddsa_impl.c669 !BN_div(r0, NULL, test, q, ctx)) { in paramgen()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1057 res = BN_div((BIGNUM *) c, NULL, (const BIGNUM *) a, in crypto_bignum_div()