Home
last modified time | relevance | path

Searched refs:BN_mod_exp (Results 1 – 13 of 13) sorted by relevance

/external/openssl/crypto/jpake/
Djpake.c199 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()
325 BN_mod_exp(t1, ctx->p.g, ctx->xa, ctx->p.p, ctx->ctx); in JPAKE_STEP2_generate()
367 BN_mod_exp(t1, ctx->p.gxd, ctx->xb, ctx->p.p, ctx->ctx); in compute_key()
371 BN_mod_exp(t3, t1, t2, ctx->p.p, ctx->ctx); in compute_key()
375 BN_mod_exp(ctx->key, t1, ctx->xb, ctx->p.p, ctx->ctx); in compute_key()
397 BN_mod_exp(t2, ctx->p.g, t1, ctx->p.p, ctx->ctx); in JPAKE_STEP2_process()
/external/openssl/crypto/bn/
Dbn_sqrt.c148 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()
Dexpspeed.c275 if (!BN_mod_exp(r,a,b,c,ctx)) goto err; in do_mul_exp()
Dbn_blind.c363 if (!BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx)) in BN_BLINDING_create_param()
Dbn_exp.c164 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, in BN_mod_exp() function
Dbn.h480 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
Dbntest.c930 if (!BN_mod_exp(d,a,b,c,ctx)) in test_mod_exp()
/external/openssl/crypto/dsa/
Ddsa_key.c115 if (!BN_mod_exp(pub_key,dsa->g,prk,dsa->p,ctx)) goto err; in dsa_builtin_keygen()
Ddsa_ameth.c277 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/
Dcrypto_openssl.c234 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1) in crypto_mod_exp()
/external/openssl/crypto/pem/
Dpvkfmt.c346 if (!BN_mod_exp(dsa->pub_key, dsa->g, in b2i_dss()
/external/openssl/include/openssl/
Dbn.h480 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
/external/openssl/crypto/engine/
Deng_cryptodev.c1004 ret = BN_mod_exp(r, a, p, m, ctx); in cryptodev_bn_mod_exp()