Home | History | Annotate | Download | only in x509v3

Lines Matching refs:nc

81 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc);
231 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc)
244 size_t constraint_count = sk_GENERAL_SUBTREE_num(nc->permittedSubtrees) +
245 sk_GENERAL_SUBTREE_num(nc->excludedSubtrees);
248 constraint_count < sk_GENERAL_SUBTREE_num(nc->permittedSubtrees) ||
259 r = nc_match(&gntmp, nc);
278 r = nc_match(&gntmp, nc);
288 r = nc_match(gen, nc);
297 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc)
308 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->permittedSubtrees); i++) {
309 sub = sk_GENERAL_SUBTREE_value(nc->permittedSubtrees, i);
331 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->excludedSubtrees); i++) {
332 sub = sk_GENERAL_SUBTREE_value(nc->excludedSubtrees, i);