Lines Matching refs:template
523 OSSL_PROVIDER_INFO template; in ossl_provider_new() local
529 memset(&template, 0, sizeof(template)); in ossl_provider_new()
537 template = *p; in ossl_provider_new()
547 template = *p; in ossl_provider_new()
554 template.init = init_function; in ossl_provider_new()
560 template.parameters = sk_INFOPAIR_new_null(); in ossl_provider_new()
561 if (template.parameters == NULL) in ossl_provider_new()
567 if (ossl_provider_info_add_parameter(&template, params[i].key, in ossl_provider_new()
569 sk_INFOPAIR_pop_free(template.parameters, infopair_free); in ossl_provider_new()
576 prov = provider_new(name, template.init, template.parameters); in ossl_provider_new()
579 sk_INFOPAIR_pop_free(template.parameters, infopair_free); in ossl_provider_new()
584 if (!ossl_provider_set_module_path(prov, template.path)) { in ossl_provider_new()