Home
last modified time | relevance | path

Searched refs:pktype (Results 1 – 5 of 5) sorted by relevance

/external/openssh/
Dauth2-hostbased.c69 int r, pktype, authenticated = 0; in userauth_hostbased() local
85 pktype = sshkey_type_from_name(pkalg); in userauth_hostbased()
86 if (pktype == KEY_UNSPEC) { in userauth_hostbased()
100 if (key->type != pktype) { in userauth_hostbased()
102 "(received %d, expected %d)", __func__, key->type, pktype); in userauth_hostbased()
Dssh-keysign.c74 int r, pktype, fail; in valid_request() local
117 pktype = sshkey_type_from_name(pkalg); in valid_request()
118 if (pktype == KEY_UNSPEC) in valid_request()
123 } else if (key->type != pktype) in valid_request()
Dauth2-pubkey.c99 int r, pktype; in userauth_pubkey() local
124 pktype = sshkey_type_from_name(pkalg); in userauth_pubkey()
125 if (pktype == KEY_UNSPEC) { in userauth_pubkey()
139 if (key->type != pktype) { in userauth_pubkey()
141 "(received %d, expected %d)", __func__, key->type, pktype); in userauth_pubkey()
Dsshconnect2.c646 int pktype, found = 0, sent = 0; in input_userauth_pk_ok() local
660 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok()
668 if (key->type != pktype) { in input_userauth_pk_ok()
671 key->type, pktype); in input_userauth_pk_ok()
/external/curl/lib/vtls/
Dopenssl.c1044 int pktype; in cert_stuff() local
1046 pktype = EVP_PKEY_id(priv_key); in cert_stuff()
1048 pktype = priv_key->type; in cert_stuff()
1050 if(pktype == EVP_PKEY_RSA) { in cert_stuff()
3554 int pktype; in get_cert_chain() local
3556 pktype = EVP_PKEY_id(pubkey); in get_cert_chain()
3558 pktype = pubkey->type; in get_cert_chain()
3560 switch(pktype) { in get_cert_chain()