Home
last modified time | relevance | path

Searched refs:pem_name (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/engines/
H A De_loader_attic.c169 char *pem_name; member
184 OPENSSL_free(data->pem_name); in store_info_free()
204 data->pem_name = in new_EMBEDDED()
207 if (new_pem_name != NULL && data->pem_name == NULL) { in new_EMBEDDED()
259 typedef OSSL_STORE_INFO *(*file_try_decode_fn)(const char *pem_name,
296 static OSSL_STORE_INFO *try_decode_PKCS12(const char *pem_name, in try_decode_PKCS12() argument
313 if (pem_name != NULL) in try_decode_PKCS12()
431 static OSSL_STORE_INFO *try_decode_PKCS8Encrypted(const char *pem_name, in try_decode_PKCS8Encrypted() argument
452 if (pem_name != NULL) { in try_decode_PKCS8Encrypted()
453 if (strcmp(pem_name, PEM_STRING_PKCS8) != 0) in try_decode_PKCS8Encrypted()
[all …]
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Ddecode_pem2der.c32 char **pem_name, char **pem_header, in read_pem() argument
40 ok = (PEM_read_bio(in, pem_name, pem_header, data, len) > 0); in read_pem()
104 const char *pem_name; in pem2der_decode() member
136 char *pem_name = NULL, *pem_header = NULL; in pem2der_decode() local
143 ok = read_pem(ctx->provctx, cin, &pem_name, &pem_header, in pem2der_decode()
176 if (strcmp(pem_name, pem_name_map[i].pem_name) == 0) in pem2der_decode()
208 OPENSSL_free(pem_name); in pem2der_decode()
/freebsd/crypto/openssl/crypto/
H A Dcore_namemap.c382 static void get_legacy_evp_names(int base_nid, int nid, const char *pem_name, in get_legacy_evp_names() argument
403 if (pem_name != NULL) in get_legacy_evp_names()
404 num = ossl_namemap_add_name(arg, num, pem_name); in get_legacy_evp_names()
427 const char *pem_name = NULL; in get_legacy_pkey_meth_names() local
429 EVP_PKEY_asn1_get0_info(&nid, &base_nid, &flags, NULL, &pem_name, ameth); in get_legacy_pkey_meth_names()
438 get_legacy_evp_names(0, nid, pem_name, arg); in get_legacy_pkey_meth_names()
452 get_legacy_evp_names(0, nid, pem_name, arg); in get_legacy_pkey_meth_names()
456 get_legacy_evp_names(base_nid, nid, pem_name, arg); in get_legacy_pkey_meth_names()
/freebsd/crypto/openssl/util/
H A Dcheck-format-test-negatives.c117 if (/* comment after '(' */ pem_name != NULL /* comment before ')' */) in g()
442 if (pem_name != NULL) in fun()
/freebsd/crypto/openssl/apps/
H A Ds_client.c277 char pem_name[100]; in serverinfo_cli_parse_cb() local
288 BIO_snprintf(pem_name, sizeof(pem_name), "SERVERINFO FOR EXTENSION %d", in serverinfo_cli_parse_cb()
290 PEM_write_bio(bio_c_out, pem_name, "", ext_buf, 4 + inlen); in serverinfo_cli_parse_cb()