Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 4 of 4) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dx509_crt.c276 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 …]
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dx509_crt.h673 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,
H A Dx509.h485 size_t mbedtls_x509_crt_parse_cn_inet_pton(const char *cn, void *dst);
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog2611 matching the expected common name (the cn argument of
5512 * x509_crt_verify() now case insensitive for cn (RFC 6125 6.4)
5696 * x509_verify() now case insensitive for cn (RFC 6125 6.4)