| /openbsd/src/regress/lib/libcrypto/bn/ |
| D | bn_convert.c | 205 if (BN_is_negative(bn) != bat->neg) { in test_bn_asc2bn() 207 "in negative %d, want %d", i, BN_is_negative(bn), in test_bn_asc2bn() 542 if (BN_is_negative(bn) != bct->neg) { in test_bn_convert() 544 "in negative %d, want %d", i, BN_is_negative(bn), in test_bn_convert() 556 if (BN_is_negative(bn) != bct->neg) { in test_bn_convert() 558 "in negative %d, want %d", i, BN_is_negative(bn), in test_bn_convert() 570 if (BN_is_negative(bn) != bct->neg) { in test_bn_convert() 572 "in negative %d, want %d", i, BN_is_negative(bn), in test_bn_convert() 630 if (BN_is_negative(bn)) { in test_bn_dec2bn() 645 if (BN_is_negative(bn)) { in test_bn_dec2bn() [all …]
|
| D | bn_bits.c | 114 if (BN_is_negative(bn)) { in test_bn_clear_bit() 199 if (BN_is_negative(bn)) { in test_bn_mask_bits()
|
| D | bn_word.c | 47 if (BN_is_negative(bn) != bwt->out_is_negative) { in check_bn_word_test() 49 op_name, BN_is_negative(bn), bwt->out_is_negative); in check_bn_word_test() 62 if (BN_is_zero(bn) && BN_is_negative(bn) != 0) { in check_bn_word_test()
|
| D | bn_test.c | 328 BN_set_negative(a, !BN_is_negative(a)); in test_add() 329 BN_set_negative(b, !BN_is_negative(b)); in test_add() 977 if ((BN_is_negative(a) ^ BN_is_negative(b)) && in test_mod_mul() 1526 if (BN_is_negative(a) && BN_is_negative(b)) in test_kron()
|
| D | bn_shift.c | 344 if (BN_is_negative(bn1)) { in test_bn_rshift_to_zero()
|
| D | bn_gcd.c | 3566 if (BN_is_negative(gcd)) { in bn_binomial_gcd_test()
|
| /openbsd/src/lib/libcrypto/bn/ |
| D | bn_kron.c | 122 if (BN_is_negative(b)) { in BN_kronecker() 125 if (BN_is_negative(a)) in BN_kronecker() 170 if ((BN_is_negative(a) ? ~BN_lsw(a) : BN_lsw(a)) & BN_lsw(b) & 2) in BN_kronecker()
|
| D | bn_isqrt.c | 56 if (BN_is_negative(n)) { in bn_isqrt() 206 if (BN_is_negative(n)) in bn_is_perfect_square()
|
| D | bn_print.c | 51 if (BN_is_negative(bn)) in bn_print_word() 87 if (BN_is_negative(bn)) { in bn_print_bignum()
|
| D | bn_mod.c | 145 if (BN_is_negative(r)) in BN_nnmod() 311 if (BN_is_negative(m)) { in BN_mod_lshift()
|
| D | bn_convert.c | 337 if (BN_is_negative(bn)) { in BN_bn2dec() 497 if (BN_is_negative(bn) && include_sign) { in bn_bn2hex_internal()
|
| D | bn_lib.c | 668 BN_is_negative(const BIGNUM *a) in BN_is_negative() function 672 LCRYPTO_ALIAS(BN_is_negative);
|
| D | bn.h | 351 int BN_is_negative(const BIGNUM *b);
|
| /openbsd/src/lib/libcrypto/dsa/ |
| D | dsa_ossl.c | 326 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in dsa_do_verify() 331 if (BN_is_zero(sig->s) || BN_is_negative(sig->s) || in dsa_do_verify()
|
| D | dsa_lib.c | 436 if (BN_is_negative(dsa->q)) { in dsa_check_key()
|
| /openbsd/src/usr.bin/dc/ |
| D | bcode.c | 434 BN_set_negative(n->number, !BN_is_negative(n->number)); in negate() 586 if (BN_is_negative(n->number)) in set_scale() 908 if (BN_is_negative(inumber->number)) in load_array() 946 if (BN_is_negative(inumber->number)) { in store_array() 1187 neg = BN_is_negative(p->number); in bexp() 1270 } else if (BN_is_negative(n->number)) in bsqrt()
|
| D | inout.c | 337 if (BN_is_negative(b->number)) in printnumber()
|
| /openbsd/src/lib/libcrypto/rsa/ |
| D | rsa_eay.c | 738 if (BN_is_negative(r0)) in rsa_mod_exp() 760 if (BN_is_negative(r0)) in rsa_mod_exp() 782 if (BN_is_negative(vrfy)) in rsa_mod_exp()
|
| /openbsd/src/lib/libcrypto/asn1/ |
| D | a_enum.c | 187 if (BN_is_negative(bn)) in BN_to_ASN1_ENUMERATED()
|
| D | a_int.c | 351 if (BN_is_negative(bn)) in BN_to_ASN1_INTEGER()
|
| /openbsd/src/lib/libcrypto/ec/ |
| D | ec_mult.c | 118 sign = BN_is_negative(bn) ? -1 : 1; in ec_compute_wnaf()
|
| D | ec_convert.c | 175 return !BN_is_negative(bn) && BN_cmp(group->p, bn) > 0; in ec_field_element_is_valid()
|
| D | ec_lib.c | 262 if (BN_is_negative(in_cofactor)) { in ec_set_cofactor() 325 if (BN_is_zero(group->p) || BN_is_negative(group->p)) { in EC_GROUP_set_generator()
|
| /openbsd/src/usr.bin/ssh/ |
| D | dh.c | 239 if (BN_is_negative(dh_pub)) { in dh_pub_is_valid()
|
| /openbsd/src/usr.sbin/rpki-client/ |
| D | x509.c | 1046 if (BN_is_negative(bn)) { in x509_seqnum_to_bn()
|