Home
last modified time | relevance | path

Searched refs:unstructured_name (Results 1 – 7 of 7) sorted by relevance

/third_party/mbedtls/library/
Dx509write_csr.c110 buflen += cur->node.san.unstructured_name.len + 4 + 1; in mbedtls_x509write_csr_set_subject_alternative_name()
140 const unsigned char *unstructured_name = in mbedtls_x509write_csr_set_subject_alternative_name() local
141 (const unsigned char *) cur->node.san.unstructured_name.p; in mbedtls_x509write_csr_set_subject_alternative_name()
142 size_t unstructured_name_len = cur->node.san.unstructured_name.len; in mbedtls_x509write_csr_set_subject_alternative_name()
147 unstructured_name, unstructured_name_len)); in mbedtls_x509write_csr_set_subject_alternative_name()
Dx509.c1409 memcpy(&san->san.unstructured_name, in mbedtls_x509_parse_subject_alt_name()
1422 memcpy(&san->san.unstructured_name, in mbedtls_x509_parse_subject_alt_name()
1434 memcpy(&san->san.unstructured_name, san_buf, sizeof(*san_buf)); in mbedtls_x509_parse_subject_alt_name()
1521 if (san.san.unstructured_name.len >= n) { in mbedtls_x509_info_subject_alt_name()
1526 memcpy(p, san.san.unstructured_name.p, san.san.unstructured_name.len); in mbedtls_x509_info_subject_alt_name()
1527 p += san.san.unstructured_name.len; in mbedtls_x509_info_subject_alt_name()
1528 n -= san.san.unstructured_name.len; in mbedtls_x509_info_subject_alt_name()
1547 if (san.san.unstructured_name.len >= n) { in mbedtls_x509_info_subject_alt_name()
1552 memcpy(p, san.san.unstructured_name.p, san.san.unstructured_name.len); in mbedtls_x509_info_subject_alt_name()
1553 p += san.san.unstructured_name.len; in mbedtls_x509_info_subject_alt_name()
[all …]
/third_party/mbedtls/programs/x509/
Dcert_req.c253 cur->node.san.unstructured_name.p = (unsigned char *) ip; in main()
254 cur->node.san.unstructured_name.len = sizeof(ip); in main()
257 cur->node.san.unstructured_name.p = (unsigned char *) q; in main()
258 cur->node.san.unstructured_name.len = strlen(q); in main()
/third_party/mbedtls/tests/suites/
Dtest_suite_x509write.function164 san_uri.node.san.unstructured_name.p = (unsigned char *) san_uri_name;
165 san_uri.node.san.unstructured_name.len = strlen(san_uri_name);
168 san_ip.node.san.unstructured_name.p = (unsigned char *) san_ip_name;
169 san_ip.node.san.unstructured_name.len = sizeof(san_ip_name);
172 san_dns.node.san.unstructured_name.p = (unsigned char *) san_dns_name;
173 san_dns.node.san.unstructured_name.len = strlen(san_dns_name);
Dtest_suite_x509parse.function273 if (san->san.unstructured_name.len >= n) {
277 n -= san->san.unstructured_name.len;
278 for (i = 0; i < san->san.unstructured_name.len; i++) {
279 *p++ = san->san.unstructured_name.p[i];
285 if (san->san.unstructured_name.len >= n) {
289 n -= san->san.unstructured_name.len;
290 for (i = 0; i < san->san.unstructured_name.len; i++) {
291 *p++ = san->san.unstructured_name.p[i];
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-extensions.c164 …mbedtls_x509_buf unstructured_name; /**< The buffer for the un constructed types. Only dnsName c… member
269 memcpy(&name->san.unstructured_name, in lws_mbedtls_x509_parse_general_name()
/third_party/mbedtls/include/mbedtls/
Dx509.h297 …mbedtls_x509_buf unstructured_name; /**< The buffer for the unconstructed types. Only rfc822Name… member