Searched refs:san (Results 1 – 11 of 11) sorted by relevance
/openthread-3.7.0/third_party/mbedtls/repo/library/ |
D | x509.c | 1395 mbedtls_x509_subject_alternative_name *san) in mbedtls_x509_parse_subject_alt_name() argument 1413 memset(san, 0, sizeof(mbedtls_x509_subject_alternative_name)); in mbedtls_x509_parse_subject_alt_name() 1414 san->type = MBEDTLS_X509_SAN_OTHER_NAME; in mbedtls_x509_parse_subject_alt_name() 1415 memcpy(&san->san.other_name, in mbedtls_x509_parse_subject_alt_name() 1425 memset(san, 0, sizeof(mbedtls_x509_subject_alternative_name)); in mbedtls_x509_parse_subject_alt_name() 1426 san->type = MBEDTLS_X509_SAN_UNIFORM_RESOURCE_IDENTIFIER; in mbedtls_x509_parse_subject_alt_name() 1428 memcpy(&san->san.unstructured_name, in mbedtls_x509_parse_subject_alt_name() 1438 memset(san, 0, sizeof(mbedtls_x509_subject_alternative_name)); in mbedtls_x509_parse_subject_alt_name() 1439 san->type = MBEDTLS_X509_SAN_DNS_NAME; in mbedtls_x509_parse_subject_alt_name() 1441 memcpy(&san->san.unstructured_name, in mbedtls_x509_parse_subject_alt_name() [all …]
|
D | x509write.c | 63 CHECK_OVERFLOW_ADD(buflen, cur->node.san.unstructured_name.len); in mbedtls_x509_write_set_san_common() 68 const mbedtls_asn1_named_data *chunk = &cur->node.san.directory_name; in mbedtls_x509_write_set_san_common() 109 (const unsigned char *) cur->node.san.unstructured_name.p; in mbedtls_x509_write_set_san_common() 110 size_t unstructured_name_len = cur->node.san.unstructured_name.len; in mbedtls_x509_write_set_san_common() 129 .san.directory_name)); in mbedtls_x509_write_set_san_common()
|
D | x509_crt.c | 2902 static int x509_crt_check_san_ip(const mbedtls_x509_sequence *san, in x509_crt_check_san_ip() argument 2911 for (const mbedtls_x509_sequence *cur = san; cur != NULL; cur = cur->next) { in x509_crt_check_san_ip() 2923 static int x509_crt_check_san_uri(const mbedtls_x509_sequence *san, in x509_crt_check_san_uri() argument 2926 for (const mbedtls_x509_sequence *cur = san; cur != NULL; cur = cur->next) { in x509_crt_check_san_uri() 2941 static int x509_crt_check_san(const mbedtls_x509_sequence *san, in x509_crt_check_san() argument 2947 for (const mbedtls_x509_sequence *cur = san; cur != NULL; cur = cur->next) { in x509_crt_check_san() 2966 if (x509_crt_check_san_ip(san, cn, cn_len) == 0) { in x509_crt_check_san() 2971 if (x509_crt_check_san_uri(san, cn, cn_len) == 0) { in x509_crt_check_san()
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_x509parse.function | 229 int verify_parse_san(mbedtls_x509_subject_alternative_name *san, 237 ret = mbedtls_snprintf(p, n, "type : %d", san->type); 240 switch (san->type) { 246 &san->san.other_name.type_id) == 0) { 254 &san->san.other_name.value.hardware_module_name 261 for (i = 0; i < san->san.other_name.value.hardware_module_name.val.len; i++) { 265 san->san.other_name.value.hardware_module_name.val.p[i]); 273 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++) { [all …]
|
D | test_suite_x509write.function | 175 san_mail.node.san.unstructured_name.p = (unsigned char *) san_mail_name; 176 san_mail.node.san.unstructured_name.len = strlen(san_mail_name); 180 san_dns.node.san.unstructured_name.p = (unsigned char *) san_dns_name; 181 san_dns.node.san.unstructured_name.len = strlen(san_dns_name); 187 san_dn.node.san.directory_name = *ext_san_dirname; 191 san_ip.node.san.unstructured_name.p = (unsigned char *) san_ip_name; 192 san_ip.node.san.unstructured_name.len = sizeof(san_ip_name); 196 san_uri.node.san.unstructured_name.p = (unsigned char *) san_uri_name; 197 san_uri.node.san.unstructured_name.len = strlen(san_uri_name); 386 san_mail.node.san.unstructured_name.p = (unsigned char *) san_mail_name; [all …]
|
D | test_suite_x509parse.data | 195 x509_cert_info:"data_files/server5-tricky-ip-san.crt.der":"cert. version \: 3\nserial number … 239 x509_parse_san:"data_files/server5-tricky-ip-san-malformed-len.crt.der":"":MBEDTLS_ERR_X509_BAD_INP… 1040 x509_verify:"data_files/server5-tricky-ip-san.crt.der":"data_files/server5-tricky-ip-san.crt.der":"… 1044 x509_verify:"data_files/server5-tricky-ip-san.crt.der":"data_files/server5-tricky-ip-san.crt.der":"… 1048 x509_verify:"data_files/server5-tricky-ip-san.crt.der":"data_files/server5-tricky-ip-san.crt.der":"… 1052 x509_verify:"data_files/server5-tricky-ip-san.crt.der":"data_files/server5-tricky-ip-san.crt.der":"… 1056 x509_verify:"data_files/server5-tricky-ip-san.crt.der":"data_files/server5-tricky-ip-san.crt.der":"… 1060 x509_verify:"data_files/server5-tricky-ip-san.crt.der":"data_files/server5-tricky-ip-san.crt.der":"… 1064 x509_verify:"data_files/server5-tricky-ip-san.crt.der":"data_files/server5-tricky-ip-san.crt.der":"…
|
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/ |
D | x509.h | 299 san; /**< A union of the supported SAN types */ member 461 mbedtls_x509_subject_alternative_name *san); 467 void mbedtls_x509_free_subject_alt_name(mbedtls_x509_subject_alternative_name *san);
|
/openthread-3.7.0/third_party/mbedtls/repo/programs/x509/ |
D | cert_req.c | 273 cur->node.san.unstructured_name.p = (unsigned char *) ip; in main() 274 cur->node.san.unstructured_name.len = sizeof(ip); in main() 286 cur->node.san.directory_name = *ext_san_dirname; in main() 296 cur->node.san.unstructured_name.p = (unsigned char *) q; in main() 297 cur->node.san.unstructured_name.len = strlen(q); in main()
|
D | cert_write.c | 594 cur->node.san.unstructured_name.p = (unsigned char *) ip; in main() 595 cur->node.san.unstructured_name.len = sizeof(ip); in main() 607 cur->node.san.directory_name = *ext_san_dirname; in main() 617 cur->node.san.unstructured_name.p = (unsigned char *) q; in main() 618 cur->node.san.unstructured_name.len = strlen(q); in main()
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/data_files/ |
D | Makefile | 484 server5-tricky-ip-san.crt.der: server5.key 487 all_final += server5-tricky-ip-san.crt.der 490 server5-tricky-ip-san-malformed-len.crt.der: server5-tricky-ip-san.crt.der 1610 …e=20190210144406 not_after=20290210144406 md=SHA1 version=3 output_file=$@ san=URI:http://pki.exam…
|
/openthread-3.7.0/third_party/mbedtls/repo/ |
D | ChangeLog | 182 in the san parameter is not separated by a colon. 184 in the san parameter is not separated by a colon.
|