/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
H A D | pem_pkey.c | 124 const EVP_PKEY_ASN1_METHOD *ameth; local 125 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen); 126 if (!ameth || !ameth->old_priv_decode) 128 ret=d2i_PrivateKey(ameth->pkey_id,x,&p,len); 145 if (!x->ameth || x->ameth->priv_encode) 150 BIO_snprintf(pem_str, 80, "%s PRIVATE KEY", x->ameth->pem_str); 175 || !ret->ameth->param_decode 176 || !ret->ameth [all...] |
H A D | pem_lib.c | 195 const EVP_PKEY_ASN1_METHOD *ameth; local 207 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen); 208 if (ameth && ameth->old_priv_decode) 217 const EVP_PKEY_ASN1_METHOD *ameth; local 222 ameth = EVP_PKEY_asn1_find_str(&e, nm, slen); 223 if (ameth) 226 if (ameth->param_decode)
|
/external/openssl/crypto/pem/ |
H A D | pem_pkey.c | 124 const EVP_PKEY_ASN1_METHOD *ameth; local 125 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen); 126 if (!ameth || !ameth->old_priv_decode) 128 ret=d2i_PrivateKey(ameth->pkey_id,x,&p,len); 145 if (!x->ameth || x->ameth->priv_encode) 150 BIO_snprintf(pem_str, 80, "%s PRIVATE KEY", x->ameth->pem_str); 175 || !ret->ameth->param_decode 176 || !ret->ameth [all...] |
H A D | pem_lib.c | 195 const EVP_PKEY_ASN1_METHOD *ameth; local 207 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen); 208 if (ameth && ameth->old_priv_decode) 217 const EVP_PKEY_ASN1_METHOD *ameth; local 222 ameth = EVP_PKEY_asn1_find_str(&e, nm, slen); 223 if (ameth) 226 if (ameth->param_decode)
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
H A D | genpkey.c | 367 const EVP_PKEY_ASN1_METHOD *ameth; local 377 ameth = EVP_PKEY_asn1_find_str(&tmpeng, algname, -1); 380 if (!ameth && e) 381 ameth = ENGINE_get_pkey_asn1_meth_str(e, algname, -1); 384 if (!ameth) 392 EVP_PKEY_asn1_get0_info(&pkey_id, NULL, NULL, NULL, NULL, ameth);
|
H A D | dgst.c | 511 const EVP_PKEY_ASN1_METHOD *ameth; local 512 ameth = EVP_PKEY_get0_asn1(sigkey); 513 if (ameth) 515 NULL, NULL, &sig_name, ameth);
|
H A D | openssl.c | 632 const EVP_PKEY_ASN1_METHOD *ameth; local 635 ameth = EVP_PKEY_asn1_get0(i); 637 &pinfo, &pem_str, ameth);
|
H A D | req.c | 1621 const EVP_PKEY_ASN1_METHOD *ameth; local 1631 ameth = EVP_PKEY_asn1_find_str(&tmpeng, gstr, len); 1633 if (!ameth) 1640 ameth); 1700 const EVP_PKEY_ASN1_METHOD *ameth; local 1703 ameth = EVP_PKEY_asn1_find(&tmpeng, *pkey_type); 1704 if (!ameth) 1709 EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &anam, ameth);
|
/external/chromium_org/third_party/openssl/openssl/crypto/engine/ |
H A D | tb_asnmth.c | 182 EVP_PKEY_ASN1_METHOD *ameth; local 190 e->pkey_asn1_meths(e, &ameth, NULL, nids[i]); 191 if (((int)strlen(ameth->pem_str) == len) && 192 !strncasecmp(ameth->pem_str, str, len)) 193 return ameth; 201 const EVP_PKEY_ASN1_METHOD *ameth; member in struct:__anon13140 210 if (lk->ameth) 215 EVP_PKEY_ASN1_METHOD *ameth; local 216 e->pkey_asn1_meths(e, &ameth, NULL, nid); 217 if (((int)strlen(ameth [all...] |
/external/openssl/apps/ |
H A D | genpkey.c | 367 const EVP_PKEY_ASN1_METHOD *ameth; local 377 ameth = EVP_PKEY_asn1_find_str(&tmpeng, algname, -1); 380 if (!ameth && e) 381 ameth = ENGINE_get_pkey_asn1_meth_str(e, algname, -1); 384 if (!ameth) 392 EVP_PKEY_asn1_get0_info(&pkey_id, NULL, NULL, NULL, NULL, ameth);
|
H A D | dgst.c | 511 const EVP_PKEY_ASN1_METHOD *ameth; local 512 ameth = EVP_PKEY_get0_asn1(sigkey); 513 if (ameth) 515 NULL, NULL, &sig_name, ameth);
|
H A D | openssl.c | 632 const EVP_PKEY_ASN1_METHOD *ameth; local 635 ameth = EVP_PKEY_asn1_get0(i); 637 &pinfo, &pem_str, ameth);
|
H A D | req.c | 1621 const EVP_PKEY_ASN1_METHOD *ameth; local 1631 ameth = EVP_PKEY_asn1_find_str(&tmpeng, gstr, len); 1633 if (!ameth) 1640 ameth); 1700 const EVP_PKEY_ASN1_METHOD *ameth; local 1703 ameth = EVP_PKEY_asn1_find(&tmpeng, *pkey_type); 1704 if (!ameth) 1709 EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &anam, ameth);
|
/external/openssl/crypto/engine/ |
H A D | tb_asnmth.c | 182 EVP_PKEY_ASN1_METHOD *ameth; local 190 e->pkey_asn1_meths(e, &ameth, NULL, nids[i]); 191 if (((int)strlen(ameth->pem_str) == len) && 192 !strncasecmp(ameth->pem_str, str, len)) 193 return ameth; 201 const EVP_PKEY_ASN1_METHOD *ameth; member in struct:__anon23606 210 if (lk->ameth) 215 EVP_PKEY_ASN1_METHOD *ameth; local 216 e->pkey_asn1_meths(e, &ameth, NULL, nid); 217 if (((int)strlen(ameth [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
H A D | ameth_lib.c | 118 const EVP_PKEY_ASN1_METHOD *, ameth); 127 const EVP_PKEY_ASN1_METHOD *, ameth); 206 const EVP_PKEY_ASN1_METHOD *ameth; local 213 ameth = ENGINE_pkey_asn1_find_str(&e, str, len); 214 if (ameth) 220 ameth = NULL; 223 return ameth; 230 ameth = EVP_PKEY_asn1_get0(i); 231 if (ameth->pkey_flags & ASN1_PKEY_ALIAS) 233 if (((int)strlen(ameth 240 EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth) argument 256 EVP_PKEY_ASN1_METHOD *ameth; local 264 EVP_PKEY_asn1_get0_info(int *ppkey_id, int *ppkey_base_id, int *ppkey_flags, const char **pinfo, const char **ppem_str, const EVP_PKEY_ASN1_METHOD *ameth) argument 291 EVP_PKEY_ASN1_METHOD *ameth; local 391 EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth) argument 403 EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth, int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub), int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk), int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx), int (*pkey_size)(const EVP_PKEY *pk), int (*pkey_bits)(const EVP_PKEY *pk)) argument 420 EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk), int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)) argument 431 EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, int (*param_decode)(EVP_PKEY *pkey, const unsigned char **pder, int derlen), int (*param_encode)(const EVP_PKEY *pkey, unsigned char **pder), int (*param_missing)(const EVP_PKEY *pk), int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from), int (*param_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), int (*param_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)) argument 449 EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, void (*pkey_free)(EVP_PKEY *pkey)) argument 455 EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, int (*pkey_ctrl)(EVP_PKEY *pkey, int op, long arg1, void *arg2)) argument [all...] |
H A D | t_x509.c | 326 const EVP_PKEY_ASN1_METHOD *ameth; local 329 ameth = EVP_PKEY_asn1_find(NULL, pkey_nid); 330 if (ameth && ameth->sig_print) 331 return ameth->sig_print(bp, sigalg, sig, 9, 0);
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
H A D | p_lib.c | 87 if (pkey && pkey->ameth && pkey->ameth->pkey_bits) 88 return pkey->ameth->pkey_bits(pkey); 94 if (pkey && pkey->ameth && pkey->ameth->pkey_size) 95 return pkey->ameth->pkey_size(pkey); 137 if (from->ameth && from->ameth->param_copy) 138 return from->ameth->param_copy(to, from); 145 if (pkey->ameth 215 const EVP_PKEY_ASN1_METHOD *ameth; local 369 const EVP_PKEY_ASN1_METHOD *ameth; local [all...] |
H A D | evp.h | 133 const EVP_PKEY_ASN1_METHOD *ameth; member in struct:evp_pkey_st 1013 int EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth); 1017 const EVP_PKEY_ASN1_METHOD *ameth); 1024 void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth); 1025 void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth, 1033 void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, 1038 void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, 1048 void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, 1050 void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
|
/external/openssl/crypto/asn1/ |
H A D | ameth_lib.c | 118 const EVP_PKEY_ASN1_METHOD *, ameth); 127 const EVP_PKEY_ASN1_METHOD *, ameth); 206 const EVP_PKEY_ASN1_METHOD *ameth; local 213 ameth = ENGINE_pkey_asn1_find_str(&e, str, len); 214 if (ameth) 220 ameth = NULL; 223 return ameth; 230 ameth = EVP_PKEY_asn1_get0(i); 231 if (ameth->pkey_flags & ASN1_PKEY_ALIAS) 233 if (((int)strlen(ameth 240 EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth) argument 256 EVP_PKEY_ASN1_METHOD *ameth; local 264 EVP_PKEY_asn1_get0_info(int *ppkey_id, int *ppkey_base_id, int *ppkey_flags, const char **pinfo, const char **ppem_str, const EVP_PKEY_ASN1_METHOD *ameth) argument 291 EVP_PKEY_ASN1_METHOD *ameth; local 391 EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth) argument 403 EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth, int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub), int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk), int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx), int (*pkey_size)(const EVP_PKEY *pk), int (*pkey_bits)(const EVP_PKEY *pk)) argument 420 EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk), int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)) argument 431 EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, int (*param_decode)(EVP_PKEY *pkey, const unsigned char **pder, int derlen), int (*param_encode)(const EVP_PKEY *pkey, unsigned char **pder), int (*param_missing)(const EVP_PKEY *pk), int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from), int (*param_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), int (*param_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)) argument 449 EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, void (*pkey_free)(EVP_PKEY *pkey)) argument 455 EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, int (*pkey_ctrl)(EVP_PKEY *pkey, int op, long arg1, void *arg2)) argument [all...] |
H A D | t_x509.c | 326 const EVP_PKEY_ASN1_METHOD *ameth; local 329 ameth = EVP_PKEY_asn1_find(NULL, pkey_nid); 330 if (ameth && ameth->sig_print) 331 return ameth->sig_print(bp, sigalg, sig, 9, 0);
|
/external/openssl/crypto/evp/ |
H A D | p_lib.c | 87 if (pkey && pkey->ameth && pkey->ameth->pkey_bits) 88 return pkey->ameth->pkey_bits(pkey); 94 if (pkey && pkey->ameth && pkey->ameth->pkey_size) 95 return pkey->ameth->pkey_size(pkey); 137 if (from->ameth && from->ameth->param_copy) 138 return from->ameth->param_copy(to, from); 145 if (pkey->ameth 215 const EVP_PKEY_ASN1_METHOD *ameth; local 369 const EVP_PKEY_ASN1_METHOD *ameth; local [all...] |
H A D | evp.h | 133 const EVP_PKEY_ASN1_METHOD *ameth; member in struct:evp_pkey_st 1013 int EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth); 1017 const EVP_PKEY_ASN1_METHOD *ameth); 1024 void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth); 1025 void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth, 1033 void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, 1038 void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, 1048 void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, 1050 void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
H A D | ssl_ciph.c | 337 const EVP_PKEY_ASN1_METHOD *ameth; local 339 ameth = EVP_PKEY_asn1_find_str(NULL,pkey_name,-1); 340 if (ameth) 342 EVP_PKEY_asn1_get0_info(&pkey_id, NULL,NULL,NULL,NULL,ameth); 351 const EVP_PKEY_ASN1_METHOD *ameth; local 354 ameth = EVP_PKEY_asn1_find_str(&tmpeng,pkey_name,-1); 355 if (ameth) 357 EVP_PKEY_asn1_get0_info(&pkey_id, NULL,NULL,NULL,NULL,ameth);
|
/external/openssl/ssl/ |
H A D | ssl_ciph.c | 337 const EVP_PKEY_ASN1_METHOD *ameth; local 339 ameth = EVP_PKEY_asn1_find_str(NULL,pkey_name,-1); 340 if (ameth) 342 EVP_PKEY_asn1_get0_info(&pkey_id, NULL,NULL,NULL,NULL,ameth); 351 const EVP_PKEY_ASN1_METHOD *ameth; local 354 ameth = EVP_PKEY_asn1_find_str(&tmpeng,pkey_name,-1); 355 if (ameth) 357 EVP_PKEY_asn1_get0_info(&pkey_id, NULL,NULL,NULL,NULL,ameth);
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
H A D | evp.h | 133 const EVP_PKEY_ASN1_METHOD *ameth; member in struct:evp_pkey_st 1013 int EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth); 1017 const EVP_PKEY_ASN1_METHOD *ameth); 1024 void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth); 1025 void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth, 1033 void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, 1038 void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, 1048 void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, 1050 void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
|