/openssl-master/test/ |
A D | exptest.c | 168 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 D | bntest.c | 399 if (!(TEST_true(BN_mod(c, a, b, ctx)) in test_mod()
|
/openssl-master/crypto/rsa/ |
A D | rsa_chk.c | 162 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 D | rsa_x931g.c | 125 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 D | rsa_ossl.c | 733 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 D | rsa_gen.c | 365 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 D | rsa_sp800_56b_gen.c | 290 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 D | bn_exp2.c | 72 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 D | bn_mod.c | 20 if (!(BN_mod(r, m, d, ctx))) in BN_nnmod() 231 return BN_mod(r, r, m, ctx); in BN_mod_sqr()
|
A D | bn_rand.c | 311 if (BN_mod(out, out, range, ctx) != 1) in BN_generate_dsa_nonce()
|
A D | bn_mont.c | 397 if (!BN_mod(&(mont->RR), &(mont->RR), &(mont->N), ctx)) in BN_MONT_CTX_set()
|
A D | bn_prime.c | 558 if (!BN_mod(t1, rnd, add, ctx)) in probable_prime_dh()
|
A D | bn_exp.c | 1138 (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 D | BN_add.pod | 5 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 D | dsa_ossl.c | 297 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 D | bn.h | 271 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx)) macro
|
/openssl-master/util/ |
A D | other.syms | 225 BN_mod define
|
/openssl-master/crypto/ffc/ |
A D | ffc_params_generate.c | 270 || !BN_mod(c, X, tmp, ctx) in generate_p()
|
/openssl-master/ |
A D | CHANGES.md | 12908 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`
|