Searched refs:pktype (Results 1 – 6 of 6) sorted by relevance
| /freebsd-13.1/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 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()
|
| H A D | auth2-pubkey.c | 98 int r, pktype; in userauth_pubkey() local 123 pktype = sshkey_type_from_name(pkalg); in userauth_pubkey() 124 if (pktype == KEY_UNSPEC) { in userauth_pubkey() 137 if (key->type != pktype) { in userauth_pubkey() 139 "(received %d, expected %d)", key->type, pktype); in userauth_pubkey()
|
| H A D | sshconnect2.c | 706 int pktype, found = 0, sent = 0; in input_userauth_pk_ok() local 720 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok() 728 if (key->type != pktype) { in input_userauth_pk_ok() 731 key->type, pktype); in input_userauth_pk_ok()
|
| /freebsd-13.1/crypto/openssl/ssl/statem/ |
| H A D | statem_lib.c | 315 int pktype = lu->sig; in tls_construct_cert_verify() local 317 if (pktype == NID_id_GostR3410_2001 in tls_construct_cert_verify() 318 || pktype == NID_id_GostR3410_2012_256 in tls_construct_cert_verify() 319 || pktype == NID_id_GostR3410_2012_512) in tls_construct_cert_verify() 463 int pktype = EVP_PKEY_id(pkey); in tls_process_cert_verify() local 464 if (pktype == NID_id_GostR3410_2001 in tls_process_cert_verify() 465 || pktype == NID_id_GostR3410_2012_256 in tls_process_cert_verify() 466 || pktype == NID_id_GostR3410_2012_512) { in tls_process_cert_verify()
|
| /freebsd-13.1/crypto/openssl/crypto/pem/ |
| H A D | pvkfmt.c | 432 int pktype = EVP_PKEY_id(pk); in do_i2b() local 433 if (pktype == EVP_PKEY_DSA) { in do_i2b() 436 } else if (pktype == EVP_PKEY_RSA) { in do_i2b()
|