Lines Matching refs:nc
33 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc);
250 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc) in NAME_CONSTRAINTS_check() argument
264 sk_GENERAL_SUBTREE_num(nc->permittedSubtrees), in NAME_CONSTRAINTS_check()
265 sk_GENERAL_SUBTREE_num(nc->excludedSubtrees)) in NAME_CONSTRAINTS_check()
274 r = nc_match(&gntmp, nc); in NAME_CONSTRAINTS_check()
294 r = nc_match(&gntmp, nc); in NAME_CONSTRAINTS_check()
304 r = nc_match(gen, nc); in NAME_CONSTRAINTS_check()
409 int NAME_CONSTRAINTS_check_CN(X509 *x, NAME_CONSTRAINTS *nc) in NAME_CONSTRAINTS_check_CN() argument
443 r = nc_match(&gntmp, nc); in NAME_CONSTRAINTS_check_CN()
472 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc) in nc_match() argument
493 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->permittedSubtrees); i++) { in nc_match()
494 sub = sk_GENERAL_SUBTREE_value(nc->permittedSubtrees, i); in nc_match()
519 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->excludedSubtrees); i++) { in nc_match()
520 sub = sk_GENERAL_SUBTREE_value(nc->excludedSubtrees, i); in nc_match()