Searched refs:pkalg (Results 1 – 4 of 4) sorted by relevance
/external/openssh/ |
D | auth2-hostbased.c | 63 char *pkalg, *cuser, *chost, *service; in userauth_hostbased() local 73 pkalg = packet_get_string(&alen); in userauth_hostbased() 80 cuser, chost, pkalg, slen); in userauth_hostbased() 88 pktype = key_type_from_name(pkalg); in userauth_hostbased() 92 "public key algorithm: %s", pkalg); in userauth_hostbased() 97 error("userauth_hostbased: cannot decode key: %s", pkalg); in userauth_hostbased() 127 buffer_put_string(&b, pkalg, alen); in userauth_hostbased() 150 free(pkalg); in userauth_hostbased()
|
D | ssh-keysign.c | 79 char *pkalg, *luser; in valid_request() local 119 if ((r = sshbuf_get_cstring(b, &pkalg, NULL)) != 0 || in valid_request() 123 pktype = sshkey_type_from_name(pkalg); in valid_request() 131 free(pkalg); in valid_request()
|
D | auth2-pubkey.c | 82 char *pkalg, *userstyle, *fp = NULL; in userauth_pubkey() local 100 pkalg = buffer_get_string(&b, &alen); in userauth_pubkey() 103 pkalg = packet_get_string(&alen); in userauth_pubkey() 106 pktype = key_type_from_name(pkalg); in userauth_pubkey() 110 __func__, pkalg); in userauth_pubkey() 115 error("%s: cannot decode key: %s", __func__, pkalg); in userauth_pubkey() 168 buffer_put_cstring(&b, pkalg); in userauth_pubkey() 203 packet_put_string(pkalg, alen); in userauth_pubkey() 213 debug2("%s: authenticated %d pkalg %s", __func__, authenticated, pkalg); in userauth_pubkey() 216 free(pkalg); in userauth_pubkey()
|
D | sshconnect2.c | 582 char *pkalg, *fp; in input_userauth_pk_ok() local 593 pkalg = buffer_get_string(&b, &alen); in input_userauth_pk_ok() 596 pkalg = packet_get_string(&alen); in input_userauth_pk_ok() 601 debug("Server accepts key: pkalg %s blen %u", pkalg, blen); in input_userauth_pk_ok() 603 if ((pktype = key_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok() 604 debug("unknown pkalg %s", pkalg); in input_userauth_pk_ok() 608 debug("no key from blob. pkalg %s", pkalg); in input_userauth_pk_ok() 637 free(pkalg); in input_userauth_pk_ok()
|