HomeSort by relevance Sort by last modified time
    Searched refs:BN_mod_mul (Results 1 - 25 of 29) sorted by null

1 2

  /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 1030 if (!BN_mod_mul(d,val[0],val[0],m,ctx))
1036 !BN_mod_mul(val[i],val[i-1],d,m,ctx))
1055 if (!BN_mod_mul(r,r,r,m,ctx))
1085 if (!BN_mod_mul(r,r,r,m,ctx))
1090 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...]
  /external/chromium_org/third_party/boringssl/src/crypto/bn/
sqrt.c 207 if (!BN_mod_mul(t, t, y, p, ctx) ||
213 if (!BN_mod_mul(x, A, b, p, ctx) ||
214 !BN_mod_mul(x, x, t, p, ctx)) {
344 !BN_mod_mul(b, b, A, p, ctx)) {
349 if (!BN_mod_mul(x, x, A, p, ctx)) {
383 if (!BN_mod_mul(t, t, t, p, ctx)) {
398 if (!BN_mod_mul(y, t, t, p, ctx) ||
399 !BN_mod_mul(x, x, t, p, ctx) ||
400 !BN_mod_mul(b, b, y, p, ctx)) {
div.c 428 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
prime.c 430 if (!BN_mod_mul(w, w, w, a, ctx)) { /* w := w^2 mod a */
    [all...]
bn_test.c 239 message(out, "BN_mod_mul");
806 BN_mod_mul(&d, &a, &b, &n, ctx);
882 if (!BN_mod_mul(e, a, b, c, ctx)) {
900 * BN_mod_mul could generate negative results)
  /external/chromium_org/third_party/boringssl/src/crypto/rsa/
blinding.c 212 if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) {
215 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx)) {
254 if (!BN_mod_mul(n, n, b->A, b->mod, ctx)) {
270 ret = BN_mod_mul(n, n, r, b->mod, ctx);
276 ret = BN_mod_mul(n, n, b->Ai, b->mod, ctx);
rsa.c 558 !BN_mod_mul(&de, key->d, key->e, &lcm, ctx)) {
  /external/openssl/crypto/dsa/
dsa_ossl.c 181 if (!BN_mod_mul(&xr,dsa->priv_key,r,dsa->q,ctx)) goto err;/* s = xr */
185 if (!BN_mod_mul(s,s,kinv,dsa->q,ctx)) goto err;
383 if (!BN_mod_mul(&u1,&u1,&u2,dsa->q,ctx)) goto err;
386 if (!BN_mod_mul(&u2,sig->r,&u2,dsa->q,ctx)) goto err;
  /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/chromium_org/third_party/boringssl/src/crypto/ecdsa/
ecdsa.c 187 if (!BN_mod_mul(u1, m, u2, order, ctx)) {
192 if (!BN_mod_mul(u2, sig->r, u2, order, ctx)) {
417 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx)) {
425 if (!BN_mod_mul(s, s, ckinv, order, ctx)) {
  /external/openssl/crypto/ecdsa/
ecs_ossl.c 322 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx))
332 if (!BN_mod_mul(s, s, ckinv, order, ctx))
448 if (!BN_mod_mul(u1, m, u2, order, ctx))
454 if (!BN_mod_mul(u2, sig->r, u2, order, ctx))
  /external/openssl/crypto/srp/
srp_lib.c 170 if (!BN_mod_mul(tmp,A,tmp,N,bn_ctx))
199 !BN_mod_mul(kv,v,k,N,bn_ctx) ||
284 if (!BN_mod_mul(tmp2,tmp,k,N,bn_ctx))
289 if (!BN_mod_mul(tmp3,u,x,N,bn_ctx))
  /external/chromium_org/third_party/boringssl/src/crypto/dsa/
dsa_impl.c 238 if (!BN_mod_mul(&xr, dsa->priv_key, r, dsa->q, ctx)) {
249 if (!BN_mod_mul(s, s, kinv, dsa->q, ctx)) {
354 if (!BN_mod_mul(&u1, &u1, &u2, dsa->q, ctx)) {
359 if (!BN_mod_mul(&u2, sig->r, &u2, dsa->q, ctx)) {
  /external/openssl/crypto/rsa/
rsa_chk.c 128 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 333 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx)) goto err;
627 if (!BN_mod_mul(Z_3, Z_2, Z_1, &group->field, ctx)) goto err;
1332 return BN_mod_mul(r, a, b, &group->field, ctx);
  /external/chromium_org/third_party/boringssl/src/crypto/ec/
oct.c 379 !BN_mod_mul(tmp1, tmp2, x_, &group->field, ctx)) {
394 !BN_mod_mul(tmp2, tmp2, x, &group->field, ctx)) {
simple.c 316 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx))
590 if (!BN_mod_mul(Z_3, Z_2, Z_1, &group->field, ctx))
    [all...]
  /external/chromium_org/third_party/boringssl/src/include/openssl/
bn.h 500 /* BN_mod_mul sets |r| = |a|*|b| mod |m|. It returns one on success and zero
502 OPENSSL_EXPORT int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
505 /* BN_mod_mul sets |r| = |a|^2 mod |m|. It returns one on success and zero
    [all...]

Completed in 400 milliseconds

1 2