Searched refs:pktype (Results 1 – 6 of 6) sorted by relevance
| /src/crypto/openssh/ |
| H A D | auth2-hostbased.c | 68 int r, pktype, authenticated = 0; in userauth_hostbased() local 84 pktype = sshkey_type_from_name(pkalg); in userauth_hostbased() 85 if (pktype == KEY_UNSPEC) { in userauth_hostbased() 99 if (key->type != pktype) { in userauth_hostbased() 101 "(received %d, expected %d)", key->type, pktype); in userauth_hostbased()
|
| H A D | ssh-keysign.c | 74 int r, pktype, fail; in valid_request() local 122 pktype = sshkey_type_from_name(pkalg); in valid_request() 123 if (pktype == KEY_UNSPEC) in valid_request() 128 } else if (key->type != pktype) in valid_request()
|
| H A D | auth2-pubkey.c | 103 int hostbound, r, pktype; in userauth_pubkey() local 143 pktype = sshkey_type_from_name(pkalg); in userauth_pubkey() 144 if (pktype == KEY_UNSPEC) { in userauth_pubkey() 157 if (key->type != pktype) { in userauth_pubkey() 159 "(received %d, expected %d)", key->type, pktype); in userauth_pubkey()
|
| H A D | sshconnect2.c | 686 int pktype, found = 0, sent = 0; in input_userauth_pk_ok() local 700 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok() 709 if (key->type != pktype) { in input_userauth_pk_ok() 712 key->type, pktype); in input_userauth_pk_ok()
|
| /src/crypto/openssl/ssl/statem/ |
| H A D | statem_lib.c | 412 int pktype = lu->sig; in tls_construct_cert_verify() local 414 if (pktype == NID_id_GostR3410_2001 in tls_construct_cert_verify() 415 || pktype == NID_id_GostR3410_2012_256 in tls_construct_cert_verify() 416 || pktype == NID_id_GostR3410_2012_512) in tls_construct_cert_verify() 549 int pktype = EVP_PKEY_get_id(pkey); in tls_process_cert_verify() local 550 if (pktype == NID_id_GostR3410_2001 in tls_process_cert_verify() 551 || pktype == NID_id_GostR3410_2012_256 in tls_process_cert_verify() 552 || pktype == NID_id_GostR3410_2012_512) { in tls_process_cert_verify()
|
| /src/crypto/openssl/crypto/evp/ |
| H A D | p_lib.c | 789 int pktype; in EVP_PKEY_assign() local 791 pktype = EVP_PKEY_type(type); in EVP_PKEY_assign() 792 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign() 802 if (curve == NID_sm2 && pktype == EVP_PKEY_EC) in EVP_PKEY_assign() 804 else if (curve != NID_sm2 && pktype == EVP_PKEY_SM2) in EVP_PKEY_assign()
|