Searched refs:bn1 (Results 1 – 3 of 3) sorted by relevance
/openssl/test/testutil/ |
H A D | format_output.c | 281 l1 = bn1 == NULL ? 0 : (BN_num_bytes(bn1) + (BN_is_negative(bn1) ? 1 : 0)); in test_fail_bignum_common() 284 if ((bn1 == NULL) == (bn2 == NULL)) { in test_fail_bignum_common() 286 test_bignum_zero_print(bn1, ' '); in test_fail_bignum_common() 290 test_bignum_zero_print(bn1, '-'); in test_fail_bignum_common() 296 if (l1 != l2 || bn1 == NULL || bn2 == NULL || BN_cmp(bn1, bn2) != 0) in test_fail_bignum_common() 308 if (bn1 != NULL) { in test_fail_bignum_common() 310 BN_bn2binpad(bn1, m1, len); in test_fail_bignum_common() 319 n1 = convert_bn_memory(m1, bytes, b1, &lz1, bn1); in test_fail_bignum_common() 337 if (cnt == 0 && bn1 == NULL) in test_fail_bignum_common() 346 && bn1 != NULL && bn2 != NULL) in test_fail_bignum_common() [all …]
|
H A D | tu_local.h | 36 const BIGNUM *bn1, const BIGNUM *bn2);
|
/openssl/test/ |
H A D | keymgmt_internal_test.c | 147 BIGNUM *bn1 = NULL, *bn2 = NULL, *bn3 = NULL; in test_pass_rsa() local 180 if (!TEST_ptr(bn1 = BN_new()) in test_pass_rsa() 181 || !TEST_true(BN_set_word(bn1, expected[N])) in test_pass_rsa() 186 || !TEST_true(RSA_set0_key(rsa, bn1, bn2, bn3))) in test_pass_rsa() 189 if (!TEST_ptr(bn1 = BN_new()) in test_pass_rsa() 190 || !TEST_true(BN_set_word(bn1, expected[P])) in test_pass_rsa() 193 || !TEST_true(RSA_set0_factors(rsa, bn1, bn2))) in test_pass_rsa() 196 if (!TEST_ptr(bn1 = BN_new()) in test_pass_rsa() 197 || !TEST_true(BN_set_word(bn1, expected[DP])) in test_pass_rsa() 204 bn1 = bn2 = bn3 = NULL; in test_pass_rsa() [all …]
|
Completed in 8 milliseconds