Lines Matching refs:cn_len
286 size_t cn_idx = 0, cn_len = strlen(cn); in x509_check_wildcard() local
293 for (i = 0; i < cn_len; ++i) { in x509_check_wildcard()
304 if (cn_len - cn_idx == name->len - 1 && in x509_check_wildcard()
2531 const char *cn, size_t cn_len) in x509_crt_check_cn() argument
2534 if (name->len == cn_len && in x509_crt_check_cn()
2535 x509_memcasecmp(cn, name->p, cn_len) == 0) { in x509_crt_check_cn()
2551 const char *cn, size_t cn_len) in x509_crt_check_san() argument
2558 return x509_crt_check_cn(name, cn, cn_len); in x509_crt_check_san()
2576 size_t cn_len = strlen(cn); in x509_crt_verify_name() local
2580 if (x509_crt_check_san(&cur->buf, cn, cn_len) == 0) { in x509_crt_verify_name()
2591 x509_crt_check_cn(&name->val, cn, cn_len) == 0) { in x509_crt_verify_name()