Home
last modified time | relevance | path

Searched refs:zbn (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dparam_build_test.c23 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()
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
73 || !TEST_BN_eq(zbn_res, zbn)) in template_private_single_zero_test()
81 BN_free(zbn); in template_private_single_zero_test()
109 || !TEST_ptr(zbn = BN_new()) in template_public_test()
201 || !TEST_BN_eq(zbn_res, zbn) in template_public_test()
223 BN_free(zbn); in template_public_test()
[all …]
H A Dbntest.c2233 BIGNUM *zbn = NULL; in test_bin2zero() local
2236 if (!TEST_ptr(zbn = BN_new())) in test_bin2zero()
2240 if (!TEST_ptr(fn(input, 1, zbn)) \ in test_bin2zero()
2241 || !TEST_true(BN_is_zero(zbn)) \ in test_bin2zero()
2242 || !TEST_ptr(fn(input, 0, zbn)) \ in test_bin2zero()
2243 || !TEST_true(BN_is_zero(zbn)) \ in test_bin2zero()
2244 || !TEST_ptr(fn(NULL, 0, zbn)) \ in test_bin2zero()
2245 || !TEST_true(BN_is_zero(zbn))) \ in test_bin2zero()
2256 BN_free(zbn); in test_bin2zero()

Completed in 12 milliseconds