Searched refs:pktype (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.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)", __func__, key->type, pktype); in userauth_hostbased()
|
| H A D | ssh-keysign.c | 75 int r, pktype, fail; in valid_request() local 118 pktype = sshkey_type_from_name(pkalg); in valid_request() 119 if (pktype == KEY_UNSPEC) in valid_request() 124 } else if (key->type != pktype) in valid_request()
|
| H A D | auth2-pubkey.c | 97 int r, pktype; in userauth_pubkey() local 105 pktype = sshkey_type_from_name(pkalg); in userauth_pubkey() 106 if (pktype == KEY_UNSPEC) { in userauth_pubkey() 120 if (key->type != pktype) { in userauth_pubkey() 122 "(received %d, expected %d)", __func__, key->type, pktype); in userauth_pubkey()
|
| H A D | sshconnect2.c | 591 int pktype, sent = 0; in input_userauth_pk_ok() local 607 if ((pktype = sshkey_type_from_name(pkalg)) == KEY_UNSPEC) { in input_userauth_pk_ok() 615 if (key->type != pktype) { in input_userauth_pk_ok() 618 key->type, pktype); in input_userauth_pk_ok()
|
| /freebsd-12.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-12.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()
|