Searched refs:pkalg (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/crypto/openssh/ |
| H A D | auth2-hostbased.c | 65 char *pkalg, *cuser, *chost; in userauth_hostbased() local 71 if ((r = sshpkt_get_cstring(ssh, &pkalg, &alen)) != 0 || in userauth_hostbased() 79 cuser, chost, pkalg, slen); in userauth_hostbased() 84 pktype = sshkey_type_from_name(pkalg); in userauth_hostbased() 88 __func__, pkalg); in userauth_hostbased() 96 error("%s: cannot decode key: %s", __func__, pkalg); in userauth_hostbased() 110 if (match_pattern_list(pkalg, options.hostbased_key_types, 0) != 1) { in userauth_hostbased() 129 (r = sshbuf_put_string(b, pkalg, alen)) != 0 || in userauth_hostbased() 145 sshbuf_ptr(b), sshbuf_len(b), pkalg, ssh->compat)) == 0) in userauth_hostbased() 153 free(pkalg); in userauth_hostbased()
|
| H A D | auth2-pubkey.c | 94 char *pkalg = NULL, *userstyle = NULL, *key_s = NULL, *ca_s = NULL; in userauth_pubkey() local 102 (r = sshpkt_get_cstring(ssh, &pkalg, NULL)) != 0 || in userauth_pubkey() 105 pktype = sshkey_type_from_name(pkalg); in userauth_pubkey() 109 __func__, pkalg); in userauth_pubkey() 117 error("%s: cannot decode key: %s", __func__, pkalg); in userauth_pubkey() 147 __func__, pkalg, key_s, in userauth_pubkey() 180 (r = sshbuf_put_cstring(b, pkalg) != 0) || in userauth_pubkey() 192 (ssh->compat & SSH_BUG_SIGTYPE) == 0 ? pkalg : NULL, in userauth_pubkey() 199 __func__, pkalg, key_s, in userauth_pubkey() 222 (r = sshpkt_put_cstring(ssh, pkalg)) != 0 || in userauth_pubkey() [all …]
|
| H A D | ssh-keysign.c | 74 char *pkalg, *luser; in valid_request() local 114 if ((r = sshbuf_get_cstring(b, &pkalg, NULL)) != 0 || in valid_request() 118 pktype = sshkey_type_from_name(pkalg); in valid_request() 126 free(pkalg); in valid_request()
|
| H A D | sshconnect2.c | 593 char *pkalg = NULL, *fp; in input_userauth_pk_ok() local 600 if ((r = sshpkt_get_cstring(ssh, &pkalg, NULL)) != 0 || in input_userauth_pk_ok() 605 debug("Server accepts key: pkalg %s blen %zu", pkalg, blen); in input_userauth_pk_ok() 607 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok() 608 debug("unknown pkalg %s", pkalg); in input_userauth_pk_ok() 612 debug("no key from blob. pkalg %s: %s", pkalg, ssh_err(r)); in input_userauth_pk_ok() 641 free(pkalg); in input_userauth_pk_ok()
|