/external/openssl/crypto/asn1/ |
H A D | d2i_pr.c | 135 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/dropbear/ |
H A D | cli-authpubkey.c | 67 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 D | dropbearconvert.c | 114 char * keytype = NULL; local 126 keytype = "RSA"; 131 keytype = "DSS"; 135 fprintf(stderr, "Key is a %s key\n", keytype);
|
H A D | cli-runopts.c | 299 int keytype; local 302 keytype = DROPBEAR_SIGNKEY_ANY; 303 if ( readhostkey(filename, key, &keytype) != DROPBEAR_SUCCESS ) { 313 nextkey->type = keytype;
|
H A D | dropbearkey.c | 61 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 D | signkey.c | 94 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 D | keyimport.c | 143 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/pkcs12/ |
H A D | p12_crt.c | 81 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
|
/external/dbus/tools/ |
H A D | dbus-send.c | 162 append_dict (DBusMessageIter *iter, int keytype, int valtype, const char *value) argument 177 append_arg (&subiter, keytype, val);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
H A D | KnownHosts.java | 925 * @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/openssh/ |
H A D | hostfile.c | 364 * 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 D | ssh-keyscan.c | 322 conalloc(char *iname, char *oname, int keytype) argument 351 fdcon[s].c_keytype = keytype;
|
/external/openssl/crypto/evp/ |
H A D | pmeth_lib.c | 384 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, argument 393 if ((keytype != -1) && (ctx->pmeth->pkey_id != keytype))
|
/external/openssl/apps/ |
H A D | pkcs12.c | 114 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/ssl/ |
H A D | s3_clnt.c | 2755 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;
|