Searched refs:pktype (Results 1 – 5 of 5) sorted by relevance
| /netbsd/src/crypto/external/bsd/openssh/dist/ |
| D | auth2-hostbased.c | 70 int r, pktype, authenticated = 0; in userauth_hostbased() local 86 pktype = sshkey_type_from_name(pkalg); in userauth_hostbased() 87 if (pktype == KEY_UNSPEC) { in userauth_hostbased() 101 if (key->type != pktype) { in userauth_hostbased() 103 "(received %d, expected %d)", key->type, pktype); in userauth_hostbased()
|
| D | ssh-keysign.c | 73 int r, pktype, fail; in valid_request() local 121 pktype = sshkey_type_from_name(pkalg); in valid_request() 122 if (pktype == KEY_UNSPEC) in valid_request() 127 } else if (key->type != pktype) in valid_request()
|
| D | auth2-pubkey.c | 105 int hostbound, r, pktype; in userauth_pubkey() local 145 pktype = sshkey_type_from_name(pkalg); in userauth_pubkey() 146 if (pktype == KEY_UNSPEC) { in userauth_pubkey() 159 if (key->type != pktype) { in userauth_pubkey() 161 "(received %d, expected %d)", key->type, pktype); in userauth_pubkey()
|
| D | sshconnect2.c | 719 int pktype, found = 0, sent = 0; in input_userauth_pk_ok() local 733 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok() 742 if (key->type != pktype) { in input_userauth_pk_ok() 745 key->type, pktype); in input_userauth_pk_ok()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| D | p_lib.c | 753 int pktype; in EVP_PKEY_assign() local 755 pktype = EVP_PKEY_type(type); in EVP_PKEY_assign() 756 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign() 766 if (curve == NID_sm2 && pktype == EVP_PKEY_EC) in EVP_PKEY_assign() 768 else if(curve != NID_sm2 && pktype == EVP_PKEY_SM2) in EVP_PKEY_assign()
|