/external/openssl/crypto/asn1/ |
d2i_pr.c | 143 int keytype; local 155 keytype = EVP_PKEY_DSA; 157 keytype = EVP_PKEY_EC; 158 else keytype = EVP_PKEY_RSA; 160 return d2i_PrivateKey(keytype, a, pp, length);
|
/external/dropbear/ |
dropbearconvert.c | 114 char * keytype = NULL; local 126 keytype = "RSA"; 131 keytype = "DSS"; 135 fprintf(stderr, "Key is a %s key\n", keytype);
|
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);
|
cli-runopts.c | 299 int keytype; local 302 keytype = DROPBEAR_SIGNKEY_ANY; 303 if ( readhostkey(filename, key, &keytype) != DROPBEAR_SUCCESS ) { 313 nextkey->type = keytype;
|
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 [all...] |
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...] |
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 == DROPBEAR_SIGNKEY_RSA) [all...] |
/external/openssl/apps/ |
pkcs12.c | 119 int keytype = 0; local 156 else if (!strcmp (*args, "-keyex")) keytype = KEY_EX; 157 else if (!strcmp (*args, "-keysig")) keytype = KEY_SIG; 606 key_pbe, cert_pbe, iter, -1, keytype);
|