Searched refs:BN_nnmod (Results 1 - 10 of 10) sorted by relevance

/opensolaris-onvv-gate/usr/src/common/openssl/crypto/bn/
H A Dbn_mod.c127 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) function
144 return BN_nnmod(r, r, m, ctx);
162 return BN_nnmod(r, r, m, ctx);
194 if (!BN_nnmod(r,t,m,ctx)) goto err;
206 /* r->neg == 0, thus we don't need BN_nnmod */
215 return BN_nnmod(r, r, m, ctx);
236 if (!BN_nnmod(r, a, m, ctx)) return 0;
H A Dbn_kron.c173 err = !BN_nnmod(B, B, A, ctx);
H A Dbn_gcd.c239 if (!BN_nnmod(B, B, A, ctx)) goto err;
479 if (!BN_nnmod(R,Y,n,ctx)) goto err;
H A Dbn_sqrt.c128 if (!BN_nnmod(A, a, p, ctx)) goto end;
289 if (!BN_nnmod(t, A, p, ctx)) goto end;
H A Dexpspeed.c266 if (!BN_nnmod(a,a,c,ctx)) goto err;
267 if (!BN_nnmod(b,b,c,ctx)) goto err;
H A Dbn_exp.c281 if (!BN_nnmod(val[0],a,m,ctx)) goto err; /* 1 */
422 if (!BN_nnmod(val[0],a,m,ctx))
741 /* We can use BN_mod and do not need BN_nnmod because our
904 if (!BN_nnmod(val[0],a,m,ctx)) goto err; /* 1 */
H A Dbntest.c747 BN_nnmod(&a,&a,&n,ctx);
748 BN_nnmod(&b,&b,&n,ctx);
1779 if (!BN_nnmod(r, r, p, ctx)) goto err;
1782 if (!BN_nnmod(a, a, p, ctx)) goto err;
1791 if (!BN_nnmod(a, a, p, ctx)) goto err;
H A Dbn.h423 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/ecdsa/
H A Decs_ossl.c171 if (!BN_nnmod(r, X, order, ctx))
429 if (!BN_nnmod(u1, X, order, ctx))
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/ec/
H A Decp_smpl.c198 if (!BN_nnmod(tmp_a, a, p, ctx)) goto err;
205 if (!BN_nnmod(&group->b, b, p, ctx)) goto err;
408 if (!BN_nnmod(&point->X, x, &group->field, ctx)) goto err;
417 if (!BN_nnmod(&point->Y, y, &group->field, ctx)) goto err;
428 if (!BN_nnmod(&point->Z, z, &group->field, ctx)) goto err;
668 if (!BN_nnmod(x, x_, &group->field,ctx)) goto err;

Completed in 120 milliseconds