Home
last modified time | relevance | path

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

/third_party/openssl/doc/man3/
DBN_add.pod5 BN_add, BN_sub, BN_mul, BN_sqr, BN_div, BN_mod, BN_nnmod, BN_mod_add,
21 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *a, const BIGNUM *d,
64 BN_div() divides I<a> by I<d> and places the result in I<dv> and the
71 BN_mod() corresponds to BN_div() with I<dv> set to B<NULL>.
/third_party/openssl/crypto/bn/
Dbn_mont.c333 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) in BN_MONT_CTX_set()
363 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) in BN_MONT_CTX_set()
388 if (!BN_div(&(mont->Ni), NULL, Ri, &mont->N, ctx)) in BN_MONT_CTX_set()
Dbn_div.c17 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
209 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, in BN_div() function
Dbn_gcd.c100 if (!BN_div(D, M, &local_A, B, ctx)) in bn_mod_inverse_no_branch()
405 if (!BN_div(D, M, A, B, ctx)) in int_bn_mod_inverse()
Dbn_recp.c186 if (!BN_div(r, NULL, t, m, ctx)) in BN_reciprocal()
/third_party/openssl/fuzz/
Dbndiv.c83 OPENSSL_assert(BN_div(b3, b4, b1, b2, ctx)); in FuzzerTestOneInput()
/third_party/openssl/test/
Dbntest.c341 if (TEST_true(BN_div(a, b, a, b, ctx)) in test_signed_mod_replace_ab()
364 if (TEST_true(BN_div(b, a, a, b, ctx)) in test_signed_mod_replace_ba()
396 && TEST_true(BN_div(d, e, a, b, ctx)) in test_mod()
1322 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx)) in file_lshift1()
1335 || !TEST_true(BN_div(ret, NULL /* rem */ , lshift1, two, ctx)) in file_lshift1()
1426 || !TEST_true(BN_div(ret, remainder, square, a, ctx)) in file_square()
1486 || !TEST_true(BN_div(ret, remainder, product, a, ctx)) in file_product()
1489 || !TEST_true(BN_div(ret, remainder, product, b, ctx)) in file_product()
1521 if (!TEST_true(BN_div(ret, ret2, a, b, ctx)) in file_quotient()
2138 if (!TEST_true(BN_div(a, b, numerator, denominator, ctx)) in test_negzero()
[all …]
/third_party/openssl/crypto/dsa/
Ddsa_gen.c253 if (!BN_div(r0, NULL, test, q, ctx)) in dsa_builtin_paramgen()
539 if (!BN_div(r0, NULL, test, q, ctx)) in dsa_builtin_paramgen2()
/third_party/openssl/crypto/dh/
Ddh_check.c134 if (!BN_div(t1, t2, dh->p, dh->q, ctx)) in DH_check()
/third_party/openssl/crypto/rsa/
Drsa_x931g.c104 if (!BN_div(r0, NULL, r0, r3, ctx)) in RSA_X931_derive_ex()
Drsa_chk.c140 if (!BN_div(k, NULL, l, m, ctx)) { /* remainder is 0 */ in RSA_check_key_ex()
/third_party/openssl/include/openssl/
Dbn.h245 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
247 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx))
/third_party/openssl/crypto/ec/
Dec_lib.c321 || !BN_div(group->cofactor, NULL, group->cofactor, group->order, ctx)) in ec_guess_cofactor()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_openssl.c1462 res = BN_div((BIGNUM *) c, NULL, (const BIGNUM *) a, in crypto_bignum_div()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c1535 res = BN_div((BIGNUM *) c, NULL, (const BIGNUM *) a, in crypto_bignum_div()
/third_party/grpc/src/boringssl/
Dboringssl_prefix_symbols.h906 #define BN_div BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_div) macro
/third_party/openssl/crypto/err/
Dopenssl.txt199 BN_F_BN_DIV:107:BN_div
/third_party/openssl/
DCHANGES5648 - Enforce the 'num' check in BN_div() (bn_div.c) for non-BN_DEBUG
5936 BN_mod_inverse_no_branch() of BN_div() and BN_mod_inverse(),
5938 conditional branches. These are automatically called by BN_div()
8620 *) In BN_div() keep a copy of the sign of 'num' before writing the
9108 *) BN_div bugfix: If the result is 0, the sign (res->neg) must not be
11273 *) Bug fix for BN_div() when the first words of num and divisor are
/third_party/openssl/util/
Dlibcrypto.num391 BN_div 391 1_1_0 EXIST::FUNCTION: