Lines Matching refs:bn2
269 const BIGNUM *bn1, const BIGNUM *bn2) in test_fail_bignum_common() argument
282 l2 = bn2 == NULL ? 0 : (BN_num_bytes(bn2) + (BN_is_negative(bn2) ? 1 : 0)); in test_fail_bignum_common()
284 if ((bn1 == NULL) == (bn2 == NULL)) { in test_fail_bignum_common()
291 test_bignum_zero_print(bn2, '+'); in test_fail_bignum_common()
296 if (l1 != l2 || bn1 == NULL || bn2 == NULL || BN_cmp(bn1, bn2) != 0) in test_fail_bignum_common()
312 if (bn2 != NULL) { in test_fail_bignum_common()
314 BN_bn2binpad(bn2, m2, len); in test_fail_bignum_common()
320 n2 = convert_bn_memory(m2, bytes, b2, &lz2, bn2); in test_fail_bignum_common()
341 if (cnt == 0 && bn2 == NULL) in test_fail_bignum_common()
346 && bn1 != NULL && bn2 != NULL) in test_fail_bignum_common()
370 const BIGNUM *bn1, const BIGNUM *bn2) in test_fail_bignum_message() argument
372 test_fail_bignum_common(prefix, file, line, type, left, right, op, bn1, bn2); in test_fail_bignum_message()