/external/boringssl/src/crypto/dh/ |
D | check.c | 74 if (BN_cmp(pub_key, &q) <= 0) { in DH_check_pub_key() 81 if (BN_cmp(pub_key, &q) >= 0) { in DH_check_pub_key() 122 if (BN_cmp(dh->g, BN_value_one()) <= 0) { in DH_check() 124 } else if (BN_cmp(dh->g, dh->p) >= 0) { in DH_check() 145 if (dh->j && BN_cmp(dh->j, t1)) { in DH_check()
|
D | params.c | 303 BN_cmp(dh->g, &bn_two) != 0) { in DH_check_standard_parameters() 309 if (BN_cmp(dh->p, &dh1024_safe_prime[i]) == 0) { in DH_check_standard_parameters()
|
/external/boringssl/src/crypto/bn/ |
D | random.c | 210 if (BN_cmp(r, range) >= 0) { in BN_rand_range() 214 if (BN_cmp(r, range) >= 0) { in BN_rand_range() 225 } while (BN_cmp(r, range) >= 0); in BN_rand_range() 237 } while (BN_cmp(r, range) >= 0); in BN_rand_range() 316 if (BN_cmp(out, range) < 0) { in BN_generate_dsa_nonce()
|
D | gcd.c | 131 if (BN_cmp(a, b) < 0) { in euclid() 141 if (BN_cmp(a, b) < 0) { in euclid() 153 if (BN_cmp(a, b) < 0) { in euclid() 205 if (BN_cmp(a, b) < 0) { in BN_gcd()
|
D | sqrt.c | 415 if (!err && 0 != BN_cmp(x, A)) { in BN_mod_sqrt() 481 if (last_delta_valid && BN_cmp(delta, last_delta) >= 0) { in BN_sqrt() 492 if (BN_cmp(tmp, in) != 0) { in BN_sqrt()
|
D | prime.c | 483 if (BN_cmp(a, BN_value_one()) <= 0) { in BN_is_prime_fasttest_ex() 612 if (BN_cmp(w, a1) == 0) { in witness() 626 if (BN_cmp(w, a1) == 0) { in witness()
|
D | cmp.c | 84 int BN_cmp(const BIGNUM *a, const BIGNUM *b) { in BN_cmp() function
|
D | div.c | 535 if (BN_cmp(r, m) >= 0) { in BN_mod_lshift_quick() 557 if (BN_cmp(r, m) >= 0) { in BN_mod_lshift1_quick()
|
D | bn_test.cc | 784 if (BN_cmp(c.get(), d.get())) { in test_sqr() 810 if (BN_cmp(c.get(), d.get())) { in test_sqr() 1165 if (BN_cmp(a.get(), d.get()) != 0) { in test_mod_exp_mont5() 1176 if (BN_cmp(a.get(), d.get()) != 0) { in test_mod_exp_mont5() 1297 if (BN_cmp(a.get(), r.get()) != 0) { in test_mod_sqrt() 1347 if (BN_cmp(n.get(), sqrt.get()) != 0) { in test_sqrt()
|
/external/openssh/ |
D | dh.c | 130 if (BN_cmp(dhg->g, BN_value_one()) <= 0) { in parse_prime() 227 if (BN_cmp(dh_pub, BN_value_one()) != 1) { /* pub_exp <= 1 */ in dh_pub_is_valid() 237 BN_cmp(dh_pub, tmp) != -1) { /* pub_exp > p-2 */ in dh_pub_is_valid()
|
D | auth-rsa.c | 231 if (BN_cmp(key->rsa->n, client_n) != 0) in rsa_key_allowed_in_file()
|
D | sshkey.c | 702 BN_cmp(a->rsa->e, b->rsa->e) == 0 && in sshkey_equal_public() 703 BN_cmp(a->rsa->n, b->rsa->n) == 0; in sshkey_equal_public() 708 BN_cmp(a->dsa->p, b->dsa->p) == 0 && in sshkey_equal_public() 709 BN_cmp(a->dsa->q, b->dsa->q) == 0 && in sshkey_equal_public() 710 BN_cmp(a->dsa->g, b->dsa->g) == 0 && in sshkey_equal_public() 711 BN_cmp(a->dsa->pub_key, b->dsa->pub_key) == 0; in sshkey_equal_public() 2938 if (BN_cmp(x, tmp) >= 0 || BN_cmp(y, tmp) >= 0) in sshkey_ec_validate_public() 2979 if (BN_cmp(EC_KEY_get0_private_key(key), tmp) >= 0) in sshkey_ec_validate_private()
|
D | sshconnect1.c | 597 if (BN_cmp(server_key->rsa->n, host_key->rsa->n) < 0) { in ssh_kex()
|
/external/boringssl/src/crypto/evp/ |
D | p_dsa_asn1.c | 322 return BN_cmp(a->pkey.dsa->p, b->pkey.dsa->p) == 0 && in dsa_cmp_parameters() 323 BN_cmp(a->pkey.dsa->q, b->pkey.dsa->q) == 0 && in dsa_cmp_parameters() 324 BN_cmp(a->pkey.dsa->g, b->pkey.dsa->g) == 0; in dsa_cmp_parameters() 328 return BN_cmp(b->pkey.dsa->pub_key, a->pkey.dsa->pub_key) == 0; in dsa_pub_cmp()
|
D | p_rsa_asn1.c | 107 return BN_cmp(b->pkey.rsa->n, a->pkey.rsa->n) == 0 && in rsa_pub_cmp() 108 BN_cmp(b->pkey.rsa->e, a->pkey.rsa->e) == 0; in rsa_pub_cmp()
|
/external/boringssl/src/crypto/rsa/ |
D | rsa.c | 557 if (BN_cmp(&n, key->n) != 0) { in RSA_check_key() 585 if (BN_cmp(&dmp1, key->dmp1) != 0 || in RSA_check_key() 586 BN_cmp(&dmq1, key->dmq1) != 0 || in RSA_check_key() 587 BN_cmp(&iqmp, key->iqmp) != 0) { in RSA_check_key() 710 if (BN_cmp(multiple, rsa->n) != 0) { in RSA_recover_crt_params()
|
D | rsa_impl.c | 846 } while ((BN_cmp(rsa->p, rsa->q) == 0) && (++degenerate < 3)); in keygen() 866 if (BN_cmp(rsa->p, rsa->q) < 0) { in keygen()
|
/external/boringssl/src/crypto/ec/ |
D | ec_key.c | 345 if (BN_cmp(eckey->priv_key, order) >= 0) { in EC_KEY_check_key() 396 if (BN_cmp(x, tx) || BN_cmp(y, ty)) { in EC_KEY_set_public_key_affine_coordinates()
|
D | simple.c | 223 group->a_is_minus3 = (0 == BN_cmp(tmp_a, &group->field)); in ec_GFp_simple_group_set_curve() 1069 return ((BN_cmp(&a->X, &b->X) == 0) && BN_cmp(&a->Y, &b->Y) == 0) ? 0 : 1; in ec_GFp_simple_cmp() 1117 if (BN_cmp(tmp1_, tmp2_) != 0) { in ec_GFp_simple_cmp() 1143 if (BN_cmp(tmp1_, tmp2_) != 0) { in ec_GFp_simple_cmp()
|
D | p256-64.c | 1638 if (BN_cmp(curve_p, p) || in ec_GFp_nistp256_group_set_curve() 1639 BN_cmp(curve_a, a) || in ec_GFp_nistp256_group_set_curve() 1640 BN_cmp(curve_b, b)) { in ec_GFp_nistp256_group_set_curve()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_impl.c | 245 if (BN_cmp(s, dsa->q) > 0) { in sign() 640 if (BN_cmp(p, test) >= 0) { in paramgen()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 246 if (BN_cmp(cofactor, BN_value_one())) { in compute_password_element()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 418 OPENSSL_EXPORT int BN_cmp(const BIGNUM *a, const BIGNUM *b);
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 450 if (BN_cmp(cofactor, BN_value_one())) { in eap_pwd_perform_commit_exchange() 477 if (BN_cmp(cofactor, BN_value_one())) { in eap_pwd_perform_commit_exchange()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 709 if (BN_cmp(cofactor, BN_value_one())) { in eap_pwd_process_commit_resp() 736 if (BN_cmp(cofactor, BN_value_one())) { in eap_pwd_process_commit_resp()
|