Home
last modified time | relevance | path

Searched refs:keytype (Results 1 – 13 of 13) sorted by relevance

/dragonfly/crypto/libressl/crypto/asn1/
H A Da_pkey.c150 int keytype; in d2i_AutoPrivateKey() local
162 keytype = EVP_PKEY_DSA; in d2i_AutoPrivateKey()
164 keytype = EVP_PKEY_EC; in d2i_AutoPrivateKey()
183 keytype = EVP_PKEY_RSA; in d2i_AutoPrivateKey()
185 return d2i_PrivateKey(keytype, a, pp, length); in d2i_AutoPrivateKey()
/dragonfly/crypto/openssh/
H A Dhostfile.c351 struct sshkey *k, int keytype, int nid, const struct hostkey_entry **found) in check_hostkeys_by_key_or_type() argument
365 if (hostkeys->entries[i].key->type != keytype) in check_hostkeys_by_key_or_type()
368 sshkey_type_plain(keytype) == KEY_ECDSA && in check_hostkeys_by_key_or_type()
417 lookup_key_in_hostkeys_by_type(struct hostkeys *hostkeys, int keytype, int nid, in lookup_key_in_hostkeys_by_type() argument
420 return (check_hostkeys_by_key_or_type(hostkeys, NULL, keytype, nid, in lookup_key_in_hostkeys_by_type()
779 lineinfo.keytype = KEY_UNSPEC; in hostkeys_foreach_file()
868 lineinfo.keytype = lineinfo.key->type; in hostkeys_foreach_file()
878 lineinfo.keytype = sshkey_type_from_name(ktype); in hostkeys_foreach_file()
884 if (lineinfo.keytype == KEY_UNSPEC && l < 8 && in hostkeys_foreach_file()
899 lineinfo.keytype = KEY_UNSPEC; in hostkeys_foreach_file()
[all …]
H A Dhostfile.h100 int keytype; /* Type of key; KEY_UNSPEC for invalid/comment lines */ member
H A Dssh-keyscan.c387 conalloc(char *iname, char *oname, int keytype) in conalloc() argument
407 debug3_f("oname %s kt %d", oname, keytype); in conalloc()
417 fdcon[s].c_keytype = keytype; in conalloc()
H A Dsshkey.c97 struct keytype { struct
106 static const struct keytype keytypes[] = { argument
171 const struct keytype *kt; in sshkey_type()
183 const struct keytype *kt; in sshkey_ssh_name_from_type_nid()
195 const struct keytype *kt; in sshkey_type_is_cert()
220 const struct keytype *kt; in sshkey_type_from_name()
247 const struct keytype *kt; in sshkey_ecdsa_nid_from_name()
286 const struct keytype *kt; in sshkey_alg_list()
313 const struct keytype *kt; in sshkey_names_valid2()
1322 const struct keytype *kt; in peek_type_nid()
[all …]
H A Dsshd.c1554 int keytype; local
1886 keytype = pubkey->type;
1888 keytype = key->type;
1898 switch (keytype) {
/dragonfly/crypto/libressl/crypto/pkcs12/
H A Dp12_crt.c87 int keytype) in PKCS12_create() argument
140 bag = PKCS12_add_key(&bags, pkey, keytype, iter, nid_key, pass); in PKCS12_create()
/dragonfly/crypto/libressl/crypto/evp/
H A Dpmeth_lib.c356 EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, int cmd, in EVP_PKEY_CTX_ctrl() argument
365 if ((keytype != -1) && (ctx->pmeth->pkey_id != keytype)) in EVP_PKEY_CTX_ctrl()
/dragonfly/lib/libtelnet/
H A Dkerberos5.c456 if(key_block->keytype == ETYPE_DES_CBC_MD5 || in kerberos5_is()
457 key_block->keytype == ETYPE_DES_CBC_MD4 || in kerberos5_is()
458 key_block->keytype == ETYPE_DES_CBC_CRC) { in kerberos5_is()
/dragonfly/crypto/libressl/apps/openssl/
H A Dpkcs12.c107 int keytype; member
368 .opt.value = &pkcs12_config.keytype,
382 .opt.value = &pkcs12_config.keytype,
744 pkcs12_config.iter, -1, pkcs12_config.keytype); in pkcs12_main()
/dragonfly/crypto/libressl/include/openssl/
H A Dpkcs12.h267 int mac_iter, int keytype);
H A Devp.h1042 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, int cmd,
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_write_set_format_iso9660.c4005 enum keytype { enum
4013 enum keytype type, ...) in set_option_info()