Lines Matching refs:bn2
270 const BIGNUM *bn1, const BIGNUM *bn2) in test_fail_bignum_common() argument
283 l2 = bn2 == NULL ? 0 : (BN_num_bytes(bn2) + (BN_is_negative(bn2) ? 1 : 0)); in test_fail_bignum_common()
285 if ((bn1 == NULL) == (bn2 == NULL)) { in test_fail_bignum_common()
292 test_bignum_zero_print(bn2, '+'); in test_fail_bignum_common()
297 if (l1 != l2 || bn1 == NULL || bn2 == NULL || BN_cmp(bn1, bn2) != 0) in test_fail_bignum_common()
313 if (bn2 != NULL) { in test_fail_bignum_common()
315 BN_bn2binpad(bn2, m2, len); in test_fail_bignum_common()
321 n2 = convert_bn_memory(m2, bytes, b2, &lz2, bn2); in test_fail_bignum_common()
342 if (cnt == 0 && bn2 == NULL) in test_fail_bignum_common()
347 && bn1 != NULL && bn2 != NULL) in test_fail_bignum_common()
371 const BIGNUM *bn1, const BIGNUM *bn2) in test_fail_bignum_message() argument
373 test_fail_bignum_common(prefix, file, line, type, left, right, op, bn1, bn2); in test_fail_bignum_message()