Searched refs:zbn (Results 1 – 2 of 2) sorted by relevance
| /freebsd/crypto/openssl/test/ |
| H A D | param_build_test.c | 23 BIGNUM *zbn = NULL, *zbn_res = NULL; in template_public_single_zero_test() local 27 || !TEST_ptr(zbn = BN_new()) in template_public_single_zero_test() 29 idx == 0 ? zbn : NULL)) in template_public_single_zero_test() 39 || !TEST_BN_eq(zbn_res, zbn)) in template_public_single_zero_test() 47 BN_free(zbn); in template_public_single_zero_test() 56 BIGNUM *zbn = NULL, *zbn_res = NULL; in template_private_single_zero_test() local 60 || !TEST_ptr(zbn = BN_secure_new()) in template_private_single_zero_test() 61 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "zeronumber", zbn)) in template_private_single_zero_test() 72 || !TEST_int_eq(BN_get_flags(zbn, BN_FLG_SECURE), BN_FLG_SECURE) in template_private_single_zero_test() 73 || !TEST_BN_eq(zbn_res, zbn)) in template_private_single_zero_test() [all …]
|
| H A D | bntest.c | 2282 BIGNUM *zbn = NULL; in test_bin2zero() local 2285 if (!TEST_ptr(zbn = BN_new())) in test_bin2zero() 2289 if (!TEST_ptr(fn(input, 1, zbn)) \ in test_bin2zero() 2290 || !TEST_true(BN_is_zero(zbn)) \ in test_bin2zero() 2291 || !TEST_ptr(fn(input, 0, zbn)) \ in test_bin2zero() 2292 || !TEST_true(BN_is_zero(zbn)) \ in test_bin2zero() 2293 || !TEST_ptr(fn(NULL, 0, zbn)) \ in test_bin2zero() 2294 || !TEST_true(BN_is_zero(zbn))) \ in test_bin2zero() 2305 BN_free(zbn); in test_bin2zero()
|