Lines Matching refs:name

38     const char *name;  in EVP_add_digest()  local
40 name = OBJ_nid2sn(md->type); in EVP_add_digest()
41 r = OBJ_NAME_add(name, OBJ_NAME_TYPE_MD_METH, (const char *)md); in EVP_add_digest()
51 OBJ_NAME_TYPE_MD_METH | OBJ_NAME_ALIAS, name); in EVP_add_digest()
55 OBJ_NAME_TYPE_MD_METH | OBJ_NAME_ALIAS, name); in EVP_add_digest()
60 static void cipher_from_name(const char *name, void *data) in cipher_from_name() argument
67 *cipher = (const EVP_CIPHER *)OBJ_NAME_get(name, OBJ_NAME_TYPE_CIPHER_METH); in cipher_from_name()
70 const EVP_CIPHER *EVP_get_cipherbyname(const char *name) in EVP_get_cipherbyname() argument
72 return evp_get_cipherbyname_ex(NULL, name); in EVP_get_cipherbyname()
76 const char *name) in evp_get_cipherbyname_ex() argument
86 cp = (const EVP_CIPHER *)OBJ_NAME_get(name, OBJ_NAME_TYPE_CIPHER_METH); in evp_get_cipherbyname_ex()
99 id = ossl_namemap_name2num(namemap, name); in evp_get_cipherbyname_ex()
108 fetched_cipher = EVP_CIPHER_fetch(libctx, name, NULL); in evp_get_cipherbyname_ex()
120 static void digest_from_name(const char *name, void *data) in digest_from_name() argument
127 *md = (const EVP_MD *)OBJ_NAME_get(name, OBJ_NAME_TYPE_MD_METH); in digest_from_name()
130 const EVP_MD *EVP_get_digestbyname(const char *name) in EVP_get_digestbyname() argument
132 return evp_get_digestbyname_ex(NULL, name); in EVP_get_digestbyname()
135 const EVP_MD *evp_get_digestbyname_ex(OSSL_LIB_CTX *libctx, const char *name) in evp_get_digestbyname_ex() argument
145 dp = (const EVP_MD *)OBJ_NAME_get(name, OBJ_NAME_TYPE_MD_METH); in evp_get_digestbyname_ex()
158 id = ossl_namemap_name2num(namemap, name); in evp_get_digestbyname_ex()
167 fetched_md = EVP_MD_fetch(libctx, name, NULL); in evp_get_digestbyname_ex()
207 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_cipher_fn()
209 dc->fn((const EVP_CIPHER *)nm->data, nm->name, NULL, dc->arg); in do_all_cipher_fn()
250 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_md_fn()
252 dc->fn((const EVP_MD *)nm->data, nm->name, NULL, dc->arg); in do_all_md_fn()