Lines Matching refs:controls

199 static int ctrladd(STACK_OF(OPENSSL_STRING) *controls, const char *value)  in ctrladd()  argument
205 return sk_OPENSSL_STRING_push(controls, data) > 0; in ctrladd()
214 static void ctrlfree(STACK_OF(OPENSSL_STRING) *controls) in ctrlfree() argument
216 sk_OPENSSL_STRING_pop_free(controls, openssl_free); in ctrlfree()
237 static int ctrl2params(EVP_TEST *t, STACK_OF(OPENSSL_STRING) *controls, in ctrl2params() argument
246 if (*params_n + sk_OPENSSL_STRING_num(controls) >= params_sz) { in ctrl2params()
250 for (i = 0; i < sk_OPENSSL_STRING_num(controls); i++) { in ctrl2params()
252 char *value = sk_OPENSSL_STRING_value(controls, i); in ctrl2params()
1587 STACK_OF(OPENSSL_STRING) *controls;
1640 if (!TEST_ptr(mdat->controls = sk_OPENSSL_STRING_new_null())) { in mac_test_init()
1657 sk_OPENSSL_STRING_pop_free(mdat->controls, openssl_free); in mac_test_cleanup()
1695 return ctrladd(mdata->controls, value); in mac_test_parse()
1808 for (i = 0; i < sk_OPENSSL_STRING_num(expected->controls); i++) in mac_test_run_pkey()
1810 sk_OPENSSL_STRING_value(expected->controls, in mac_test_run_pkey()
1930 if (!ctrl2params(t, expected->controls, defined_params, in mac_test_run_mac()
2352 STACK_OF(OPENSSL_STRING) *controls; /* collection of controls */
2410 kdata->controls = sk_OPENSSL_STRING_new_null(); in pkey_test_init()
2454 kdata->controls = sk_OPENSSL_STRING_new_null(); in pkey_test_init_ex2()
2463 ctrlfree(kdata->controls); in pkey_test_cleanup()
2500 static int pkey_add_control(EVP_TEST *t, STACK_OF(OPENSSL_STRING) *controls, in pkey_add_control() argument
2505 if (controls == NULL) in pkey_add_control()
2518 return ctrladd(controls, value) > 0; in pkey_add_control()
2532 return pkey_add_control(t, kdata->controls, value); in pkey_test_parse()
2566 for (i = 0; i < sk_OPENSSL_STRING_num(data->controls); i++) { in pkey_test_run_init()
2567 char *value = sk_OPENSSL_STRING_value(data->controls, i); in pkey_test_run_init()
2798 return pkey_add_control(t, kdata->controls, value); in pderive_test_parse()
4049 STACK_OF(OPENSSL_STRING) *controls; /* Collection of controls */
4065 data->controls = sk_OPENSSL_STRING_new_null(); in keygen_test_init()
4076 ctrlfree(keygen->controls); in keygen_test_cleanup()
4094 return ctrladd(keygen->controls, value); in keygen_test_parse()
4129 if (sk_OPENSSL_STRING_num(keygen->controls) > 0) { in keygen_test_run()
4130 if (!ctrl2params(t, keygen->controls, in keygen_test_run()
4209 STACK_OF(OPENSSL_STRING) *controls; /* Collection of controls */
4230 mdat->controls = sk_OPENSSL_STRING_new_null(); in digestsigver_test_init()
4252 ctrlfree(mdata->controls); in digestsigver_test_cleanup()
4297 return pkey_add_control(t, mdata->controls, value); in digestsigver_test_parse()
4361 for (i = 0; i < sk_OPENSSL_STRING_num(data->controls); i++) { in signverify_init()
4362 char *value = sk_OPENSSL_STRING_value(data->controls, i); in signverify_init()
4391 for (i = 0; i < sk_OPENSSL_STRING_num(expected->controls); i++) { in digestsign_test_run()
4392 char *value = sk_OPENSSL_STRING_value(expected->controls, i); in digestsign_test_run()