Home
last modified time | relevance | path

Searched refs:pkalg (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/ssh/sshd/
H A Dauth2-hostbased.c62 char *pkalg, *cuser, *chost, *service; in userauth_hostbased() local
71 pkalg = packet_get_string(&alen); in userauth_hostbased()
78 cuser, chost, pkalg, slen); in userauth_hostbased()
86 pktype = key_type_from_name(pkalg); in userauth_hostbased()
90 "public key algorithm: %s", pkalg); in userauth_hostbased()
95 error("userauth_hostbased: cannot decode key: %s", pkalg); in userauth_hostbased()
112 buffer_put_string(&b, pkalg, alen); in userauth_hostbased()
152 xfree(pkalg); in userauth_hostbased()
H A Dauth2-pubkey.c62 char *pkalg; in userauth_pubkey() local
79 pkalg = buffer_get_string(&b, &alen); in userauth_pubkey()
82 pkalg = packet_get_string(&alen); in userauth_pubkey()
85 pktype = key_type_from_name(pkalg); in userauth_pubkey()
89 pkalg); in userauth_pubkey()
94 error("userauth_pubkey: cannot decode key: %s", pkalg); in userauth_pubkey()
148 buffer_put_cstring(&b, pkalg); in userauth_pubkey()
177 packet_put_string(pkalg, alen); in userauth_pubkey()
206 debug2("userauth_pubkey: authenticated %d pkalg %s", authenticated, pkalg); in userauth_pubkey()
209 xfree(pkalg); in userauth_pubkey()
/titanic_41/usr/src/cmd/ssh/ssh-keysign/
H A Dssh-keysign.c71 char *pkalg, *p; in valid_request() local
104 pkalg = buffer_get_string(&b, NULL); in valid_request()
107 pktype = key_type_from_name(pkalg); in valid_request()
114 xfree(pkalg); in valid_request()
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dsshconnect2.c476 char *pkalg, *fp; in input_userauth_pk_ok() local
487 pkalg = buffer_get_string(&b, &alen); in input_userauth_pk_ok()
490 pkalg = packet_get_string(&alen); in input_userauth_pk_ok()
496 pkalg, blen, authctxt->last_key, authctxt->last_key_hint); in input_userauth_pk_ok()
504 if ((pktype = key_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok()
505 debug("unknown pkalg %s", pkalg); in input_userauth_pk_ok()
509 debug("no key from blob. pkalg %s", pkalg); in input_userauth_pk_ok()
531 xfree(pkalg); in input_userauth_pk_ok()
1491 char *chost, *pkalg, *p; in userauth_hostbased() local
1526 pkalg = xstrdup(key_ssh_name(private)); in userauth_hostbased()
[all …]