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

1 2

  /external/openssl/crypto/bn/
exptest.c 155 if (BN_cmp(r_simple, r_mont) == 0
156 && BN_cmp(r_simple,r_recp) == 0
157 && BN_cmp(r_simple,r_mont_const) == 0)
164 if (BN_cmp(r_simple,r_mont) != 0)
166 if (BN_cmp(r_simple,r_mont_const) != 0)
168 if (BN_cmp(r_simple,r_recp) != 0)
bn_rand.c 260 if (BN_cmp(r ,range) >= 0)
263 if (BN_cmp(r, range) >= 0)
274 while (BN_cmp(r, range) >= 0);
289 while (BN_cmp(r, range) >= 0);
divtest.c 38 else if (BN_cmp(c,C) != 0 || BN_cmp(c,C) != 0)
bn_mod.c 225 if (BN_cmp(r, m) >= 0)
293 if (BN_cmp(r, m) >= 0)
bn_prime.c 253 if (BN_cmp(a, BN_value_one()) <= 0)
359 if (BN_cmp(w, a1) == 0)
368 if (BN_cmp(w, a1) == 0)
bn_gcd.c 135 if (BN_cmp(a,b) < 0) { t=a; a=b; b=t; }
166 if (BN_cmp(a,b) < 0)
172 if (BN_cmp(a,b) < 0)
181 if (BN_cmp(a,b) < 0)
bn_sqrt.c 374 if (!err && 0 != BN_cmp(x, A))
  /external/openssl/crypto/rsa/
rsa_chk.c 101 if (BN_cmp(i, key->n) != 0)
140 if (BN_cmp(j, key->dmp1) != 0)
154 if (BN_cmp(j, key->dmq1) != 0)
168 if (BN_cmp(i, key->iqmp) != 0)
rsa_gen.c 155 } while((BN_cmp(rsa->p, rsa->q) == 0) && (++degenerate < 3));
171 if (BN_cmp(rsa->p,rsa->q) < 0)
  /external/openssl/crypto/dh/
dh_check.c 131 if (BN_cmp(pub_key,q)<=0)
135 if (BN_cmp(pub_key,q)>=0)
dh_ameth.c 403 if ( BN_cmp(a->pkey.dh->p,b->pkey.dh->p) ||
404 BN_cmp(a->pkey.dh->g,b->pkey.dh->g))
440 if (BN_cmp(b->pkey.dh->pub_key,a->pkey.dh->pub_key) != 0)
  /external/openssh/
jpake.c 259 if (BN_cmp(theirpub1, BN_value_one()) <= 0)
261 if (BN_cmp(theirpub1, grp->p) >= 0)
263 if (BN_cmp(theirpub2, BN_value_one()) <= 0)
265 if (BN_cmp(theirpub2, grp->p) >= 0)
369 if (BN_cmp(step2_val, BN_value_one()) <= 0)
371 if (BN_cmp(step2_val, grp->p) >= 0)
schnorr.c 137 if (BN_cmp(g_x, BN_value_one()) <= 0) {
141 if (BN_cmp(g_x, grp_p) >= 0) {
268 if (BN_cmp(g_x, BN_value_one()) <= 0) {
272 if (BN_cmp(g_x, grp_p) >= 0) {
298 if (BN_cmp(gx_q, BN_value_one()) != 0) {
333 success = BN_cmp(expected, e) == 0;
dh.c 204 if (BN_cmp(dh_pub, BN_value_one()) != 1) { /* pub_exp <= 1 */
214 BN_cmp(dh_pub, tmp) != -1) { /* pub_exp > p-2 */
key.c 278 BN_cmp(a->rsa->e, b->rsa->e) == 0 &&
279 BN_cmp(a->rsa->n, b->rsa->n) == 0;
284 BN_cmp(a->dsa->p, b->dsa->p) == 0 &&
285 BN_cmp(a->dsa->q, b->dsa->q) == 0 &&
286 BN_cmp(a->dsa->g, b->dsa->g) == 0 &&
287 BN_cmp(a->dsa->pub_key, b->dsa->pub_key) == 0;
    [all...]
auth-rsa.c 225 if (BN_cmp(key->rsa->n, client_n) != 0)
  /libcore/luni/src/main/java/java/math/
NativeBN.java 33 public static native int BN_cmp(int a, int b);
34 // int BN_cmp(const BIGNUM *a, const BIGNUM *b);
  /external/openssl/crypto/ec/
ec2_smpl.c 396 if (BN_cmp(&point->Z, BN_value_one()))
621 return ((BN_cmp(&a->X, &b->X) == 0) && BN_cmp(&a->Y, &b->Y) == 0) ? 0 : 1;
640 ret = ((BN_cmp(aX, bX) == 0) && BN_cmp(aY, bY) == 0) ? 0 : 1;
ec_key.c 356 if (BN_cmp(eckey->priv_key, order) >= 0)
435 if (BN_cmp(x, tx) || BN_cmp(y, ty))
ec_lib.c 515 if (r || BN_cmp(a1, b1) || BN_cmp(a2, b2) || BN_cmp(a3, b3))
536 if (BN_cmp(a1, b1) || BN_cmp(a2, b2))
ectest.c 418 if (0 != BN_cmp(y, z)) ABORT;
452 if (0 != BN_cmp(y, z)) ABORT;
486 if (0 != BN_cmp(y, z)) ABORT;
521 if (0 != BN_cmp(y, z)) ABORT;
561 if (0 != BN_cmp(y, z)) ABORT;
607 if (0 != BN_cmp(y, z)) ABORT;
750 if (0 != BN_cmp(y, z)) ABORT;
    [all...]
  /external/openssl/crypto/dsa/
dsa_ameth.c 400 if ( BN_cmp(a->pkey.dsa->p,b->pkey.dsa->p) ||
401 BN_cmp(a->pkey.dsa->q,b->pkey.dsa->q) ||
402 BN_cmp(a->pkey.dsa->g,b->pkey.dsa->g))
410 if (BN_cmp(b->pkey.dsa->pub_key,a->pkey.dsa->pub_key) != 0)
dsa_gen.c 300 if (BN_cmp(p,test) >= 0)
  /external/openssl/crypto/srp/
srp_lib.c 338 if (BN_cmp(knowngN[i].g, g) == 0 && BN_cmp(knowngN[i].N, N) == 0)
  /external/openssl/crypto/ecdsa/
ecdsatest.c 218 if (BN_cmp(signature->r ,r) || BN_cmp(signature->s, s))

Completed in 895 milliseconds

1 2