/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/ |
H A D | rsa.c | 143 (BN_mod(rsa->dmq1, rsa->d, aux, ctx) == 0) || 145 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0))
|
H A D | auth-rsa.c | 83 if (BN_mod(challenge, challenge, key->rsa->n, ctx) == 0) 84 fatal("auth_rsa_generate_challenge: BN_mod failed");
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/bn/ |
H A D | bn_mod.c | 119 int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) 129 /* like BN_mod, but returns non-negative remainder 132 if (!(BN_mod(r,m,d,ctx))) 207 return BN_mod(r, r, m, ctx);
|
H A D | exp.c | 37 BN_mod(&a,&a,&c,&ctx);
|
H A D | exptest.c | 120 BN_mod(a,a,m,ctx); 121 BN_mod(b,b,m,ctx);
|
H A D | bn_exp2.c | 174 if (!BN_mod(val1[0],a1,m,ctx)) 208 if (!BN_mod(val2[0],a2,m,ctx))
|
H A D | bn_prime.c | 419 if (!BN_mod(t1,rnd,add,ctx)) goto err; 462 if (!BN_mod(t1,q,qadd,ctx)) goto err;
|
H A D | bn_mont.c | 459 if (!BN_mod(&(mont->RR),&(mont->RR),&(mont->N),ctx)) goto err;
|
H A D | bn_exp.c | 675 if (!BN_mod(&am,a,m,ctx)) goto err; 848 (BN_mod(t, r, m, ctx) && (swap_tmp = r, r = t, t = swap_tmp, 1)))) 851 * than always using BN_mod (which uses BN_copy if 853 /* We can use BN_mod and do not need BN_nnmod because our 854 * accumulator is never negative (the result of BN_mod does
|
H A D | bn.h | 469 #define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx)) macro
|
H A D | bntest.c | 234 message(out,"BN_mod"); 813 BN_mod(c,a,b,ctx);/**/
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/engine/ |
H A D | eng_rsax.c | 437 BN_mod(&tmp, &two_768, &_m, ctx); 442 BN_mod(&tmp, &two_640, &_m, ctx); 554 if (!BN_mod(r1,c,rsa->q,ctx)) goto err; 558 if (!BN_mod(r1,I,rsa->q,ctx)) goto err; 578 if (!BN_mod(r1,c,rsa->p,ctx)) goto err; 582 if (!BN_mod(r1,I,rsa->p,ctx)) goto err; 613 if (!BN_mod(r0,pr1,rsa->p,ctx)) goto err; 637 if (!BN_mod(vrfy, vrfy, rsa->n, ctx)) goto err;
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rsa/ |
H A D | rsa_chk.c | 143 r = BN_mod(j, key->d, i, ctx); 157 r = BN_mod(j, key->d, i, ctx);
|
H A D | rsa_gen.c | 204 if (!BN_mod(rsa->dmp1,d,r1,ctx)) goto err; 207 if (!BN_mod(rsa->dmq1,d,r2,ctx)) goto err;
|
H A D | rsa_eay.c | 812 if (!BN_mod(r1,c,rsa->q,ctx)) goto err; 816 if (!BN_mod(r1,I,rsa->q,ctx)) goto err; 835 if (!BN_mod(r1,c,rsa->p,ctx)) goto err; 839 if (!BN_mod(r1,I,rsa->p,ctx)) goto err; 869 if (!BN_mod(r0,pr1,rsa->p,ctx)) goto err; 891 if (!BN_mod(vrfy, vrfy, rsa->n, ctx)) goto err;
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/engines/ccgost/ |
H A D | gost_sign.c | 67 BN_mod(tmp,md,dsa->q,ctx); 81 BN_mod(newsig->r,tmp,dsa->q,ctx); 163 BN_mod(tmp,md,dsa->q,ctx); 177 BN_mod(u,tmp3,dsa->q,ctx);
|
H A D | gost2001.c | 117 BN_mod(e,md,order,ctx); 217 BN_mod(e,md,order,ctx); 248 BN_mod(R,X,order,ctx);
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/util/ |
H A D | ntp-keygen.c | 1044 BN_mod(b, b, dsa->q, ctx); 1067 BN_mod(r, r, dsa->q, ctx); 1075 BN_mod(k, k, dsa->q, ctx); 1078 BN_mod(v, v, dsa->q, ctx); /* y = k + b r mod q */ 1221 BN_mod(rsa->e, rsa->e, rsa->n, ctx); 1228 BN_mod(u, u, rsa->n, ctx); 1260 BN_mod(r, r, rsa->n, ctx); 1268 BN_mod(k, k, rsa->n, ctx); 1508 BN_mod(dsa->g, dsa->g, dsa->p, ctx); 1532 BN_mod( [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/ |
H A D | bi_openssl.c | 91 BN_mod( result, result, bi_m, context);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/dsa/ |
H A D | dsa_ossl.c | 283 if (!BN_mod(r,r,dsa->q,ctx)) goto err; 383 if (!BN_mod(&u1,&t1,dsa->q,ctx)) goto err;
|
H A D | dsa_gen.c | 295 if (!BN_mod(c,X,r0,ctx)) goto err;
|
/netbsd-6-1-5-RELEASE/games/factor/ |
H A D | factor.c | 299 BN_mod(x, tmp, val, ctx);
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/ |
H A D | ntp_crypto.c | 2058 BN_mod(peer->iffval, peer->iffval, dsa->q, bctx); 2136 BN_mod(bn, bn, dsa->q, bctx); /* k + b r mod q */ 2360 BN_mod(peer->iffval, peer->iffval, rsa->n, bctx); 2436 BN_mod(k, k, rsa->n, bctx); 2686 BN_mod(peer->iffval, peer->iffval, dsa->p, bctx); 2764 BN_mod(k, k, dsa->q, bctx);
|