Searched defs:ameth (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Da_verify.c80 const EVP_PKEY_ASN1_METHOD *ameth; local
100 if (!pkey->ameth || !pkey->ameth->item_verify)
105 ret = pkey->ameth->item_verify(&ctx, it, asn, a,
126 ameth = EVP_PKEY_asn1_find(NULL, pknid);
127 if (ameth == NULL || ameth->pkey_id != pkey->ameth->pkey_id)
H A Dt_x509.c314 const EVP_PKEY_ASN1_METHOD *ameth; local
317 ameth = EVP_PKEY_asn1_find(NULL, pkey_nid);
318 if (ameth && ameth->sig_print)
319 return ameth->sig_print(bp, sigalg, sig, 9, 0);
/external/openssl/crypto/pem/
H A Dpem_pkey.c124 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 Dpem_lib.c195 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/net/android/
H A Dlegacy_openssl.h85 const AndroidEVP_PKEY_ASN1_METHOD* ameth; member in struct:net::android::AndroidEVP_PKEY
/external/chromium_org/third_party/boringssl/src/crypto/pem/
H A Dpem_pkey.c125 const EVP_PKEY_ASN1_METHOD *ameth; local
126 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen);
127 if (!ameth || !ameth->old_priv_decode)
129 ret=d2i_PrivateKey(ameth->pkey_id,x,&p,len);
147 if (!x->ameth || x->ameth->priv_encode)
152 BIO_snprintf(pem_str, 80, "%s PRIVATE KEY", x->ameth->pem_str);
196 || !ret->ameth->param_decode
197 || !ret->ameth
[all...]
H A Dpem_lib.c150 const EVP_PKEY_ASN1_METHOD *ameth; local
162 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen);
163 if (ameth && ameth->old_priv_decode)
172 const EVP_PKEY_ASN1_METHOD *ameth; local
177 ameth = EVP_PKEY_asn1_find_str(&e, nm, slen);
178 if (ameth)
181 if (ameth->param_decode)
/external/openssl/apps/
H A Dgenpkey.c367 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 Ddgst.c511 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 Dopenssl.c633 const EVP_PKEY_ASN1_METHOD *ameth; local
636 ameth = EVP_PKEY_asn1_get0(i);
638 &pinfo, &pem_str, ameth);
H A Dreq.c1631 const EVP_PKEY_ASN1_METHOD *ameth; local
1641 ameth = EVP_PKEY_asn1_find_str(&tmpeng, gstr, len);
1643 if (!ameth)
1650 ameth);
1712 const EVP_PKEY_ASN1_METHOD *ameth; local
1715 ameth = EVP_PKEY_asn1_find(&tmpeng, *pkey_type);
1716 if (!ameth)
1721 EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &anam, ameth);
/external/openssl/crypto/engine/
H A Dtb_asnmth.c182 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:__anon28279
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/boringssl/src/crypto/evp/
H A Devp.c94 if (pkey->ameth && pkey->ameth->pkey_free) {
95 pkey->ameth->pkey_free(pkey);
121 if (pkey->ameth && pkey->ameth->pkey_opaque) {
122 return pkey->ameth->pkey_opaque(pkey);
132 if (a->ameth) {
135 if (a->ameth->param_cmp) {
136 ret = a->ameth->param_cmp(a, b);
141 if (a->ameth
352 const EVP_PKEY_ASN1_METHOD *ameth; local
[all...]
/external/openssl/crypto/asn1/
H A Dameth_lib.c118 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
269 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
296 EVP_PKEY_ASN1_METHOD *ameth; local
396 EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth) argument
408 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
425 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
436 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
454 EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, void (*pkey_free)(EVP_PKEY *pkey)) argument
460 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 Dt_x509.c326 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 Dp_lib.c87 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 Devp.h133 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/boringssl/src/include/openssl/
H A Devp.h748 /* ameth contains a pointer to a method table that contains many ASN.1
750 const EVP_PKEY_ASN1_METHOD *ameth; member in struct:evp_pkey_st
/external/openssl/ssl/
H A Dssl_ciph.c338 const EVP_PKEY_ASN1_METHOD *ameth; local
340 ameth = EVP_PKEY_asn1_find_str(NULL,pkey_name,-1);
341 if (ameth)
343 EVP_PKEY_asn1_get0_info(&pkey_id, NULL,NULL,NULL,NULL,ameth);
352 const EVP_PKEY_ASN1_METHOD *ameth; local
355 ameth = EVP_PKEY_asn1_find_str(&tmpeng,pkey_name,-1);
356 if (ameth)
358 EVP_PKEY_asn1_get0_info(&pkey_id, NULL,NULL,NULL,NULL,ameth);
/external/openssl/include/openssl/
H A Devp.h133 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,

Completed in 3730 milliseconds