Searched refs:pkalg (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/crypto/openssh/ |
| H A D | auth2-hostbased.c | 64 char *pkalg, *cuser, *chost; in userauth_hostbased() local 70 if ((r = sshpkt_get_cstring(ssh, &pkalg, &alen)) != 0 || in userauth_hostbased() 78 cuser, chost, pkalg, slen); in userauth_hostbased() 83 pktype = sshkey_type_from_name(pkalg); in userauth_hostbased() 87 pkalg); in userauth_hostbased() 95 error_f("cannot decode key: %s", pkalg); in userauth_hostbased() 103 if (match_pattern_list(pkalg, options.hostbased_accepted_algos, 0) != 1) { in userauth_hostbased() 105 "HostbasedAcceptedAlgorithms", pkalg); in userauth_hostbased() 134 (r = sshbuf_put_string(b, pkalg, alen)) != 0 || in userauth_hostbased() 151 sshbuf_ptr(b), sshbuf_len(b), pkalg, ssh->compat, NULL)) == 0) in userauth_hostbased() [all …]
|
| H A D | ssh-keysign.c | 73 char *pkalg, *luser; in valid_request() local 118 if ((r = sshbuf_get_cstring(b, &pkalg, NULL)) != 0 || in valid_request() 122 pktype = sshkey_type_from_name(pkalg); in valid_request() 164 *pkalgp = pkalg; in valid_request() 165 pkalg = NULL; in valid_request() 169 free(pkalg); in valid_request() 185 char *host, *fp, *pkalg; in main() local 278 if (valid_request(pw, host, &key, &pkalg, data, dlen) < 0) in main() 299 pkalg, NULL, NULL, 0)) != 0) in main()
|
| H A D | auth2-pubkey.c | 105 (r = sshpkt_get_cstring(ssh, &pkalg, NULL)) != 0 || in userauth_pubkey() 132 have_sig ? "attempting" : "querying", pkalg, keystring); in userauth_pubkey() 137 pktype = sshkey_type_from_name(pkalg); in userauth_pubkey() 140 verbose_f("unsupported public key algorithm: %s", pkalg); in userauth_pubkey() 148 error_f("cannot decode key: %s", pkalg); in userauth_pubkey() 162 "PubkeyAcceptedAlgorithms", pkalg); in userauth_pubkey() 183 method, pkalg, key_s, in userauth_pubkey() 211 (r = sshbuf_put_cstring(b, pkalg)) != 0 || in userauth_pubkey() 225 (ssh->compat & SSH_BUG_SIGTYPE) == 0 ? pkalg : NULL, in userauth_pubkey() 287 (r = sshpkt_put_cstring(ssh, pkalg)) != 0 || in userauth_pubkey() [all …]
|
| H A D | sshconnect2.c | 689 char *pkalg = NULL, *fp = NULL, *ident = NULL; in input_userauth_pk_ok() local 696 if ((r = sshpkt_get_cstring(ssh, &pkalg, NULL)) != 0 || in input_userauth_pk_ok() 701 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok() 702 debug_f("server sent unknown pkalg %s", pkalg); in input_userauth_pk_ok() 707 debug_r(r, "no key from blob. pkalg %s", pkalg); in input_userauth_pk_ok() 745 free(pkalg); in input_userauth_pk_ok()
|
| H A D | ssh-agent.c | 710 char *user = NULL, *service = NULL, *method = NULL, *pkalg = NULL; in parse_userauth_request() local 736 (r = sshbuf_get_cstring(b, &pkalg, NULL)) != 0 || /* alg */ in parse_userauth_request() 743 sshkey_type_from_name(pkalg) != expected_key->type) { in parse_userauth_request() 779 free(pkalg); in parse_userauth_request()
|
| H A D | PROTOCOL | 439 string pkalg
|