Home
last modified time | relevance | path

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

/netbsd/src/lib/libtelnet/
Dpk.c81 BN_div(a, z, a, base, ctx); in extractideakey()
85 BN_div(a, z, a, base, ctx); in extractideakey()
115 BN_div(a, z, a, base, ctx); in extractdeskey()
119 BN_div(a, z, a, base, ctx); in extractdeskey()
207 BN_div(tmp, sk, sk, modulus, ctx); in genkeys()
/netbsd/src/crypto/external/bsd/openssl/dist/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.c101 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()
Dbn_recp.c186 if (!BN_div(r, NULL, t, m, ctx)) in BN_reciprocal()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/rsa/
Drsa_chk.c127 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()
Drsa_x931g.c110 if (!BN_div(r0, NULL, r0, r3, ctx)) in RSA_X931_derive_ex()
Drsa_sp800_56b_check.c273 && BN_div(lcm, NULL, p1q1, gcd, ctx); /* LCM((p-1, q-1)) */ in ossl_rsa_get_lcm()
/netbsd/src/tests/crypto/libcrypto/bn/div/
Ddivtest.c38 if (BN_div(C, D, a, b, ctx) != 1) in main()
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dbntest.c337 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 …]
/netbsd/src/crypto/external/bsd/netpgp/dist/src/libbn/
Dbn.h112 int BN_div(BIGNUM */*q*/, BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/, BN_CTX */*ctx*/);
Dbignum.c5362 BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *a, const BIGNUM *d, BN_CTX *ctx) in BN_div() function
/netbsd/src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
Dbn.h78 #define BN_div PGPV_BN_div macro
/netbsd/src/games/factor/
Dfactor.c368 BN_div(num, NULL, val, x, ctx); in pollard_pminus1()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/dh/
Ddh_check.c199 if (!BN_div(t1, t2, dh->params.p, dh->params.q, ctx)) in DH_check()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/librsa/
Drsa.c474 if (!BN_div(NULL, M, t1, dsa->q, NULL)) { in dsa_do_verify()
/netbsd/src/external/bsd/ntp/dist/util/
Dntp-keygen.c1800 BN_div(w, u, w, s1[j], ctx); in gen_mvkey()
1824 BN_div(s, u, s, s1[n], ctx); in gen_mvkey()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/ec/
Dec_lib.c355 || !BN_div(group->cofactor, NULL, group->cofactor, group->order, ctx)) in ec_guess_cofactor()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/libverify/
Dlibverify.c1652 !BN_div(NULL, t1, t1, pubkey->bn[DSA_Q].bn, NULL)) { in verify_dsa_sig()
/netbsd/src/crypto/external/bsd/openssl/lib/libcrypto/
Dcrypto.map575 BN_div;
Dcrypto.expsym573 BN_div@@OPENSSL_3.0.0
/netbsd/src/external/bsd/wpa/dist/src/crypto/
Dcrypto_openssl.c2094 res = BN_div((BIGNUM *) c, NULL, (const BIGNUM *) a, in crypto_bignum_div()
/netbsd/src/crypto/external/bsd/openssl/dist/
DCHANGES.md10517 - Enforce the 'num' check in BN_div() (bn_div.c) for non-BN_DEBUG
10835 BN_mod_inverse_no_branch() of BN_div() and BN_mod_inverse(),
10837 conditional branches. These are automatically called by BN_div()
13869 * In BN_div() keep a copy of the sign of 'num' before writing the
14424 * BN_div bugfix: If the result is 0, the sign (res->neg) must not be
16929 * Bug fix for BN_div() when the first words of num and divisor are
/netbsd/src/crypto/external/bsd/openssl/dist/util/
Dlibcrypto.num383 BN_div 391 3_0_0 EXIST::FUNCTION: