/external/openssl/crypto/bn/ |
bn_sqrt.c | 193 if (!BN_mod_mul(t, t, y, p, ctx)) goto end; 197 if (!BN_mod_mul(x, A, b, p, ctx)) goto end; 198 if (!BN_mod_mul(x, x, t, p, ctx)) goto end; 314 if (!BN_mod_mul(b, b, A, p, ctx)) goto end; 317 if (!BN_mod_mul(x, x, A, p, ctx)) goto end; 349 if (!BN_mod_mul(t, t, t, p, ctx)) goto end; 359 if (!BN_mod_mul(y, t, t, p, ctx)) goto end; 360 if (!BN_mod_mul(x, x, t, p, ctx)) goto end; 361 if (!BN_mod_mul(b, b, y, p, ctx)) goto end;
|
bn_blind.c | 208 if (!BN_mod_mul(b->A,b->A,b->A,b->mod,ctx)) goto err; 209 if (!BN_mod_mul(b->Ai,b->Ai,b->Ai,b->mod,ctx)) goto err; 247 if (!BN_mod_mul(n,n,b->A,b->mod,ctx)) ret=0; 264 ret = BN_mod_mul(n, n, r, b->mod, ctx); 272 ret = BN_mod_mul(n, n, b->Ai, b->mod, ctx);
|
bn_mod.c | 178 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
|
bn_exp.c | 1023 if (!BN_mod_mul(d,val[0],val[0],m,ctx)) 1029 !BN_mod_mul(val[i],val[i-1],d,m,ctx)) 1048 if (!BN_mod_mul(r,r,r,m,ctx)) 1078 if (!BN_mod_mul(r,r,r,m,ctx)) 1083 if (!BN_mod_mul(r,r,val[wvalue>>1],m,ctx))
|
expspeed.c | 280 if (!BN_mod_mul(r,a,b,c,ctx)) goto err;
|
bn_prime.c | 363 if (!BN_mod_mul(w, w, w, a, ctx)) /* w := w^2 mod a */
|
bntest.c | 238 message(out,"BN_mod_mul"); 777 BN_mod_mul(&d,&a,&b,&n,ctx); 861 if (!BN_mod_mul(e,a,b,c,ctx)) 884 * BN_mod_mul could generate negative results) [all...] |
bn.h | 475 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, [all...] |
/external/openssh/ |
jpake.c | 287 if (BN_mod_mul(exponent, mypriv2, s, grp->q, bn_ctx) != 1) 288 fatal("%s: BN_mod_mul (exponent = mypriv2 * s mod p)", 295 if (BN_mod_mul(tmp, mypub1, theirpub1, grp->p, bn_ctx) != 1) 296 fatal("%s: BN_mod_mul (tmp = mypub1 * theirpub1 mod p)", 298 if (BN_mod_mul(tmp, tmp, theirpub2, grp->p, bn_ctx) != 1) 299 fatal("%s: BN_mod_mul (tmp = tmp * theirpub2 mod p)", __func__); 306 fatal("%s: BN_mod_mul (newpub = tmp^exponent mod p)", __func__); 379 if (BN_mod_mul(tmp, mypub1, mypub2, grp->p, bn_ctx) != 1) 380 fatal("%s: BN_mod_mul (tmp = mypub1 * mypub2 mod p)", __func__); 381 if (BN_mod_mul(tmp, tmp, theirpub1, grp->p, bn_ctx) != 1 [all...] |
schnorr.c | 183 if (BN_mod_mul(tmp, x, h, grp_q, bn_ctx) == -1) { 184 error("%s: BN_mod_mul (tmp = xv mod q)", __func__); 188 error("%s: BN_mod_mul (r = v - tmp)", __func__); 326 if (BN_mod_mul(expected, g_r, g_xh, grp_p, bn_ctx) == -1) { 327 error("%s: BN_mod_mul (expected = g_r mod p)", __func__);
|
/external/openssl/crypto/dsa/ |
dsa_ossl.c | 178 if (!BN_mod_mul(&xr,dsa->priv_key,r,dsa->q,ctx)) goto err;/* s = xr */ 182 if (!BN_mod_mul(s,s,kinv,dsa->q,ctx)) goto err; 365 if (!BN_mod_mul(&u1,&u1,&u2,dsa->q,ctx)) goto err; 368 if (!BN_mod_mul(&u2,sig->r,&u2,dsa->q,ctx)) goto err;
|
/external/openssl/crypto/ecdsa/ |
ecs_ossl.c | 302 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx)) 312 if (!BN_mod_mul(s, s, ckinv, order, ctx)) 428 if (!BN_mod_mul(u1, m, u2, order, ctx)) 434 if (!BN_mod_mul(u2, sig->r, u2, order, ctx))
|
/external/openssl/crypto/srp/ |
srp_lib.c | 160 if (!BN_mod_mul(tmp,A,tmp,N,bn_ctx)) 189 !BN_mod_mul(kv,v,k,N,bn_ctx) || 274 if (!BN_mod_mul(tmp2,tmp,k,N,bn_ctx)) 279 if (!BN_mod_mul(tmp3,u,x,N,bn_ctx))
|
/external/openssl/crypto/jpake/ |
jpake.c | 205 BN_mod_mul(t, x, h, ctx->p.q, ctx->ctx); 230 BN_mod_mul(t3, t1, t2, ctx->p.p, ctx->ctx); 356 BN_mod_mul(t2, t1, ctx->p.gxc, ctx->p.p, ctx->ctx); 358 BN_mod_mul(t1, t2, ctx->p.gxd, ctx->p.p, ctx->ctx); 360 BN_mod_mul(t2, ctx->xb, ctx->secret, ctx->p.q, ctx->ctx); 402 BN_mod_mul(t1, gx, t3, ctx->p.p, ctx->ctx); 428 BN_mod_mul(t1, ctx->p.gxc, t2, ctx->p.p, ctx->ctx);
|
/external/openssl/crypto/rsa/ |
rsa_chk.c | 122 r = BN_mod_mul(i, key->d, key->e, k, ctx);
|
/external/openssl/crypto/ec/ |
ecp_oct.c | 112 if (!BN_mod_mul(tmp1, tmp2, x_, &group->field, ctx)) goto err; 127 if (!BN_mod_mul(tmp2, tmp2, x, &group->field, ctx)) goto err;
|
ecp_smpl.c | 332 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx)) goto err; 626 if (!BN_mod_mul(Z_3, Z_2, Z_1, &group->field, ctx)) goto err; [all...] |
/external/openssl/include/openssl/ |
bn.h | 475 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, [all...] |
/external/openssl/crypto/engine/ |
eng_cryptodev.c | 1167 if (!BN_mod_mul(u1,t1,&t2,dsa->p,ctx)) [all...] |