/external/openssl/crypto/jpake/ |
D | jpake.c | 199 BN_mod_exp(p->zkpx.gr, zkpg, r, ctx->p.p, ctx->ctx); in generate_zkp() 226 BN_mod_exp(t1, zkpg, p->zkpx.b, ctx->p.p, ctx->ctx); in verify_zkp() 228 BN_mod_exp(t2, p->gx, h, ctx->p.p, ctx->ctx); in verify_zkp() 250 BN_mod_exp(p->gx, g, x, ctx->p.p, ctx->ctx); in generate_step_part() 295 BN_mod_exp(t, gx, ctx->p.q, ctx->p.p, ctx->ctx); in is_legal() 354 BN_mod_exp(t1, ctx->p.g, ctx->xa, ctx->p.p, ctx->ctx); in JPAKE_STEP2_generate() 396 BN_mod_exp(t1, ctx->p.gxd, ctx->xb, ctx->p.p, ctx->ctx); in compute_key() 400 BN_mod_exp(t3, t1, t2, ctx->p.p, ctx->ctx); in compute_key() 404 BN_mod_exp(ctx->key, t1, ctx->xb, ctx->p.p, ctx->ctx); in compute_key() 426 BN_mod_exp(t2, ctx->p.g, t1, ctx->p.p, ctx->ctx); in JPAKE_STEP2_process()
|
/external/openssl/crypto/srp/ |
D | srp_lib.c | 158 if (!BN_mod_exp(tmp,v,u,N,bn_ctx)) in SRP_Calc_server_key() 162 if (!BN_mod_exp(S,tmp,b,N,bn_ctx)) in SRP_Calc_server_key() 187 if (!BN_mod_exp(gb,g,b,N,bn_ctx) || in SRP_Calc_B() 245 !BN_mod_exp(A,g,a,N,bn_ctx)) in SRP_Calc_A() 270 if (!BN_mod_exp(tmp,g,x,N,bn_ctx)) in SRP_Calc_client_key() 283 if (!BN_mod_exp(K,tmp,tmp2,N,bn_ctx)) in SRP_Calc_client_key()
|
D | srp_vfy.c | 638 if (!BN_mod_exp(*verifier,g,x,N,bn_ctx)) in SRP_create_verifier_BN()
|
/external/openssl/crypto/bn/ |
D | bn_sqrt.c | 148 if (!BN_mod_exp(ret, A, q, p, ctx)) goto end; in BN_mod_sqrt() 187 if (!BN_mod_exp(b, t, q, p, ctx)) goto end; in BN_mod_sqrt() 258 if (!BN_mod_exp(y, y, q, p, ctx)) goto end; in BN_mod_sqrt() 302 if (!BN_mod_exp(x, A, t, p, ctx)) goto end; in BN_mod_sqrt()
|
D | expspeed.c | 275 if (!BN_mod_exp(r,a,b,c,ctx)) goto err; in do_mul_exp()
|
D | bn_blind.c | 372 if (!BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx)) in BN_BLINDING_create_param()
|
D | bn_exp.c | 176 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, in BN_mod_exp() function
|
D | bn.h | 498 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
D | bntest.c | 930 if (!BN_mod_exp(d,a,b,c,ctx)) in test_mod_exp()
|
/external/openssh/ |
D | jpake.c | 226 if (BN_mod_exp(*g_priv1, grp->g, *priv1, grp->p, bn_ctx) == -1) in jpake_step1() 228 if (BN_mod_exp(*g_priv2, grp->g, *priv2, grp->p, bn_ctx) == -1) in jpake_step1() 305 if (BN_mod_exp(*newpub, tmp, exponent, grp->p, bn_ctx) != 1) in jpake_step2() 404 if (BN_mod_exp(tmp, theirpub2, tmp, grp->p, bn_ctx) != 1) in jpake_key_confirm() 408 if (BN_mod_exp(*k, tmp, mypriv2, grp->p, bn_ctx) != 1) in jpake_key_confirm()
|
D | schnorr.c | 169 if (BN_mod_exp(g_v, grp_g, v, grp_p, bn_ctx) == -1) { in schnorr_sign() 294 if (BN_mod_exp(gx_q, g_x, grp_q, grp_p, bn_ctx) == -1) { in schnorr_verify() 312 if (BN_mod_exp(g_xh, g_x, h, grp_p, bn_ctx) == -1) { in schnorr_verify() 319 if (BN_mod_exp(g_r, grp_g, r, grp_p, bn_ctx) == -1) { in schnorr_verify() 594 if (BN_mod_exp(g_x, grp_g, x, grp_p, bn_ctx) == -1) in schnorr_selftest_one()
|
/external/openssl/crypto/dsa/ |
D | dsa_key.c | 131 if (!BN_mod_exp(pub_key,dsa->g,prk,dsa->p,ctx)) goto err; in dsa_builtin_keygen()
|
D | dsa_ameth.c | 277 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx)) in dsa_priv_decode()
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | crypto_openssl.c | 234 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1) in crypto_mod_exp()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 331 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1) in crypto_mod_exp()
|
/external/openssl/crypto/pem/ |
D | pvkfmt.c | 346 if (!BN_mod_exp(dsa->pub_key, dsa->g, in b2i_dss()
|
/external/openssl/include/openssl/ |
D | bn.h | 498 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
/external/openssl/crypto/engine/ |
D | eng_cryptodev.c | 1035 ret = BN_mod_exp(r, a, p, m, ctx); in cryptodev_bn_mod_exp()
|
/external/openssl/apps/ |
D | s_client.c | 422 BN_mod_exp(r, g, p, N, bn_ctx) && in srp_Verify_N_and_g()
|