Lines Matching refs:bld

21     OSSL_PARAM_BLD *bld = NULL;  in template_public_single_zero_test()  local
26 if (!TEST_ptr(bld = OSSL_PARAM_BLD_new()) in template_public_single_zero_test()
28 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "zeronumber", zbn)) in template_public_single_zero_test()
29 || !TEST_ptr(params_blt = OSSL_PARAM_BLD_to_param(bld))) in template_public_single_zero_test()
45 OSSL_PARAM_BLD_free(bld); in template_public_single_zero_test()
53 OSSL_PARAM_BLD *bld = NULL; in template_private_single_zero_test() local
58 if (!TEST_ptr(bld = OSSL_PARAM_BLD_new()) in template_private_single_zero_test()
60 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "zeronumber", zbn)) in template_private_single_zero_test()
61 || !TEST_ptr(params_blt = OSSL_PARAM_BLD_to_param(bld))) in template_private_single_zero_test()
79 OSSL_PARAM_BLD_free(bld); in template_private_single_zero_test()
87 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in template_public_test() local
101 if (!TEST_ptr(bld) in template_public_test()
102 || !TEST_true(OSSL_PARAM_BLD_push_long(bld, "l", 42)) in template_public_test()
103 || !TEST_true(OSSL_PARAM_BLD_push_int32(bld, "i32", 1532)) in template_public_test()
104 || !TEST_true(OSSL_PARAM_BLD_push_int64(bld, "i64", -9999999)) in template_public_test()
105 || !TEST_true(OSSL_PARAM_BLD_push_time_t(bld, "t", 11224)) in template_public_test()
106 || !TEST_true(OSSL_PARAM_BLD_push_double(bld, "d", 1.61803398875)) in template_public_test()
108 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "zeronumber", zbn)) in template_public_test()
111 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "bignumber", bn)) in template_public_test()
112 || !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld, "utf8_s", "foo", in template_public_test()
114 || !TEST_true(OSSL_PARAM_BLD_push_utf8_ptr(bld, "utf8_p", "bar-boom", in template_public_test()
116 || !TEST_true(OSSL_PARAM_BLD_push_int(bld, "i", -6)) in template_public_test()
117 || !TEST_ptr(params_blt = OSSL_PARAM_BLD_to_param(bld))) in template_public_test()
209 OSSL_PARAM_BLD_free(bld); in template_public_test()
225 OSSL_PARAM_BLD *bld = NULL; in template_private_test() local
238 || !TEST_ptr(bld = OSSL_PARAM_BLD_new())) in template_private_test()
246 if (!TEST_true(OSSL_PARAM_BLD_push_uint(bld, "i", 6)) in template_private_test()
247 || !TEST_true(OSSL_PARAM_BLD_push_ulong(bld, "l", 42)) in template_private_test()
248 || !TEST_true(OSSL_PARAM_BLD_push_uint32(bld, "i32", 1532)) in template_private_test()
249 || !TEST_true(OSSL_PARAM_BLD_push_uint64(bld, "i64", 9999999)) in template_private_test()
250 || !TEST_true(OSSL_PARAM_BLD_push_size_t(bld, "st", 65537)) in template_private_test()
252 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "zeronumber", zbn)) in template_private_test()
255 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "bignumber", bn)) in template_private_test()
256 || !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld, "oct_s", data1, in template_private_test()
258 || !TEST_true(OSSL_PARAM_BLD_push_octet_ptr(bld, "oct_p", data2, in template_private_test()
260 || !TEST_ptr(params_blt = OSSL_PARAM_BLD_to_param(bld))) in template_private_test()
357 OSSL_PARAM_BLD_free(bld); in template_private_test()
371 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in builder_limit_test() local
375 if (!TEST_ptr(bld)) in builder_limit_test()
382 if (!TEST_true(OSSL_PARAM_BLD_push_int(bld, names[i], 3 * i + 1))) in builder_limit_test()
385 if (!TEST_ptr(params = OSSL_PARAM_BLD_to_param(bld))) in builder_limit_test()
396 if (!TEST_true(OSSL_PARAM_BLD_push_int(bld, "g", 2)) in builder_limit_test()
397 || !TEST_ptr(params = OSSL_PARAM_BLD_to_param(bld))) in builder_limit_test()
406 OSSL_PARAM_BLD_free(bld); in builder_limit_test()
414 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in builder_merge_test() local
426 if (!TEST_ptr(bld) in builder_merge_test()
427 || !TEST_true(OSSL_PARAM_BLD_push_uint(bld, "i", 6)) in builder_merge_test()
428 || !TEST_true(OSSL_PARAM_BLD_push_ulong(bld, "l", 42)) in builder_merge_test()
429 || !TEST_true(OSSL_PARAM_BLD_push_uint32(bld, "i32", 1532)) in builder_merge_test()
430 || !TEST_true(OSSL_PARAM_BLD_push_uint64(bld, "i64", 9999999)) in builder_merge_test()
431 || !TEST_true(OSSL_PARAM_BLD_push_size_t(bld, "st", 65537)) in builder_merge_test()
434 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "bignumber_priv", bn_priv)) in builder_merge_test()
435 || !TEST_ptr(params_blt = OSSL_PARAM_BLD_to_param(bld))) in builder_merge_test()
514 OSSL_PARAM_BLD_free(bld); in builder_merge_test()