/external/boringssl/src/crypto/dsa/ |
D | dsa_asn1.c | 85 if (BN_is_negative(dsa->p) || BN_is_negative(dsa->q) || BN_is_zero(dsa->p) || in dsa_check_key() 90 BN_is_negative(dsa->g) || BN_is_zero(dsa->g) || in dsa_check_key() 112 if (BN_is_negative(dsa->pub_key) || BN_is_zero(dsa->pub_key) || in dsa_check_key() 122 if (BN_is_negative(dsa->priv_key) || BN_is_zero(dsa->priv_key) || in dsa_check_key()
|
/external/cronet/third_party/boringssl/src/crypto/dsa/ |
D | dsa_asn1.c | 85 if (BN_is_negative(dsa->p) || BN_is_negative(dsa->q) || BN_is_zero(dsa->p) || in dsa_check_key() 90 BN_is_negative(dsa->g) || BN_is_zero(dsa->g) || in dsa_check_key() 112 if (BN_is_negative(dsa->pub_key) || BN_is_zero(dsa->pub_key) || in dsa_check_key() 122 if (BN_is_negative(dsa->priv_key) || BN_is_zero(dsa->priv_key) || in dsa_check_key()
|
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test.cc | 236 if (!BN_is_negative(a.get()) && !BN_is_negative(b.get())) { in TestSum() 286 if (!BN_is_negative(b.get()) && b_word != (BN_ULONG)-1) { in TestSum() 577 if (BN_is_negative(b.get())) { in TestQuotient() 579 BN_set_negative(quotient.get(), !BN_is_negative(quotient.get())); in TestQuotient() 585 if (BN_is_negative(nnmod.get())) { in TestQuotient() 592 if (BN_is_negative(a.get())) { in TestQuotient() 1190 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F() 1195 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F() 1200 EXPECT_TRUE(BN_is_negative(bn.get())); in TEST_F() 1205 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F() [all …]
|
D | montgomery_inv.c | 37 assert(!BN_is_negative(n)); in bn_mont_n0() 165 assert(!BN_is_negative(n)); in bn_mod_exp_base_2_consttime()
|
D | gcd.c | 125 if (BN_is_negative(a) || BN_cmp(a, n) >= 0) { in BN_mod_inverse_odd() 331 if (BN_is_negative(a) || BN_cmp(a, &mont->N) >= 0) { in BN_mod_inverse_blinded()
|
D | jacobi.c | 78 if (BN_is_negative(b)) { in bn_jacobi()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test.cc | 236 if (!BN_is_negative(a.get()) && !BN_is_negative(b.get())) { in TestSum() 286 if (!BN_is_negative(b.get()) && b_word != (BN_ULONG)-1) { in TestSum() 577 if (BN_is_negative(b.get())) { in TestQuotient() 579 BN_set_negative(quotient.get(), !BN_is_negative(quotient.get())); in TestQuotient() 585 if (BN_is_negative(nnmod.get())) { in TestQuotient() 592 if (BN_is_negative(a.get())) { in TestQuotient() 1190 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F() 1195 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F() 1200 EXPECT_TRUE(BN_is_negative(bn.get())); in TEST_F() 1205 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F() [all …]
|
D | montgomery_inv.c | 37 assert(!BN_is_negative(n)); in bn_mont_n0() 165 assert(!BN_is_negative(n)); in bn_mod_exp_base_2_consttime()
|
D | gcd.c | 125 if (BN_is_negative(a) || BN_cmp(a, n) >= 0) { in BN_mod_inverse_odd() 331 if (BN_is_negative(a) || BN_cmp(a, &mont->N) >= 0) { in BN_mod_inverse_blinded()
|
D | jacobi.c | 78 if (BN_is_negative(b)) { in bn_jacobi()
|
D | montgomery.c | 171 if (BN_is_negative(mod)) { in bn_mont_ctx_set_N_and_n0() 454 return !BN_is_negative(bn) && in bn_less_than_montgomery_R()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test.cc | 236 if (!BN_is_negative(a.get()) && !BN_is_negative(b.get())) { in TestSum() 286 if (!BN_is_negative(b.get()) && b_word != (BN_ULONG)-1) { in TestSum() 577 if (BN_is_negative(b.get())) { in TestQuotient() 579 BN_set_negative(quotient.get(), !BN_is_negative(quotient.get())); in TestQuotient() 585 if (BN_is_negative(nnmod.get())) { in TestQuotient() 592 if (BN_is_negative(a.get())) { in TestQuotient() 1143 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F() 1148 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F() 1153 EXPECT_TRUE(BN_is_negative(bn.get())); in TEST_F() 1158 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F() [all …]
|
D | montgomery_inv.c | 38 assert(!BN_is_negative(n)); in bn_mont_n0() 166 assert(!BN_is_negative(n)); in bn_mod_exp_base_2_consttime()
|
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 | jacobi.c | 78 if (BN_is_negative(b)) { in bn_jacobi()
|
D | montgomery.c | 172 if (BN_is_negative(mod)) { in bn_mont_ctx_set_N_and_n0() 449 return !BN_is_negative(bn) && in bn_less_than_montgomery_R()
|
/external/cronet/third_party/boringssl/src/crypto/bn_extra/ |
D | bn_asn1.c | 40 if (BN_is_negative(bn)) { in BN_marshal_asn1()
|
/external/boringssl/src/crypto/bn_extra/ |
D | bn_asn1.c | 40 if (BN_is_negative(bn)) { in BN_marshal_asn1()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/bn_extra/ |
D | bn_asn1.c | 40 if (BN_is_negative(bn)) { in BN_marshal_asn1()
|
/external/cronet/third_party/boringssl/src/crypto/evp/ |
D | print.c | 102 const char *neg = BN_is_negative(num) ? "-" : ""; in bn_print() 108 (BN_is_negative(num)) ? " (Negative)" : "") <= 0) { in bn_print()
|
/external/boringssl/src/crypto/evp/ |
D | print.c | 102 const char *neg = BN_is_negative(num) ? "-" : ""; in bn_print() 108 (BN_is_negative(num)) ? " (Negative)" : "") <= 0) { in bn_print()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 662 if (BN_is_negative(ainv) || BN_cmp(ainv, m) >= 0) { in check_mod_inverse() 706 (BN_is_negative(key->d) || BN_cmp(key->d, key->n) >= 0)) { in RSA_check_key() 735 if (BN_is_negative(key->p) || BN_cmp(key->p, key->n) >= 0 || in RSA_check_key() 736 BN_is_negative(key->q) || BN_cmp(key->q, key->n) >= 0) { in RSA_check_key()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 646 if (BN_is_negative(ainv) || BN_cmp(ainv, m) >= 0) { in check_mod_inverse() 690 (BN_is_negative(key->d) || BN_cmp(key->d, key->n) >= 0)) { in RSA_check_key() 719 if (BN_is_negative(key->p) || BN_cmp(key->p, key->n) >= 0 || in RSA_check_key() 720 BN_is_negative(key->q) || BN_cmp(key->q, key->n) >= 0) { in RSA_check_key()
|
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 646 if (BN_is_negative(ainv) || BN_cmp(ainv, m) >= 0) { in check_mod_inverse() 690 (BN_is_negative(key->d) || BN_cmp(key->d, key->n) >= 0)) { in RSA_check_key() 719 if (BN_is_negative(key->p) || BN_cmp(key->p, key->n) >= 0 || in RSA_check_key() 720 BN_is_negative(key->q) || BN_cmp(key->q, key->n) >= 0) { in RSA_check_key()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/asn1/ |
D | a_enum.c | 163 if (BN_is_negative(bn)) in BN_to_ASN1_ENUMERATED()
|