Searched refs:BN_is_negative (Results 1 – 16 of 16) sorted by relevance
496 if (!BN_is_zero(d.get()) || BN_is_negative(d.get())) { in test_div()508 if (!BN_is_zero(c.get()) || BN_is_negative(c.get())) { in test_div()724 if (!BN_is_zero(c.get()) || BN_is_negative(c.get())) { in test_mul()1544 if (ret != 1 || !BN_is_zero(bn.get()) || BN_is_negative(bn.get())) { in test_dec2bn()1550 if (ret != 3 || !BN_is_word(bn.get(), 256) || BN_is_negative(bn.get())) { in test_dec2bn()1556 if (ret != 3 || !BN_abs_is_word(bn.get(), 42) || !BN_is_negative(bn.get())) { in test_dec2bn()1562 if (ret != 2 || !BN_is_zero(bn.get()) || BN_is_negative(bn.get())) { in test_dec2bn()1568 if (ret != 2 || !BN_abs_is_word(bn.get(), 42) || BN_is_negative(bn.get())) { in test_dec2bn()1579 if (ret != 1 || !BN_is_zero(bn.get()) || BN_is_negative(bn.get())) { in test_hex2bn()1585 if (ret != 3 || !BN_is_word(bn.get(), 0x256) || BN_is_negative(bn.get())) { in test_hex2bn()[all …]
63 if (BN_is_negative(bn)) { in BN_bn2cbb()
269 int BN_is_negative(const BIGNUM *bn) { in BN_is_negative() function
407 if (BN_is_negative(t)) { in BN_bn2dec()
70 neg = (BN_is_negative(num))?"-":""; in ASN1_bn_print()
153 if(BN_is_negative(bn)) ret->type = V_ASN1_NEG_ENUMERATED; in BN_to_ASN1_ENUMERATED()
421 if (BN_is_negative(bn) && !BN_is_zero(bn)) in BN_to_ASN1_INTEGER()
697 if (BN_is_negative(r0)) { in mod_exp()721 if (BN_is_negative(r0)) { in mod_exp()762 (BN_is_negative(m1) && !BN_add(m1, m1, prime)) || in mod_exp()783 if (BN_is_negative(vrfy)) { in mod_exp()
180 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in ECDSA_do_verify()182 BN_is_negative(sig->s) || BN_ucmp(sig->s, order) >= 0) { in ECDSA_do_verify()
256 if (BN_num_bits(p_scalar) > 256 || BN_is_negative(p_scalar)) { in ecp_nistz256_windowed_mul()414 if (BN_num_bits(g_scalar) > 256 || BN_is_negative(g_scalar)) { in ecp_nistz256_points_mul()
236 BN_is_negative(bn)) { in BN_to_felem()1202 if (BN_num_bits(p_scalar) > 224 || BN_is_negative(p_scalar)) { in ec_GFp_nistp224_points_mul()1249 if (BN_num_bits(g_scalar) > 224 || BN_is_negative(g_scalar)) { in ec_GFp_nistp224_points_mul()
122 if (BN_is_negative(scalar)) { in compute_wNAF()
127 if (BN_is_negative(bn)) { in BN_to_felem()1780 if (BN_num_bits(p_scalar) > 256 || BN_is_negative(p_scalar)) { in ec_GFp_nistp256_points_mul()1824 if (BN_num_bits(g_scalar) > 256 || BN_is_negative(g_scalar)) { in ec_GFp_nistp256_points_mul()
614 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in DSA_do_check_signature()619 if (BN_is_zero(sig->s) || BN_is_negative(sig->s) || in DSA_do_check_signature()
228 OPENSSL_EXPORT int BN_is_negative(const BIGNUM *bn);
1076 if (BN_is_negative(source)) { in bignumToArray()