Home
last modified time | relevance | path

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

/external/openssh/
Dauth2-hostbased.c61 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()
131 xfree(pkalg); in userauth_hostbased()
Dauth2-pubkey.c72 char *pkalg; in userauth_pubkey() local
90 pkalg = buffer_get_string(&b, &alen); in userauth_pubkey()
93 pkalg = packet_get_string(&alen); in userauth_pubkey()
96 pktype = key_type_from_name(pkalg); in userauth_pubkey()
100 pkalg); in userauth_pubkey()
105 error("userauth_pubkey: cannot decode key: %s", pkalg); in userauth_pubkey()
134 buffer_put_cstring(&b, pkalg); in userauth_pubkey()
162 packet_put_string(pkalg, alen); in userauth_pubkey()
172 debug2("userauth_pubkey: authenticated %d pkalg %s", authenticated, pkalg); in userauth_pubkey()
175 xfree(pkalg); in userauth_pubkey()
Dssh-keysign.c69 char *pkalg, *p; in valid_request() local
102 pkalg = buffer_get_string(&b, NULL); in valid_request()
105 pktype = key_type_from_name(pkalg); in valid_request()
112 xfree(pkalg); in valid_request()
Dsshconnect2.c559 char *pkalg, *fp; in input_userauth_pk_ok() local
570 pkalg = buffer_get_string(&b, &alen); in input_userauth_pk_ok()
573 pkalg = packet_get_string(&alen); in input_userauth_pk_ok()
578 debug("Server accepts key: pkalg %s blen %u", pkalg, blen); in input_userauth_pk_ok()
580 if ((pktype = key_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok()
581 debug("unknown pkalg %s", pkalg); in input_userauth_pk_ok()
585 debug("no key from blob. pkalg %s", pkalg); in input_userauth_pk_ok()
612 xfree(pkalg); in input_userauth_pk_ok()
1657 char *chost, *pkalg, *p; in userauth_hostbased() local
1694 pkalg = xstrdup(key_ssh_name(private)); in userauth_hostbased()
[all …]