/external/openssl/crypto/bn/ |
D | bn_sqrt.c | 193 if (!BN_mod_mul(t, t, y, p, ctx)) goto end; in BN_mod_sqrt() 197 if (!BN_mod_mul(x, A, b, p, ctx)) goto end; in BN_mod_sqrt() 198 if (!BN_mod_mul(x, x, t, p, ctx)) goto end; in BN_mod_sqrt() 314 if (!BN_mod_mul(b, b, A, p, ctx)) goto end; in BN_mod_sqrt() 317 if (!BN_mod_mul(x, x, A, p, ctx)) goto end; in BN_mod_sqrt() 349 if (!BN_mod_mul(t, t, t, p, ctx)) goto end; in BN_mod_sqrt() 359 if (!BN_mod_mul(y, t, t, p, ctx)) goto end; in BN_mod_sqrt() 360 if (!BN_mod_mul(x, x, t, p, ctx)) goto end; in BN_mod_sqrt() 361 if (!BN_mod_mul(b, b, y, p, ctx)) goto end; in BN_mod_sqrt()
|
D | bn_blind.c | 208 if (!BN_mod_mul(b->A,b->A,b->A,b->mod,ctx)) goto err; in BN_BLINDING_update() 209 if (!BN_mod_mul(b->Ai,b->Ai,b->Ai,b->mod,ctx)) goto err; in BN_BLINDING_update() 247 if (!BN_mod_mul(n,n,b->A,b->mod,ctx)) ret=0; in BN_BLINDING_convert_ex() 264 ret = BN_mod_mul(n, n, r, b->mod, ctx); in BN_BLINDING_invert_ex() 272 ret = BN_mod_mul(n, n, b->Ai, b->mod, ctx); in BN_BLINDING_invert_ex()
|
D | bn_exp.c | 1023 if (!BN_mod_mul(d,val[0],val[0],m,ctx)) in BN_mod_exp_simple() 1029 !BN_mod_mul(val[i],val[i-1],d,m,ctx)) in BN_mod_exp_simple() 1048 if (!BN_mod_mul(r,r,r,m,ctx)) in BN_mod_exp_simple() 1078 if (!BN_mod_mul(r,r,r,m,ctx)) in BN_mod_exp_simple() 1083 if (!BN_mod_mul(r,r,val[wvalue>>1],m,ctx)) in BN_mod_exp_simple()
|
D | bn_mod.c | 178 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_mul() function
|
D | expspeed.c | 280 if (!BN_mod_mul(r,a,b,c,ctx)) goto err; in do_mul_exp()
|
D | bn_prime.c | 363 if (!BN_mod_mul(w, w, w, a, ctx)) /* w := w^2 mod a */ in witness()
|
D | bn.h | 475 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
|
D | bntest.c | 777 BN_mod_mul(&d,&a,&b,&n,ctx); in test_mont() 861 if (!BN_mod_mul(e,a,b,c,ctx)) in test_mod_mul()
|
/external/openssl/crypto/jpake/ |
D | jpake.c | 205 BN_mod_mul(t, x, h, ctx->p.q, ctx->ctx); in generate_zkp() 230 BN_mod_mul(t3, t1, t2, ctx->p.p, ctx->ctx); in verify_zkp() 356 BN_mod_mul(t2, t1, ctx->p.gxc, ctx->p.p, ctx->ctx); in JPAKE_STEP2_generate() 358 BN_mod_mul(t1, t2, ctx->p.gxd, ctx->p.p, ctx->ctx); in JPAKE_STEP2_generate() 360 BN_mod_mul(t2, ctx->xb, ctx->secret, ctx->p.q, ctx->ctx); in JPAKE_STEP2_generate() 402 BN_mod_mul(t1, gx, t3, ctx->p.p, ctx->ctx); in compute_key() 428 BN_mod_mul(t1, ctx->p.gxc, t2, ctx->p.p, ctx->ctx); in JPAKE_STEP2_process()
|
/external/openssh/ |
D | jpake.c | 287 if (BN_mod_mul(exponent, mypriv2, s, grp->q, bn_ctx) != 1) in jpake_step2() 295 if (BN_mod_mul(tmp, mypub1, theirpub1, grp->p, bn_ctx) != 1) in jpake_step2() 298 if (BN_mod_mul(tmp, tmp, theirpub2, grp->p, bn_ctx) != 1) in jpake_step2() 379 if (BN_mod_mul(tmp, mypub1, mypub2, grp->p, bn_ctx) != 1) in jpake_key_confirm() 381 if (BN_mod_mul(tmp, tmp, theirpub1, grp->p, bn_ctx) != 1) in jpake_key_confirm() 406 if (BN_mod_mul(tmp, tmp, step2_val, grp->p, bn_ctx) != 1) in jpake_key_confirm()
|
D | schnorr.c | 183 if (BN_mod_mul(tmp, x, h, grp_q, bn_ctx) == -1) { in schnorr_sign() 326 if (BN_mod_mul(expected, g_r, g_xh, grp_p, bn_ctx) == -1) { in schnorr_verify()
|
/external/openssl/crypto/dsa/ |
D | dsa_ossl.c | 178 if (!BN_mod_mul(&xr,dsa->priv_key,r,dsa->q,ctx)) goto err;/* s = xr */ in dsa_do_sign() 182 if (!BN_mod_mul(s,s,kinv,dsa->q,ctx)) goto err; in dsa_do_sign() 365 if (!BN_mod_mul(&u1,&u1,&u2,dsa->q,ctx)) goto err; in dsa_do_verify() 368 if (!BN_mod_mul(&u2,sig->r,&u2,dsa->q,ctx)) goto err; in dsa_do_verify()
|
/external/openssl/crypto/srp/ |
D | srp_lib.c | 160 if (!BN_mod_mul(tmp,A,tmp,N,bn_ctx)) in SRP_Calc_server_key() 189 !BN_mod_mul(kv,v,k,N,bn_ctx) || in SRP_Calc_B() 274 if (!BN_mod_mul(tmp2,tmp,k,N,bn_ctx)) in SRP_Calc_client_key() 279 if (!BN_mod_mul(tmp3,u,x,N,bn_ctx)) in SRP_Calc_client_key()
|
/external/openssl/crypto/ecdsa/ |
D | ecs_ossl.c | 302 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx)) in ecdsa_do_sign() 312 if (!BN_mod_mul(s, s, ckinv, order, ctx)) in ecdsa_do_sign() 428 if (!BN_mod_mul(u1, m, u2, order, ctx)) in ecdsa_do_verify() 434 if (!BN_mod_mul(u2, sig->r, u2, order, ctx)) in ecdsa_do_verify()
|
/external/openssl/crypto/ec/ |
D | ecp_oct.c | 112 if (!BN_mod_mul(tmp1, tmp2, x_, &group->field, ctx)) goto err; in ec_GFp_simple_set_compressed_coordinates() 127 if (!BN_mod_mul(tmp2, tmp2, x, &group->field, ctx)) goto err; in ec_GFp_simple_set_compressed_coordinates()
|
D | ecp_smpl.c | 332 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx)) goto err; in ec_GFp_simple_group_check_discriminant() 626 if (!BN_mod_mul(Z_3, Z_2, Z_1, &group->field, ctx)) goto err; in ec_GFp_simple_point_get_affine_coordinates() 1353 return BN_mod_mul(r, a, b, &group->field, ctx); in ec_GFp_simple_field_mul()
|
/external/openssl/crypto/rsa/ |
D | rsa_chk.c | 122 r = BN_mod_mul(i, key->d, key->e, k, ctx); in RSA_check_key()
|
/external/openssl/include/openssl/ |
D | bn.h | 475 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
|
/external/openssl/crypto/engine/ |
D | eng_cryptodev.c | 1167 if (!BN_mod_mul(u1,t1,&t2,dsa->p,ctx)) in cryptodev_dsa_dsa_mod_exp()
|