/freebsd/crypto/openssl/doc/man3/ |
H A D | BN_add.pod | 5 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>.
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_chk.c | 127 if (!BN_div(m, NULL, l, m, ctx)) { /* remainder is 0 */ in rsa_validate_keypair_multiprime() 145 if (!BN_div(m, NULL, l, m, ctx)) { /* remainder is 0 */ in rsa_validate_keypair_multiprime()
|
H A D | rsa_x931g.c | 110 if (!BN_div(r0, NULL, r0, r3, ctx)) in RSA_X931_derive_ex()
|
H A D | rsa_sp800_56b_check.c | 273 && BN_div(lcm, NULL, p1q1, gcd, ctx); /* LCM((p-1, q-1)) */ in ossl_rsa_get_lcm()
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_mont.c | 333 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()
|
H A D | bn_div.c | 17 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
|
H A D | bn_gcd.c | 101 if (!BN_div(D, M, &local_A, B, ctx)) in bn_mod_inverse_no_branch() 407 if (!BN_div(D, M, A, B, ctx)) in int_bn_mod_inverse()
|
H A D | bn_recp.c | 186 if (!BN_div(r, NULL, t, m, ctx)) in BN_reciprocal()
|
/freebsd/crypto/openssl/fuzz/ |
H A D | bndiv.c | 83 OPENSSL_assert(BN_div(b3, b4, b1, b2, ctx)); in FuzzerTestOneInput()
|
/freebsd/crypto/openssl/test/ |
H A D | bntest.c | 337 if (TEST_true(BN_div(a, b, a, b, ctx)) in test_signed_mod_replace_ab() 360 if (TEST_true(BN_div(b, a, a, b, ctx)) in test_signed_mod_replace_ba() 392 && TEST_true(BN_div(d, e, a, b, ctx)) in test_mod() 1326 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx)) in file_lshift1() 1339 || !TEST_true(BN_div(ret, NULL /* rem */ , lshift1, two, ctx)) in file_lshift1() 1430 || !TEST_true(BN_div(ret, remainder, square, a, ctx)) in file_square() 1490 || !TEST_true(BN_div(ret, remainder, product, a, ctx)) in file_product() 1493 || !TEST_true(BN_div(ret, remainder, product, b, ctx)) in file_product() 1525 if (!TEST_true(BN_div(ret, ret2, a, b, ctx)) in file_quotient() 2222 if (!TEST_true(BN_div(a, b, numerator, denominator, ctx)) in test_negzero() [all …]
|
/freebsd/lib/libmp/ |
H A D | mpasbn.c | 242 BN_ERRCHECK(msg, BN_div(q, r, nmp->bn, dmp->bn, c)); in _mdiv() 579 BN_ERRCHECK(msg, BN_div(q, r, nmp->bn, dmp->bn, c)); in _sdiv()
|
/freebsd/usr.bin/factor/ |
H A D | factor.c | 282 BN_div(num, NULL, val, x, ctx); in pollard_pminus1()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | bn.h | 269 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 271 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx))
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_check.c | 199 if (!BN_div(t1, t2, dh->params.p, dh->params.q, ctx)) in DH_check()
|
/freebsd/crypto/openssl/crypto/ffc/ |
H A D | ffc_params_generate.c | 742 if (!(BN_sub(pm1, p, BN_value_one()) && BN_div(e, NULL, pm1, q, ctx))) in ossl_ffc_params_FIPS186_4_gen_verify() 989 if (!BN_div(r0, NULL, test, q, ctx)) in ossl_ffc_params_FIPS186_2_gen_verify()
|
/freebsd/contrib/ntp/util/ |
H A D | ntp-keygen.c | 1798 BN_div(w, u, w, s1[j], ctx); in gen_mvkey() 1822 BN_div(s, u, s, s1[n], ctx); in gen_mvkey()
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_lib.c | 354 || !BN_div(group->cofactor, NULL, group->cofactor, group->order, ctx)) in ec_guess_cofactor()
|
/freebsd/secure/lib/libcrypto/ |
H A D | Version.map | 479 BN_div;
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 2094 res = BN_div((BIGNUM *) c, NULL, (const BIGNUM *) a, in crypto_bignum_div()
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | Makefile | 996 MLINKS+= BN_add.3 BN_div.3
|
/freebsd/crypto/openssl/ |
H A D | CHANGES.md | 10486 - Enforce the 'num' check in BN_div() (bn_div.c) for non-BN_DEBUG 10804 BN_mod_inverse_no_branch() of BN_div() and BN_mod_inverse(), 10806 conditional branches. These are automatically called by BN_div() 13838 * In BN_div() keep a copy of the sign of 'num' before writing the 14393 * BN_div bugfix: If the result is 0, the sign (res->neg) must not be 16898 * Bug fix for BN_div() when the first words of num and divisor are
|
/freebsd/crypto/openssl/util/ |
H A D | libcrypto.num | 383 BN_div 391 3_0_0 EXIST::FUNCTION:
|