Searched refs:keytype (Results 1 - 22 of 22) sorted by relevance

/external/dropbear/
H A Ddropbearkey.c61 static void printpubkey(sign_key * key, int keytype);
97 int keytype = -1; local
168 keytype = DROPBEAR_SIGNKEY_RSA;
174 keytype = DROPBEAR_SIGNKEY_DSS;
179 if (keytype == -1) {
199 if (keytype == DROPBEAR_SIGNKEY_DSS) {
201 } else if (keytype == DROPBEAR_SIGNKEY_RSA) {
219 switch(keytype) {
237 buf_put_priv_key(buf, key, keytype);
244 printpubkey(key, keytype);
256 int keytype; local
293 printpubkey(sign_key * key, int keytype) argument
[all...]
H A Ddropbearconvert.c114 char * keytype = NULL; local
126 keytype = "RSA";
131 keytype = "DSS";
135 fprintf(stderr, "Key is a %s key\n", keytype);
H A Dsignkey.c94 int keytype; local
100 keytype = signkey_type_from_name(ident, len);
103 if (*type != DROPBEAR_SIGNKEY_ANY && *type != keytype) {
107 *type = keytype;
113 if (keytype == DROPBEAR_SIGNKEY_DSS) {
123 if (keytype == DROPBEAR_SIGNKEY_RSA) {
146 int keytype; local
152 keytype = signkey_type_from_name(ident, len);
155 if (*type != DROPBEAR_SIGNKEY_ANY && *type != keytype) {
156 TRACE(("wrong key type: %d %d", *type, keytype))
[all...]
H A Dcli-authpubkey.c67 int keytype; local
73 keytype = signkey_type_from_name(algotype, algolen);
74 TRACE(("recv_msg_userauth_pk_ok: type %d", keytype))
85 if (keyitem->type != keytype) {
93 buf_put_pub_key(keybuf, keyitem->key, keytype);
121 send_msg_userauth_pubkey(keyitem->key, keytype, 1);
H A Dcli-runopts.c299 int keytype; local
302 keytype = DROPBEAR_SIGNKEY_ANY;
303 if ( readhostkey(filename, key, &keytype) != DROPBEAR_SUCCESS ) {
313 nextkey->type = keytype;
H A Dkeyimport.c143 int keytype = -1; local
151 keytype = DROPBEAR_SIGNKEY_RSA;
156 keytype = DROPBEAR_SIGNKEY_DSS;
161 buf_put_priv_key(buf, key, keytype);
707 int keytype = -1; local
713 keytype = DROPBEAR_SIGNKEY_RSA;
718 keytype = DROPBEAR_SIGNKEY_DSS;
722 dropbear_assert(keytype != -1);
728 buf_put_priv_key(keyblob, key, keytype);
741 if (keytype
[all...]
/external/openssl/crypto/asn1/
H A Dd2i_pr.c135 int keytype; local
146 keytype = EVP_PKEY_DSA;
148 keytype = EVP_PKEY_EC;
167 else keytype = EVP_PKEY_RSA;
169 return d2i_PrivateKey(keytype, a, pp, length);
/external/webkit/Source/WebCore/html/
H A DHTMLKeygenElement.idl38 attribute [Reflect] DOMString keytype;
/external/openssh/
H A Dhostfile.c364 * If looking for a keytype (key == NULL) and one is found then return
378 Key *k, int keytype, const struct hostkey_entry **found)
384 int proto = (k ? k->type : keytype) == KEY_RSA1 ? 1 : 2;
397 if (hostkeys->entries[i].key->type != keytype)
445 lookup_key_in_hostkeys_by_type(struct hostkeys *hostkeys, int keytype, argument
448 return (check_hostkeys_by_key_or_type(hostkeys, NULL, keytype,
377 check_hostkeys_by_key_or_type(struct hostkeys *hostkeys, Key *k, int keytype, const struct hostkey_entry **found) argument
H A Dssh-keyscan.c322 conalloc(char *iname, char *oname, int keytype) argument
351 fdcon[s].c_keytype = keytype;
/external/openssl/crypto/pkcs12/
H A Dp12_crt.c81 int keytype)
138 bag = PKCS12_add_key(&bags, pkey, keytype, iter, nid_key, pass);
79 PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter, int mac_iter, int keytype) argument
H A Dpkcs12.h249 int mac_iter, int keytype);
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
H A DKnownHosts.java925 * @param keytype either "ssh-rsa" or "ssh-dss"
929 public static String createHexFingerprint(String keytype, byte[] publickey) argument
931 byte[] raw = rawFingerPrint("md5", keytype, publickey);
942 * @param keytype either "ssh-rsa" or "ssh-dss"
946 public static String createBubblebabbleFingerprint(String keytype, byte[] publickey) argument
948 byte[] raw = rawFingerPrint("sha1", keytype, publickey);
/external/openssl/crypto/evp/
H A Dpmeth_lib.c384 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, argument
393 if ((keytype != -1) && (ctx->pmeth->pkey_id != keytype))
H A Devp.h1127 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
/external/dbus/tools/
H A Ddbus-send.c162 append_dict (DBusMessageIter *iter, int keytype, int valtype, const char *value) argument
177 append_arg (&subiter, keytype, val);
/external/openssh/regress/
H A DMakefile56 keytype \
/external/openssl/apps/
H A Dpkcs12.c114 int keytype = 0; local
145 else if (!strcmp (*args, "-keyex")) keytype = KEY_EX;
146 else if (!strcmp (*args, "-keysig")) keytype = KEY_SIG;
584 key_pbe, cert_pbe, iter, -1, keytype);
/external/openssl/include/openssl/
H A Dpkcs12.h249 int mac_iter, int keytype);
H A Devp.h1127 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
/external/openssl/ssl/
H A Dkssl.c1008 printf("%s\n\t[et%d:%d]: ", label, keyblk->keytype,
1136 kssl_ctx->enctype = krb5credsp->session.keytype;
1707 enctype = session->keytype;
H A Ds3_clnt.c2755 int keytype; local
2761 peer_cert=s->session->sess_cert->peer_pkeys[(keytype=SSL_PKEY_GOST01)].x509;
2763 peer_cert=s->session->sess_cert->peer_pkeys[(keytype=SSL_PKEY_GOST94)].x509;

Completed in 487 milliseconds