Searched refs:BN_is_negative (Results 1 – 23 of 23) sorted by relevance
234 if (!BN_is_negative(a.get()) && !BN_is_negative(b.get())) { in TestSum()284 if (!BN_is_negative(b.get()) && b_word != (BN_ULONG)-1) { in TestSum()562 if (BN_is_negative(b.get())) { in TestQuotient()564 BN_set_negative(quotient.get(), !BN_is_negative(quotient.get())); in TestQuotient()570 if (BN_is_negative(nnmod.get())) { in TestQuotient()577 if (BN_is_negative(a.get())) { in TestQuotient()1104 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F()1109 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F()1114 EXPECT_TRUE(BN_is_negative(bn.get())); in TEST_F()1119 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F()[all …]
38 assert(!BN_is_negative(n)); in bn_mont_n0()166 assert(!BN_is_negative(n)); in bn_mod_exp_base_2_consttime()
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()
78 if (BN_is_negative(b)) { in bn_jacobi()
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()
334 int BN_is_negative(const BIGNUM *bn) { in BN_is_negative() function
462 if (BN_is_negative(numerator) || BN_is_negative(divisor)) { in bn_div_consttime()
172 if (BN_is_negative(a) || BN_ucmp(a, n) >= 0) { in bn_mod_inverse_consttime()
47 if (BN_is_negative(bn)) { in BN_marshal_asn1()
283 if (BN_is_negative(a) && in BN_bn2dec()
26 if (BN_is_negative(in) || BN_cmp(in, &group->field) >= 0) { in ec_bignum_to_felem()
240 if (BN_is_negative(x) || BN_cmp(x, &group->field) >= 0) { in EC_POINT_set_compressed_coordinates_GFp()
897 if (BN_is_negative(b.get())) { in TEST()
163 if (BN_is_negative(bn)) in BN_to_ASN1_ENUMERATED()
384 if (BN_is_negative(bn) && !BN_is_zero(bn)) in BN_to_ASN1_INTEGER()
84 const char *neg = BN_is_negative(num) ? "-" : ""; in bn_print()93 (BN_is_negative(num)) ? " (Negative)" : "") <= 0) { in bn_print()
650 if (check_reduced && (BN_is_negative(ainv) || BN_cmp(ainv, m) >= 0)) { in check_mod_inverse()722 if (BN_is_negative(key->d) || BN_cmp(key->d, key->n) >= 0) { in RSA_check_key()
704 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in DSA_do_check_signature()709 if (BN_is_zero(sig->s) || BN_is_negative(sig->s) || in DSA_do_check_signature()
229 OPENSSL_EXPORT int BN_is_negative(const BIGNUM *bn);
740 BN_is_negative
2292 '#define BN_is_negative GRPC_SHADOW_BN_is_negative',
768 #define BN_is_negative GRPC_SHADOW_BN_is_negative macro
263 if (BN_is_negative(source)) { in bignumToArray()