Lines Matching refs:name

58 static const char *skip_dot(const char *name)  in skip_dot()  argument
60 const char *p = strchr(name, '.'); in skip_dot()
64 return name; in skip_dot()
76 const char *name, const char *value, in provider_conf_params_internal() argument
111 if (name != NULL) { in provider_conf_params_internal()
112 OPENSSL_strlcpy(buffer, name, sizeof(buffer)); in provider_conf_params_internal()
120 if (buffer_len + strlen(sectconf->name) >= sizeof(buffer)) { in provider_conf_params_internal()
125 OPENSSL_strlcat(buffer, sectconf->name, sizeof(buffer)); in provider_conf_params_internal()
137 OSSL_TRACE2(CONF, "Provider params: %s = %s\n", name, value); in provider_conf_params_internal()
139 ok = ossl_provider_add_parameter(prov, name, value); in provider_conf_params_internal()
141 ok = ossl_provider_info_add_parameter(provinfo, name, value); in provider_conf_params_internal()
157 const char *name, const char *value, in provider_conf_params() argument
166 rc = provider_conf_params_internal(prov, provinfo, name, in provider_conf_params()
174 static int prov_already_activated(const char *name, in prov_already_activated() argument
186 if (strcmp(OSSL_PROVIDER_get0_name(tstprov), name) == 0) { in prov_already_activated()
201 static int provider_conf_activate(OSSL_LIB_CTX *libctx, const char *name, in provider_conf_activate() argument
214 if (!prov_already_activated(name, pcgbl->activated_providers)) { in provider_conf_activate()
227 prov = ossl_provider_find(libctx, name, 1); in provider_conf_activate()
229 prov = ossl_provider_new(libctx, name, NULL, NULL, 1); in provider_conf_activate()
311 static int provider_conf_load(OSSL_LIB_CTX *libctx, const char *name, in provider_conf_load() argument
322 name = skip_dot(name); in provider_conf_load()
323 OSSL_TRACE1(CONF, "Configuring provider %s\n", name); in provider_conf_load()
336 const char *confname = skip_dot(ecmd->name); in provider_conf_load()
346 name = confvalue; in provider_conf_load()
362 ok = provider_conf_activate(libctx, name, value, path, soft, cnf); in provider_conf_load()
368 if (name != NULL) { in provider_conf_load()
369 entry.name = OPENSSL_strdup(name); in provider_conf_load()
370 if (entry.name == NULL) in provider_conf_load()
419 cval->name, cval->value, cnf)) in provider_conf_init()