Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dauth2-hostbased.c70 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()
H A Dssh-keysign.c73 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()
H A Dauth2-pubkey.c104 int hostbound, r, pktype; in userauth_pubkey() local
144 pktype = sshkey_type_from_name(pkalg); in userauth_pubkey()
145 if (pktype == KEY_UNSPEC) { in userauth_pubkey()
158 if (key->type != pktype) { in userauth_pubkey()
160 "(received %d, expected %d)", key->type, pktype); in userauth_pubkey()
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/statem/
H A Dstatem_lib.c315 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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/pem/
H A Dpvkfmt.c432 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()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/
H A Dp_lib.c753 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()
/netbsd-src/external/gpl2/texinfo/dist/util/
H A Ddir-example400 * pktype: (web2c)PKtype invocation. PK to human-readable text.