/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/ |
D | check.c | 79 if (BN_cmp(pub_key, tmp) <= 0) { in DH_check_pub_key() 88 if (BN_cmp(pub_key, tmp) >= 0) { in DH_check_pub_key() 141 if (BN_cmp(dh->g, BN_value_one()) <= 0) { in DH_check() 143 } else if (BN_cmp(dh->g, dh->p) >= 0) { in DH_check() 168 if (dh->j && BN_cmp(dh->j, t1)) { in DH_check()
|
/external/boringssl/src/crypto/fipsmodule/dh/ |
D | check.c | 79 if (BN_cmp(pub_key, tmp) <= 0) { in DH_check_pub_key() 88 if (BN_cmp(pub_key, tmp) >= 0) { in DH_check_pub_key() 141 if (BN_cmp(dh->g, BN_value_one()) <= 0) { in DH_check() 143 } else if (BN_cmp(dh->g, dh->p) >= 0) { in DH_check() 168 if (dh->j && BN_cmp(dh->j, t1)) { in DH_check()
|
/external/boringssl/src/crypto/evp/ |
D | p_dsa_asn1.c | 150 BN_cmp(dsa->priv_key, dsa->q) >= 0) { in dsa_priv_decode() 239 return BN_cmp(a->pkey.dsa->p, b->pkey.dsa->p) == 0 && in dsa_cmp_parameters() 240 BN_cmp(a->pkey.dsa->q, b->pkey.dsa->q) == 0 && in dsa_cmp_parameters() 241 BN_cmp(a->pkey.dsa->g, b->pkey.dsa->g) == 0; in dsa_cmp_parameters() 245 return BN_cmp(b->pkey.dsa->pub_key, a->pkey.dsa->pub_key) == 0; in dsa_pub_cmp()
|
D | p_rsa_asn1.c | 112 return BN_cmp(b->pkey.rsa->n, a->pkey.rsa->n) == 0 && in rsa_pub_cmp() 113 BN_cmp(b->pkey.rsa->e, a->pkey.rsa->e) == 0; in rsa_pub_cmp()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | p_dsa_asn1.c | 235 return BN_cmp(a->pkey.dsa->p, b->pkey.dsa->p) == 0 && in dsa_cmp_parameters() 236 BN_cmp(a->pkey.dsa->q, b->pkey.dsa->q) == 0 && in dsa_cmp_parameters() 237 BN_cmp(a->pkey.dsa->g, b->pkey.dsa->g) == 0; in dsa_cmp_parameters() 241 return BN_cmp(b->pkey.dsa->pub_key, a->pkey.dsa->pub_key) == 0; in dsa_pub_cmp()
|
D | p_rsa_asn1.c | 112 return BN_cmp(b->pkey.rsa->n, a->pkey.rsa->n) == 0 && in rsa_pub_cmp() 113 BN_cmp(b->pkey.rsa->e, a->pkey.rsa->e) == 0; in rsa_pub_cmp()
|
/external/rust/crates/quiche/deps/boringssl/src/fuzz/ |
D | bn_mod_exp.cc | 106 CHECK(BN_cmp(result.get(), expected.get()) == 0); in LLVMFuzzerTestOneInput() 116 CHECK(BN_cmp(result.get(), expected.get()) == 0); in LLVMFuzzerTestOneInput() 119 CHECK(BN_cmp(result.get(), expected.get()) == 0); in LLVMFuzzerTestOneInput()
|
D | bn_div.cc | 66 CHECK(BN_cmp(result.get(), numerator.get()) == 0); in LLVMFuzzerTestOneInput()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | sqrt.c | 410 if (!err && 0 != BN_cmp(x, A)) { in BN_mod_sqrt() 478 if (last_delta_valid && BN_cmp(delta, last_delta) >= 0) { in BN_sqrt() 489 if (BN_cmp(tmp, in) != 0) { in BN_sqrt()
|
D | cmp.c | 102 int BN_cmp(const BIGNUM *a, const BIGNUM *b) { in BN_cmp() function 149 return BN_cmp(a, &b_bn); in BN_cmp_word()
|
D | gcd.c | 125 if (BN_is_negative(a) || BN_cmp(a, n) >= 0) { in BN_mod_inverse_odd() 332 if (BN_is_negative(a) || BN_cmp(a, &mont->N) >= 0) { in BN_mod_inverse_blinded()
|
D | prime.c | 653 if (BN_cmp(w, BN_value_one()) <= 0) { in BN_primality_test() 872 if (BN_is_one(z) || BN_cmp(z, w1) == 0) { in BN_enhanced_miller_rabin_primality_test() 881 if (BN_cmp(z, w1) == 0) { in BN_enhanced_miller_rabin_primality_test()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | sqrt.c | 410 if (!err && 0 != BN_cmp(x, A)) { in BN_mod_sqrt() 478 if (last_delta_valid && BN_cmp(delta, last_delta) >= 0) { in BN_sqrt() 489 if (BN_cmp(tmp, in) != 0) { in BN_sqrt()
|
D | cmp.c | 102 int BN_cmp(const BIGNUM *a, const BIGNUM *b) { in BN_cmp() function 149 return BN_cmp(a, &b_bn); in BN_cmp_word()
|
D | gcd.c | 125 if (BN_is_negative(a) || BN_cmp(a, n) >= 0) { in BN_mod_inverse_odd() 332 if (BN_is_negative(a) || BN_cmp(a, &mont->N) >= 0) { in BN_mod_inverse_blinded()
|
D | prime.c | 653 if (BN_cmp(w, BN_value_one()) <= 0) { in BN_primality_test() 872 if (BN_is_one(z) || BN_cmp(z, w1) == 0) { in BN_enhanced_miller_rabin_primality_test() 881 if (BN_cmp(z, w1) == 0) { in BN_enhanced_miller_rabin_primality_test()
|
/external/openssh/ |
D | dh.c | 133 if (BN_cmp(dhg->g, BN_value_one()) <= 0) { in parse_prime() 237 if (BN_cmp(dh_pub, BN_value_one()) != 1) { /* pub_exp <= 1 */ in dh_pub_is_valid() 247 BN_cmp(dh_pub, tmp) != -1) { /* pub_exp > p-2 */ in dh_pub_is_valid()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 659 if (BN_is_negative(ainv) || BN_cmp(ainv, m) >= 0) { in check_mod_inverse() 703 (BN_is_negative(key->d) || BN_cmp(key->d, key->n) >= 0)) { in RSA_check_key() 732 if (BN_is_negative(key->p) || BN_cmp(key->p, key->n) >= 0 || in RSA_check_key() 733 BN_is_negative(key->q) || BN_cmp(key->q, key->n) >= 0) { in RSA_check_key() 741 if (BN_cmp(&tmp, key->n) != 0) { in RSA_check_key()
|
D | rsa_impl.c | 224 if (BN_cmp(rsa->p, rsa->q) < 0) { in freeze_private_key() 877 if (BN_cmp(rsa->p, rsa->q) < 0) { in mod_exp() 1076 if (BN_cmp(tmp, pow2_bits_100) <= 0) { in generate_prime() 1088 if (BN_cmp(out, sqrt2) <= 0) { in generate_prime() 1237 if (BN_cmp(rsa->p, rsa->q) < 0) { in rsa_generate_key_impl() 1260 } while (BN_cmp(rsa->d, pow2_prime_bits) <= 0); in rsa_generate_key_impl()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa_impl.c | 219 if (BN_cmp(rsa->p, rsa->q) < 0) { in freeze_private_key() 882 if (BN_cmp(rsa->p, rsa->q) < 0) { in mod_exp() 1044 if (BN_cmp(tmp, pow2_bits_100) <= 0) { in generate_prime() 1056 if (BN_cmp(out, sqrt2) <= 0) { in generate_prime() 1205 if (BN_cmp(rsa->p, rsa->q) < 0) { in rsa_generate_key_impl() 1228 } while (BN_cmp(rsa->d, pow2_prime_bits) <= 0); in rsa_generate_key_impl()
|
/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf_getput_crypto.c | 268 ASSERT_INT_EQ(BN_cmp(bn_x, bn), 0); in sshbuf_getput_crypto_tests() 269 ASSERT_INT_EQ(BN_cmp(bn_y, bn2), 0); in sshbuf_getput_crypto_tests()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | felem.c | 31 BN_cmp(in, &group->field) >= 0 || in ec_bignum_to_felem()
|
D | p256-x86_64_test.cc | 235 if (BN_cmp(x.get(), p.get()) >= 0 || in PointToAffine() 236 BN_cmp(y.get(), p.get()) >= 0 || in PointToAffine() 237 BN_cmp(z.get(), p.get()) >= 0) { in PointToAffine()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | felem.c | 31 BN_cmp(in, &group->field) >= 0 || in ec_bignum_to_felem()
|
D | p256-x86_64_test.cc | 235 if (BN_cmp(x.get(), p.get()) >= 0 || in PointToAffine() 236 BN_cmp(y.get(), p.get()) >= 0 || in PointToAffine() 237 BN_cmp(z.get(), p.get()) >= 0) { in PointToAffine()
|