Lines Matching refs:cn_len
286 size_t cn_idx = 0, cn_len = strlen( cn ); in x509_check_wildcard() local
292 for( i = 0; i < cn_len; ++i ) in x509_check_wildcard()
304 if( cn_len - cn_idx == name->len - 1 && in x509_check_wildcard()
2981 const char *cn, size_t cn_len ) in x509_crt_check_cn() argument
2984 if( name->len == cn_len && in x509_crt_check_cn()
2985 x509_memcasecmp( cn, name->p, cn_len ) == 0 ) in x509_crt_check_cn()
3003 const char *cn, size_t cn_len ) in x509_crt_check_san() argument
3010 return( x509_crt_check_cn( name, cn, cn_len ) ); in x509_crt_check_san()
3027 size_t cn_len = strlen( cn ); in x509_crt_verify_name() local
3033 if( x509_crt_check_san( &cur->buf, cn, cn_len ) == 0 ) in x509_crt_verify_name()
3045 x509_crt_check_cn( &name->val, cn, cn_len ) == 0 ) in x509_crt_verify_name()