Home
last modified time | relevance | path

Searched refs:nprincipals (Results 1 – 6 of 6) sorted by relevance

/netbsd/crypto/external/bsd/openssh/dist/
H A Dsshsig.c829 struct sshbuf *nprincipals; in cert_filter_principals() local
836 if ((nprincipals = sshbuf_new()) == NULL) { in cert_filter_principals()
852 if ((r = sshbuf_putf(nprincipals, "%s%s", in cert_filter_principals()
853 sshbuf_len(nprincipals) != 0 ? "," : "", in cert_filter_principals()
861 if (sshbuf_len(nprincipals) == 0) { in cert_filter_principals()
874 sshbuf_free(nprincipals); in cert_filter_principals()
1070 size_t i, nprincipals = 0, linesize = 0; in sshsig_match_principals() local
1114 if (nprincipals == 0) in sshsig_match_principals()
1121 *nprincipalsp = nprincipals; in sshsig_match_principals()
1122 nprincipals = 0; in sshsig_match_principals()
[all …]
H A Dsshkey.c546 for (i = 0; i < cert->nprincipals; i++) in cert_free()
1424 if (from->nprincipals > SSHKEY_CERT_MAX_PRINCIPALS) { in sshkey_cert_copy()
1428 if (from->nprincipals > 0) { in sshkey_cert_copy()
1429 if ((to->principals = calloc(from->nprincipals, in sshkey_cert_copy()
1434 for (i = 0; i < from->nprincipals; i++) { in sshkey_cert_copy()
1437 to->nprincipals = i; in sshkey_cert_copy()
1443 to->nprincipals = from->nprincipals; in sshkey_cert_copy()
1782 key->cert->nprincipals, key->cert->nprincipals + 1, in cert_parse()
2202 for (i = 0; i < k->cert->nprincipals; i++) { in sshkey_certify_custom()
2297 if (k->cert->nprincipals == 0) { in sshkey_cert_check_authority()
[all …]
H A Dauth2-pubkeyfile.c164 for (i = 0; i < cert->nprincipals; i++) { in match_principals_option()
216 for (i = 0; i < cert->nprincipals; i++) { in auth_check_principals_line()
H A Dsshkey.h111 u_int nprincipals; member
H A Dssh-keygen.c1832 public->cert->nprincipals = n; in do_ca_sign()
2117 if (key->cert->nprincipals == 0) in print_cert()
2120 for (i = 0; i < key->cert->nprincipals; i++) in print_cert()
2908 size_t i, nprincipals = 0; in sig_match_principals() local
2914 &principals, &nprincipals)) != 0) { in sig_match_principals()
2919 for (i = 0; i < nprincipals; i++) { in sig_match_principals()
H A Dsshconnect.c1464 for (i = 0; i < host_key->cert->nprincipals; i++) { in verify_host_key()