Home
last modified time | relevance | path

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

/openssl-master/test/
A Dexptest.c168 if (!TEST_true(BN_mod(a, a, m, ctx)) in test_mod_exp()
169 || !TEST_true(BN_mod(b, b, m, ctx)) in test_mod_exp()
254 if (!TEST_true(BN_mod(a1, a1, m1, ctx)) in test_mod_exp_x2()
255 || !TEST_true(BN_mod(b1, b1, m1, ctx)) in test_mod_exp_x2()
256 || !TEST_true(BN_mod(a2, a2, m2, ctx)) in test_mod_exp_x2()
257 || !TEST_true(BN_mod(b2, b2, m2, ctx)) in test_mod_exp_x2()
A Dbntest.c399 if (!(TEST_true(BN_mod(c, a, b, ctx)) in test_mod()
/openssl-master/crypto/rsa/
A Drsa_chk.c162 if (!BN_mod(j, key->d, i, ctx)) { in rsa_validate_keypair_multiprime()
176 if (!BN_mod(j, key->d, i, ctx)) { in rsa_validate_keypair_multiprime()
203 if (!BN_mod(j, key->d, i, ctx)) { in rsa_validate_keypair_multiprime()
A Drsa_x931g.c125 if (!BN_mod(rsa->dmp1, rsa->d, r1, ctx)) in RSA_X931_derive_ex()
132 if (!BN_mod(rsa->dmq1, rsa->d, r2, ctx)) in RSA_X931_derive_ex()
A Drsa_ossl.c733 if (!BN_mod(r1, c, rsa->q, ctx)) { in rsa_ossl_mod_exp()
758 if (!BN_mod(r1, c, rsa->p, ctx)) { in rsa_ossl_mod_exp()
806 if (!BN_mod(r1, cc, pinfo->r, ctx)) { in rsa_ossl_mod_exp()
843 if (!BN_mod(r0, pr1, rsa->p, ctx)) { in rsa_ossl_mod_exp()
888 if (!BN_mod(r1, pr2, pinfo->r, ctx)) { in rsa_ossl_mod_exp()
936 if (!BN_mod(vrfy, vrfy, rsa->n, ctx)) in rsa_ossl_mod_exp()
A Drsa_gen.c365 if (!BN_mod(rsa->dmp1, d, r1, ctx) in rsa_multiprime_keygen()
366 || !BN_mod(rsa->dmq1, d, r2, ctx)) { in rsa_multiprime_keygen()
375 if (!BN_mod(pinfo->d, d, pinfo->d, ctx)) { in rsa_multiprime_keygen()
A Drsa_sp800_56b_gen.c290 if (!BN_mod(rsa->dmp1, rsa->d, p1, ctx)) in ossl_rsa_sp800_56b_derive_params_from_pq()
299 if (!BN_mod(rsa->dmq1, rsa->d, q1, ctx)) in ossl_rsa_sp800_56b_derive_params_from_pq()
/openssl-master/crypto/bn/
A Dbn_exp2.c72 if (!BN_mod(val1[0], a1, m, ctx)) in BN_mod_exp2_mont()
101 if (!BN_mod(val2[0], a2, m, ctx)) in BN_mod_exp2_mont()
A Dbn_mod.c20 if (!(BN_mod(r, m, d, ctx))) in BN_nnmod()
231 return BN_mod(r, r, m, ctx); in BN_mod_sqr()
A Dbn_rand.c311 if (BN_mod(out, out, range, ctx) != 1) in BN_generate_dsa_nonce()
A Dbn_mont.c397 if (!BN_mod(&(mont->RR), &(mont->RR), &(mont->N), ctx)) in BN_MONT_CTX_set()
A Dbn_prime.c558 if (!BN_mod(t1, rnd, add, ctx)) in probable_prime_dh()
A Dbn_exp.c1138 (BN_mod(t, r, m, ctx) && (swap_tmp = r, r = t, t = swap_tmp, 1)))) in BN_mod_exp_mont_word()
/openssl-master/doc/man3/
A DBN_add.pod5 BN_add, BN_sub, BN_mul, BN_sqr, BN_div, BN_mod, BN_nnmod, BN_mod_add,
24 int BN_mod(BIGNUM *rem, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
69 BN_mod() corresponds to BN_div() with I<dv> set to B<NULL>.
/openssl-master/crypto/dsa/
A Ddsa_ossl.c297 if (!BN_mod(r, r, dsa->params.q, ctx)) in dsa_sign_setup()
408 if (!BN_mod(u1, t1, dsa->params.q, ctx)) in dsa_do_verify()
/openssl-master/include/openssl/
A Dbn.h271 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx)) macro
/openssl-master/util/
A Dother.syms225 BN_mod define
/openssl-master/crypto/ffc/
A Dffc_params_generate.c270 || !BN_mod(c, X, tmp, ctx) in generate_p()
/openssl-master/
A DCHANGES.md12908 problems with BN_mod() and BN_nnmod().
13529 * Use BN_nnmod instead of BN_mod in crypto/bn/bn_exp.c so that
13559 `BN_nnmod` otherwise is `like BN_mod` (if `BN_mod` computes a remainder `r`

Completed in 56 milliseconds