Lines Matching refs:name_id

30     int name_id;                 /* For get_evp_method_from_store() */  member
38 void *(*method_from_algorithm)(int name_id, const OSSL_ALGORITHM *,
111 static uint32_t evp_method_id(int name_id, unsigned int operation_id) in evp_method_id() argument
113 if (!ossl_assert(name_id > 0 && name_id <= METHOD_ID_NAME_MAX) in evp_method_id()
117 return (((name_id << METHOD_ID_NAME_OFFSET) & METHOD_ID_NAME_MASK) in evp_method_id()
126 int name_id; in get_evp_method_from_store() local
134 if ((name_id = methdata->name_id) == 0 && methdata->names != NULL) { in get_evp_method_from_store()
142 name_id = ossl_namemap_name2num_n(namemap, names, l); in get_evp_method_from_store()
145 if (name_id == 0 in get_evp_method_from_store()
146 || (meth_id = evp_method_id(name_id, methdata->operation_id)) == 0) in get_evp_method_from_store()
166 int name_id; in put_evp_method_in_store() local
183 || (name_id = ossl_namemap_name2num_n(namemap, names, l)) == 0 in put_evp_method_in_store()
184 || (meth_id = evp_method_id(name_id, methdata->operation_id)) == 0) in put_evp_method_in_store()
214 int name_id = ossl_namemap_add_names(namemap, 0, names, NAME_SEPARATOR); in construct_evp_method() local
217 if (name_id == 0) in construct_evp_method()
220 method = methdata->method_from_algorithm(name_id, algodef, prov); in construct_evp_method()
244 void *(*new_method)(int name_id, in inner_evp_generic_fetch() argument
255 int unsupported, name_id; in inner_evp_generic_fetch() local
272 name_id = name != NULL ? ossl_namemap_name2num(namemap, name) : 0; in inner_evp_generic_fetch()
282 if (name_id != 0 && (meth_id = evp_method_id(name_id, operation_id)) == 0) { in inner_evp_generic_fetch()
291 unsupported = name_id == 0; in inner_evp_generic_fetch()
306 methdata->name_id = name_id; in inner_evp_generic_fetch()
328 if (name_id == 0) in inner_evp_generic_fetch()
329 name_id = ossl_namemap_name2num(namemap, name); in inner_evp_generic_fetch()
330 if (name_id == 0) { in inner_evp_generic_fetch()
336 meth_id = evp_method_id(name_id, operation_id); in inner_evp_generic_fetch()
350 if ((name_id != 0 || name != NULL) && method == NULL) { in inner_evp_generic_fetch()
354 name = ossl_namemap_num2name(namemap, name_id, 0); in inner_evp_generic_fetch()
358 name == NULL ? "<null>" : name, name_id, in inner_evp_generic_fetch()
367 void *(*new_method)(int name_id, in evp_generic_fetch() argument
393 void *(*new_method)(int name_id, in evp_generic_fetch_from_prov() argument
606 void *(*new_method)(int name_id, in evp_generic_do_all() argument