Home
last modified time | relevance | path

Searched refs:name_id (Results 1 – 19 of 19) sorted by relevance

/openssl/crypto/evp/
H A Devp_fetch.c113 if (!ossl_assert(name_id > 0 && name_id <= METHOD_ID_NAME_MAX) 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()
145 if (name_id == 0 in get_evp_method_from_store()
166 int name_id; in put_evp_method_in_store() local
217 if (name_id == 0) in construct_evp_method()
255 int unsupported, name_id; in inner_evp_generic_fetch() local
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()
[all …]
H A Devp_local.h97 int name_id; member
142 int name_id; member
161 int name_id; member
204 int name_id; member
224 int name_id; member
280 void *(*new_method)(int name_id,
287 void *(*new_method)(int name_id,
298 void *(*new_method)(int name_id,
305 EVP_KEYMGMT *evp_keymgmt_fetch_by_number(OSSL_LIB_CTX *ctx, int name_id,
H A Dkdf_lib.c83 return kdf->name_id; in evp_kdf_get_number()
98 return kdf != NULL && evp_is_a(kdf->prov, kdf->name_id, NULL, name); in EVP_KDF_is_a()
179 return evp_names_do_all(kdf->prov, kdf->name_id, fn, data); in EVP_KDF_names_do_all()
H A Dkem.c291 static void *evp_kem_from_algorithm(int name_id, const OSSL_ALGORITHM *algodef, in evp_kem_from_algorithm() argument
304 kem->name_id = name_id; in evp_kem_from_algorithm()
470 return kem != NULL && evp_is_a(kem->prov, kem->name_id, NULL, name); in EVP_KEM_is_a()
475 return kem->name_id; in evp_kem_get_number()
503 return evp_names_do_all(kem->prov, kem->name_id, fn, data); in EVP_KEM_names_do_all()
H A Dasymcipher.c337 static void *evp_asym_cipher_from_algorithm(int name_id, in evp_asym_cipher_from_algorithm() argument
351 cipher->name_id = name_id; in evp_asym_cipher_from_algorithm()
504 return evp_is_a(cipher->prov, cipher->name_id, NULL, name); in EVP_ASYM_CIPHER_is_a()
509 return cipher->name_id; in evp_asym_cipher_get_number()
540 return evp_names_do_all(cipher->prov, cipher->name_id, fn, data); in EVP_ASYM_CIPHER_names_do_all()
H A Dexchange.c38 static void *evp_keyexch_from_algorithm(int name_id, in evp_keyexch_from_algorithm() argument
51 exchange->name_id = name_id; in evp_keyexch_from_algorithm()
539 return keyexch->name_id; in evp_keyexch_get_number()
555 && evp_is_a(keyexch->prov, keyexch->name_id, NULL, name); in EVP_KEYEXCH_is_a()
574 return evp_names_do_all(keyexch->prov, keyexch->name_id, fn, data); in EVP_KEYEXCH_names_do_all()
H A Dkeymgmt_meth.c53 static void *keymgmt_from_algorithm(int name_id, in keymgmt_from_algorithm() argument
68 keymgmt->name_id = name_id; in keymgmt_from_algorithm()
315 return keymgmt->name_id; in evp_keymgmt_get_number()
336 && evp_is_a(keymgmt->prov, keymgmt->name_id, NULL, name); in EVP_KEYMGMT_is_a()
355 return evp_names_do_all(keymgmt->prov, keymgmt->name_id, fn, data); in EVP_KEYMGMT_names_do_all()
H A Dmac_meth.c57 static void *evp_mac_from_algorithm(int name_id, in evp_mac_from_algorithm() argument
69 mac->name_id = name_id; in evp_mac_from_algorithm()
H A Dkdf_meth.c58 static void *evp_kdf_from_algorithm(int name_id, in evp_kdf_from_algorithm() argument
70 kdf->name_id = name_id; in evp_kdf_from_algorithm()
H A Devp_rand.c26 int name_id; member
117 static void *evp_rand_from_algorithm(int name_id, in evp_rand_from_algorithm() argument
132 rand->name_id = name_id; in evp_rand_from_algorithm()
305 return rand->name_id; in evp_rand_get_number()
320 return rand != NULL && evp_is_a(rand->prov, rand->name_id, NULL, name); in EVP_RAND_is_a()
508 return evp_names_do_all(rand->prov, rand->name_id, fn, data); in EVP_RAND_names_do_all()
H A Dmac_lib.c211 return mac->name_id; in evp_mac_get_number()
226 return mac != NULL && evp_is_a(mac->prov, mac->name_id, NULL, name); in EVP_MAC_is_a()
234 return evp_names_do_all(mac->prov, mac->name_id, fn, data); in EVP_MAC_names_do_all()
H A Dkeymgmt_lib.c118 || (pk->keymgmt->name_id == keymgmt->name_id in evp_keymgmt_util_export_to_provider()
249 || (keymgmt->name_id == p->keymgmt->name_id in evp_keymgmt_util_find_operation_cache()
H A Dsignature.c41 static void *evp_signature_from_algorithm(int name_id, in evp_signature_from_algorithm() argument
60 signature->name_id = name_id; in evp_signature_from_algorithm()
425 && evp_is_a(signature->prov, signature->name_id, NULL, name); in EVP_SIGNATURE_is_a()
430 return signature->name_id; in evp_signature_get_number()
461 return evp_names_do_all(signature->prov, signature->name_id, fn, data); in EVP_SIGNATURE_names_do_all()
H A Devp_lib.c685 return evp_is_a(cipher->prov, cipher->name_id, NULL, name); in EVP_CIPHER_is_a()
691 return cipher->name_id; in evp_cipher_get_number()
721 return evp_names_do_all(cipher->prov, cipher->name_id, fn, data); in EVP_CIPHER_names_do_all()
741 return evp_is_a(md->prov, md->name_id, NULL, name); in EVP_MD_is_a()
747 return md->name_id; in evp_md_get_number()
779 return evp_names_do_all(md->prov, md->name_id, fn, data); in EVP_MD_names_do_all()
H A Ddigest.c1014 static void *evp_md_from_algorithm(int name_id, in evp_md_from_algorithm() argument
1030 if (!evp_names_do_all(prov, name_id, set_legacy_nid, &md->type) in evp_md_from_algorithm()
1038 md->name_id = name_id; in evp_md_from_algorithm()
H A Devp_enc.c1564 static void *evp_cipher_from_algorithm(const int name_id, in evp_cipher_from_algorithm() argument
1579 if (!evp_names_do_all(prov, name_id, set_legacy_nid, &cipher->nid) in evp_cipher_from_algorithm()
1587 cipher->name_id = name_id; in evp_cipher_from_algorithm()
/openssl/doc/internal/man3/
H A Devp_generic_fetch.pod15 void *(*new_method)(int name_id,
24 int name_id, const char *properties,
25 void *(*new_method)(int name_id,
53 dispatch table I<fns>, with name identity I<name_id>.
101 int name_id;
114 EVP_FOO *EVP_FOO_meth_from_algorithm(int name_id,
129 foo->name_id = name_id;
/openssl/include/crypto/
H A Devp.h211 int name_id; member
233 int name_id; member
276 int name_id; member
333 int name_id; member
/openssl/crypto/encode_decode/
H A Ddecoder_pkey.c231 if (keymgmt->name_id != decoder->base.id) in collect_decoder_keymgmt()
343 if (keymgmt->name_id != data->keytype_id in check_keymgmt()
344 && keymgmt->name_id != data->sm2_id) in check_keymgmt()

Completed in 49 milliseconds