Searched refs:cn (Results 1 – 5 of 5) sorted by relevance
/mbedtls-latest/library/ |
D | x509_crt.c | 276 static int x509_check_wildcard(const char *cn, const mbedtls_x509_buf *name) in x509_check_wildcard() argument 279 size_t cn_idx = 0, cn_len = strlen(cn); in x509_check_wildcard() 287 if (cn[i] == '.') { in x509_check_wildcard() 298 x509_memcasecmp(name->p + 1, cn + cn_idx, name->len - 1) == 0) { in x509_check_wildcard() 2877 size_t mbedtls_x509_crt_parse_cn_inet_pton(const char *cn, void *dst) in mbedtls_x509_crt_parse_cn_inet_pton() argument 2879 return strchr(cn, ':') == NULL in mbedtls_x509_crt_parse_cn_inet_pton() 2880 ? x509_inet_pton_ipv4(cn, dst) == 0 ? 4 : 0 in mbedtls_x509_crt_parse_cn_inet_pton() 2881 : x509_inet_pton_ipv6(cn, dst) == 0 ? 16 : 0; in mbedtls_x509_crt_parse_cn_inet_pton() 2888 const char *cn, size_t cn_len) in x509_crt_check_cn() argument 2892 x509_memcasecmp(cn, name->p, cn_len) == 0) { in x509_crt_check_cn() [all …]
|
/mbedtls-latest/include/mbedtls/ |
D | x509_crt.h | 673 const char *cn, uint32_t *flags, 715 const char *cn, uint32_t *flags, 749 const char *cn, uint32_t *flags, 815 const char *cn, uint32_t *flags,
|
D | x509.h | 484 size_t mbedtls_x509_crt_parse_cn_inet_pton(const char *cn, void *dst);
|
/mbedtls-latest/tests/suites/ |
D | test_suite_x509parse.function | 482 void x509_crt_parse_cn_inet_pton(const char *cn, data_t *exp, int ref_ret) 485 size_t addrlen = mbedtls_x509_crt_parse_cn_inet_pton(cn, addr);
|
/mbedtls-latest/ |
D | ChangeLog | 2418 matching the expected common name (the cn argument of 5319 * x509_crt_verify() now case insensitive for cn (RFC 6125 6.4) 5503 * x509_verify() now case insensitive for cn (RFC 6125 6.4)
|