Searched refs:cn_len (Results 1 – 1 of 1) sorted by relevance
277 size_t cn_idx = 0, cn_len = strlen(cn); in x509_check_wildcard() local284 for (i = 0; i < cn_len; ++i) { in x509_check_wildcard()295 if (cn_len - cn_idx == name->len - 1 && in x509_check_wildcard()2886 const char *cn, size_t cn_len) in x509_crt_check_cn() argument2889 if (name->len == cn_len && in x509_crt_check_cn()2890 x509_memcasecmp(cn, name->p, cn_len) == 0) { in x509_crt_check_cn()2903 const char *cn, size_t cn_len) in x509_crt_check_san_ip() argument2906 cn_len = mbedtls_x509_crt_parse_cn_inet_pton(cn, ip); in x509_crt_check_san_ip()2907 if (cn_len == 0) { in x509_crt_check_san_ip()2915 cur->buf.len == cn_len && memcmp(cur->buf.p, ip, cn_len) == 0) { in x509_crt_check_san_ip()[all …]