Home
last modified time | relevance | path

Searched refs:mbedtls_asn1_named_data (Results 1 – 14 of 14) sorted by relevance

/third_party/mbedtls/include/mbedtls/
Dasn1.h191 typedef struct mbedtls_asn1_named_data { struct
202 struct mbedtls_asn1_named_data *next; argument
211 mbedtls_asn1_named_data; typedef
604 const mbedtls_asn1_named_data *mbedtls_asn1_find_named_data(const mbedtls_asn1_named_data *list,
620 void mbedtls_asn1_free_named_data(mbedtls_asn1_named_data *entry);
631 void mbedtls_asn1_free_named_data_list(mbedtls_asn1_named_data **head);
640 void mbedtls_asn1_free_named_data_list_shallow(mbedtls_asn1_named_data *name);
Dx509.h239 typedef mbedtls_asn1_named_data mbedtls_x509_name;
443 int mbedtls_x509_string_to_names(mbedtls_asn1_named_data **head, const char *name);
444 int mbedtls_x509_set_extension(mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
448 mbedtls_asn1_named_data *first);
450 mbedtls_asn1_named_data *first);
Dasn1write.h366 mbedtls_asn1_named_data *mbedtls_asn1_store_named_data(mbedtls_asn1_named_data **list,
Dx509_csr.h80 mbedtls_asn1_named_data *MBEDTLS_PRIVATE(subject);
82 mbedtls_asn1_named_data *MBEDTLS_PRIVATE(extensions);
Dx509_crt.h234 mbedtls_asn1_named_data *MBEDTLS_PRIVATE(subject);
235 mbedtls_asn1_named_data *MBEDTLS_PRIVATE(issuer);
239 mbedtls_asn1_named_data *MBEDTLS_PRIVATE(extensions);
Dpkcs7.h97 typedef mbedtls_asn1_named_data mbedtls_pkcs7_name;
/third_party/mbedtls/library/
Dx509_create.c126 int mbedtls_x509_string_to_names(mbedtls_asn1_named_data **head, const char *name) in mbedtls_x509_string_to_names()
162 mbedtls_asn1_named_data *cur = in mbedtls_x509_string_to_names()
202 int mbedtls_x509_set_extension(mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, in mbedtls_x509_set_extension()
205 mbedtls_asn1_named_data *cur; in mbedtls_x509_set_extension()
234 mbedtls_asn1_named_data *cur_name) in x509_write_name()
267 mbedtls_asn1_named_data *first) in mbedtls_x509_write_names()
271 mbedtls_asn1_named_data *cur = first; in mbedtls_x509_write_names()
319 mbedtls_asn1_named_data *ext) in x509_write_extension()
356 mbedtls_asn1_named_data *first) in mbedtls_x509_write_extensions()
360 mbedtls_asn1_named_data *cur_ext = first; in mbedtls_x509_write_extensions()
Dasn1parse.c458 void mbedtls_asn1_free_named_data(mbedtls_asn1_named_data *cur) in mbedtls_asn1_free_named_data()
467 mbedtls_platform_zeroize(cur, sizeof(mbedtls_asn1_named_data)); in mbedtls_asn1_free_named_data()
471 void mbedtls_asn1_free_named_data_list(mbedtls_asn1_named_data **head) in mbedtls_asn1_free_named_data_list()
473 mbedtls_asn1_named_data *cur; in mbedtls_asn1_free_named_data_list()
483 void mbedtls_asn1_free_named_data_list_shallow(mbedtls_asn1_named_data *name) in mbedtls_asn1_free_named_data_list_shallow()
485 for (mbedtls_asn1_named_data *next; name != NULL; name = next) { in mbedtls_asn1_free_named_data_list_shallow()
491 const mbedtls_asn1_named_data *mbedtls_asn1_find_named_data(const mbedtls_asn1_named_data *list, in mbedtls_asn1_find_named_data()
Dasn1write.c402 static mbedtls_asn1_named_data *asn1_find_named_data( in asn1_find_named_data()
403 mbedtls_asn1_named_data *list, in asn1_find_named_data()
418 mbedtls_asn1_named_data *mbedtls_asn1_store_named_data( in mbedtls_asn1_store_named_data()
419 mbedtls_asn1_named_data **head, in mbedtls_asn1_store_named_data()
424 mbedtls_asn1_named_data *cur; in mbedtls_asn1_store_named_data()
429 cur = (mbedtls_asn1_named_data *) mbedtls_calloc(1, in mbedtls_asn1_store_named_data()
430 sizeof(mbedtls_asn1_named_data)); in mbedtls_asn1_store_named_data()
/third_party/mbedtls/tests/suites/
Dtest_suite_asn1write.function464 mbedtls_asn1_named_data nd[] = {
470 mbedtls_asn1_named_data *pointers[ARRAY_LENGTH(nd) + 1];
472 mbedtls_asn1_named_data *head = NULL;
473 mbedtls_asn1_named_data *found = NULL;
524 mbedtls_asn1_named_data nd =
526 mbedtls_asn1_named_data *head = &nd;
527 mbedtls_asn1_named_data *found = NULL;
567 mbedtls_asn1_named_data *head = NULL;
568 mbedtls_asn1_named_data *found = NULL;
Dtest_suite_asn1parse.function690 mbedtls_asn1_named_data nd[] = {
696 mbedtls_asn1_named_data *pointers[ARRAY_LENGTH(nd) + 1];
698 const mbedtls_asn1_named_data *found;
708 found = mbedtls_asn1_find_named_data((const mbedtls_asn1_named_data *) pointers[from],
726 mbedtls_asn1_named_data next =
728 mbedtls_asn1_named_data head =
756 mbedtls_asn1_named_data *head = NULL;
760 mbedtls_asn1_named_data *new = NULL;
Dtest_suite_x509write.function632 mbedtls_asn1_named_data *names = NULL;
Dtest_suite_x509parse.function884 mbedtls_asn1_named_data *names = NULL;
/third_party/libcoap/src/
Dcoap_mbedtls.c301 const mbedtls_asn1_named_data *cn_data; in get_san_or_cn_from_cert()