HomeSort by relevance Sort by last modified time
    Searched full:bn_mod_exp (Results 1 - 25 of 33) sorted by null

1 2

  /external/openssl/crypto/jpake/
jpake.c 199 BN_mod_exp(p->zkpx.gr, zkpg, r, ctx->p.p, ctx->ctx);
226 BN_mod_exp(t1, zkpg, p->zkpx.b, ctx->p.p, ctx->ctx);
228 BN_mod_exp(t2, p->gx, h, ctx->p.p, ctx->ctx);
250 BN_mod_exp(p->gx, g, x, ctx->p.p, ctx->ctx);
295 BN_mod_exp(t, gx, ctx->p.q, ctx->p.p, ctx->ctx);
354 BN_mod_exp(t1, ctx->p.g, ctx->xa, ctx->p.p, ctx->ctx);
396 BN_mod_exp(t1, ctx->p.gxd, ctx->xb, ctx->p.p, ctx->ctx);
400 BN_mod_exp(t3, t1, t2, ctx->p.p, ctx->ctx);
404 BN_mod_exp(ctx->key, t1, ctx->xb, ctx->p.p, ctx->ctx);
426 BN_mod_exp(t2, ctx->p.g, t1, ctx->p.p, ctx->ctx)
    [all...]
  /external/openssh/
jpake.c 226 if (BN_mod_exp(*g_priv1, grp->g, *priv1, grp->p, bn_ctx) == -1)
227 fatal("%s: BN_mod_exp", __func__);
228 if (BN_mod_exp(*g_priv2, grp->g, *priv2, grp->p, bn_ctx) == -1)
229 fatal("%s: BN_mod_exp", __func__);
305 if (BN_mod_exp(*newpub, tmp, exponent, grp->p, bn_ctx) != 1)
404 if (BN_mod_exp(tmp, theirpub2, tmp, grp->p, bn_ctx) != 1)
405 fatal("%s: BN_mod_exp (tmp = theirpub2^tmp) mod p", __func__);
408 if (BN_mod_exp(*k, tmp, mypriv2, grp->p, bn_ctx) != 1)
409 fatal("%s: BN_mod_exp (k = tmp^mypriv2) mod p", __func__);
schnorr.c 169 if (BN_mod_exp(g_v, grp_g, v, grp_p, bn_ctx) == -1) {
170 error("%s: BN_mod_exp (g^v mod p)", __func__);
294 if (BN_mod_exp(gx_q, g_x, grp_q, grp_p, bn_ctx) == -1) {
295 error("%s: BN_mod_exp (g_x^q mod p)", __func__);
312 if (BN_mod_exp(g_xh, g_x, h, grp_p, bn_ctx) == -1) {
313 error("%s: BN_mod_exp (g_x^h mod p)", __func__);
319 if (BN_mod_exp(g_r, grp_g, r, grp_p, bn_ctx) == -1) {
320 error("%s: BN_mod_exp (g_x^h mod p)", __func__);
594 if (BN_mod_exp(g_x, grp_g, x, grp_p, bn_ctx) == -1)
  /external/openssl/crypto/srp/
srp_lib.c 158 if (!BN_mod_exp(tmp,v,u,N,bn_ctx))
162 if (!BN_mod_exp(S,tmp,b,N,bn_ctx))
187 if (!BN_mod_exp(gb,g,b,N,bn_ctx) ||
245 !BN_mod_exp(A,g,a,N,bn_ctx))
270 if (!BN_mod_exp(tmp,g,x,N,bn_ctx))
283 if (!BN_mod_exp(K,tmp,tmp2,N,bn_ctx))
  /external/openssl/crypto/bn/
bn_blind.c 132 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member in struct:bn_blinding_st
308 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
337 if (bn_mod_exp != NULL)
338 ret->bn_mod_exp = bn_mod_exp;
365 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL)
367 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx))
372 if (!BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx))
bn_sqrt.c 148 if (!BN_mod_exp(ret, A, q, p, ctx)) goto end;
187 if (!BN_mod_exp(b, t, q, p, ctx)) goto end;
258 if (!BN_mod_exp(y, y, q, p, ctx)) goto end;
302 if (!BN_mod_exp(x, A, t, p, ctx)) goto end;
expspeed.c 275 if (!BN_mod_exp(r,a,b,c,ctx)) goto err;
  /external/openssl/crypto/engine/
eng_cryptodev.c 1035 ret = BN_mod_exp(r, a, p, m, ctx);
1054 ret = meth->bn_mod_exp(r, a, p, m, ctx, in_mont);
1059 ret = meth->bn_mod_exp(r, a, p, m, ctx, in_mont);
1160 if (!dsa->meth->bn_mod_exp(dsa,t1,dsa->g,u1,dsa->p,ctx,mont))
1164 if (!dsa->meth->bn_mod_exp(dsa,&t2,dsa->pub_key,u2,dsa->p,ctx,mont))
    [all...]
  /system/security/keystore-engine/
eng_keystore.cpp 191 NULL, /* bn_mod_exp */
208 keystore_rsa_meth.bn_mod_exp = rsa_meth->bn_mod_exp;
  /external/openssl/crypto/rsa/
rsa_eay.c 230 if (!rsa->meth->bn_mod_exp(ret,f,rsa->e,rsa->n,ctx,
451 if (!rsa->meth->bn_mod_exp(ret,f,d,rsa->n,ctx,
583 if (!rsa->meth->bn_mod_exp(ret,f,d,rsa->n,ctx,
696 if (!rsa->meth->bn_mod_exp(ret,f,rsa->e,rsa->n,ctx,
805 if (!rsa->meth->bn_mod_exp(m1,r1,dmq1,rsa->q,ctx,
828 if (!rsa->meth->bn_mod_exp(r0,r1,dmp1,rsa->p,ctx,
863 if (!rsa->meth->bn_mod_exp(vrfy,r0,rsa->e,rsa->n,ctx,rsa->_method_mod_n)) goto err;
888 if (!rsa->meth->bn_mod_exp(r0,I,d,rsa->n,ctx,
rsa_crpt.c 242 rsa->meth->bn_mod_exp, rsa->_method_mod_n);
rsa.h 101 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member in struct:rsa_meth_st
185 * for example a key stored in external hardware. Without this flag bn_mod_exp
  /libcore/luni/src/main/java/java/math/
NativeBN.java 144 public static native boolean BN_mod_exp(int r, int a, int p, int m);
145 // int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx);
BigInt.java 366 Check(NativeBN.BN_mod_exp(r.bignum, a.bignum, p.bignum, m.bignum));
  /external/openssl/crypto/dsa/
dsa_ossl.c 92 * bn_mod_exp() handlers in the DSA_METHOD structure. We avoid the problem of
95 * if (!dsa->meth->bn_mod_exp(dsa, r,dsa->g,&k,dsa->p,ctx,
118 if((dsa)->meth->bn_mod_exp) \
119 _tmp_res53 = (dsa)->meth->bn_mod_exp((dsa), (r), (a), (p), \
dsa_key.c 131 if (!BN_mod_exp(pub_key,dsa->g,prk,dsa->p,ctx)) goto err;
dsa.h 140 int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, member in struct:dsa_method
  /external/openssl/crypto/dh/
dh_key.c 187 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, prk, dh->p, ctx, mont)) goto err;
247 if (!dh->meth->bn_mod_exp(dh, tmp, pub_key, dh->priv_key,dh->p,ctx,mont))
dh.h 118 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, member in struct:dh_method
  /libcore/luni/src/main/native/
java_math_NativeBN.cpp 493 return BN_mod_exp(r, a, p, m, ctx.get());
533 NATIVE_METHOD(NativeBN, BN_mod_exp, "(IIII)Z"),
  /external/openssl/include/openssl/
dh.h 118 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, member in struct:dh_method
dsa.h 140 int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, member in struct:dsa_method
rsa.h 101 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member in struct:rsa_meth_st
185 * for example a key stored in external hardware. Without this flag bn_mod_exp
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_openssl.c 234 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
  /external/wpa_supplicant_8/src/crypto/
crypto_openssl.c 278 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)

Completed in 1495 milliseconds

1 2