/third_party/openssl/crypto/asn1/ |
D | x_algor.c | 132 int ossl_x509_algor_new_from_md(X509_ALGOR **palg, const EVP_MD *md) in ossl_x509_algor_new_from_md() argument 137 *palg = X509_ALGOR_new(); in ossl_x509_algor_new_from_md() 138 if (*palg == NULL) in ossl_x509_algor_new_from_md() 140 X509_ALGOR_set_md(*palg, md); in ossl_x509_algor_new_from_md() 166 int ossl_x509_algor_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) in ossl_x509_algor_md_to_mgf1() argument 171 *palg = NULL; in ossl_x509_algor_md_to_mgf1() 179 *palg = X509_ALGOR_new(); in ossl_x509_algor_md_to_mgf1() 180 if (*palg == NULL) in ossl_x509_algor_md_to_mgf1() 182 X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp); in ossl_x509_algor_md_to_mgf1() 187 if (*palg != NULL) in ossl_x509_algor_md_to_mgf1()
|
D | x_sig.c | 23 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, 26 if (palg) 27 *palg = sig->algor; 32 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, in X509_SIG_getm() argument 35 if (palg) in X509_SIG_getm() 36 *palg = sig->algor; in X509_SIG_getm()
|
/third_party/openssl/crypto/ec/ |
D | ecx_backend.c | 155 ECX_KEY *ossl_ecx_key_op(const X509_ALGOR *palg, in ossl_ecx_key_op() argument 164 if (palg != NULL) { in ossl_ecx_key_op() 168 X509_ALGOR_get0(NULL, &ptype, NULL, palg); in ossl_ecx_key_op() 174 id = OBJ_obj2nid(palg->algorithm); in ossl_ecx_key_op() 175 else if (id != OBJ_obj2nid(palg->algorithm)) { in ossl_ecx_key_op() 237 const X509_ALGOR *palg; in ossl_ecx_key_from_pkcs8() local 239 if (!PKCS8_pkey_get0(NULL, &p, &plen, &palg, p8inf)) in ossl_ecx_key_from_pkcs8() 255 ecx = ossl_ecx_key_op(palg, p, plen, EVP_PKEY_NONE, KEY_OP_PRIVATE, in ossl_ecx_key_from_pkcs8()
|
D | ec_backend.c | 737 int ossl_x509_algor_is_sm2(const X509_ALGOR *palg) in ossl_x509_algor_is_sm2() argument 742 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_x509_algor_is_sm2() 766 EC_KEY *ossl_ec_key_param_from_x509_algor(const X509_ALGOR *palg, in ossl_ec_key_param_from_x509_algor() argument 774 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_ec_key_param_from_x509_algor() 823 const X509_ALGOR *palg; in ossl_ec_key_from_pkcs8() local 825 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_ec_key_from_pkcs8() 827 eckey = ossl_ec_key_param_from_x509_algor(palg, libctx, propq); in ossl_ec_key_from_pkcs8()
|
D | ec_ameth.c | 105 X509_ALGOR *palg; in eckey_pub_decode() local 110 || !X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in eckey_pub_decode() 112 eckey = ossl_ec_key_param_from_x509_algor(palg, libctx, propq); in eckey_pub_decode()
|
D | ecx_meth.c | 60 X509_ALGOR *palg; in ecx_pub_decode() local 64 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in ecx_pub_decode() 66 ecx = ossl_ecx_key_op(palg, p, pklen, pkey->ameth->pkey_id, in ecx_pub_decode()
|
/third_party/openssl/crypto/x509/ |
D | x509_req.c | 298 const X509_ALGOR **palg) in X509_REQ_get0_signature() argument 302 if (palg != NULL) in X509_REQ_get0_signature() 303 *palg = &req->sig_alg; in X509_REQ_get0_signature() 313 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg) in X509_REQ_set1_signature_algo() argument 315 return X509_ALGOR_copy(&req->sig_alg, palg); in X509_REQ_set1_signature_algo()
|
D | x509cset.c | 122 const X509_ALGOR **palg) in X509_CRL_get0_signature() argument 126 if (palg != NULL) in X509_CRL_get0_signature() 127 *palg = &crl->sig_alg; in X509_CRL_get0_signature()
|
D | x_x509.c | 296 const X509_ALGOR **palg, const X509 *x) in X509_get0_signature() argument 300 if (palg) in X509_get0_signature() 301 *palg = &x->sig_alg; in X509_get0_signature()
|
/third_party/openssl/crypto/dh/ |
D | dh_backend.c | 195 const X509_ALGOR *palg; in ossl_dh_key_from_pkcs8() local 200 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_dh_key_from_pkcs8() 203 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_dh_key_from_pkcs8() 213 switch (OBJ_obj2nid(palg->algorithm)) { in ossl_dh_key_from_pkcs8()
|
D | dh_ameth.c | 67 X509_ALGOR *palg; in dh_pub_decode() local 72 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dh_pub_decode() 74 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dh_pub_decode()
|
/third_party/openssl/doc/man3/ |
D | X509_get0_signature.pod | 15 const X509_ALGOR **palg, 18 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg); 24 const X509_ALGOR **palg); 29 const X509_ALGOR **palg); 42 X509_get0_signature() sets B<*psig> to the signature of B<x> and B<*palg>
|
D | X509_SIG_get0.pod | 11 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, 13 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg,
|
D | CMS_get0_RecipientInfos.pod | 30 int CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri, X509_ALGOR **palg, 77 B<palg>, the B<keyIdentifier> field is written to B<pid>, the B<date> field if
|
/third_party/openssl/crypto/dsa/ |
D | dsa_backend.c | 131 const X509_ALGOR *palg; in ossl_dsa_key_from_pkcs8() local 139 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_dsa_key_from_pkcs8() 141 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_dsa_key_from_pkcs8()
|
D | dsa_ameth.c | 36 X509_ALGOR *palg; in dsa_pub_decode() local 41 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dsa_pub_decode() 43 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_pub_decode()
|
/third_party/openssl/include/crypto/ |
D | ec.h | 82 int ossl_x509_algor_is_sm2(const X509_ALGOR *palg); 83 EC_KEY *ossl_ec_key_param_from_x509_algor(const X509_ALGOR *palg,
|
D | asn1.h | 139 int ossl_x509_algor_new_from_md(X509_ALGOR **palg, const EVP_MD *md); 142 int ossl_x509_algor_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md);
|
D | ecx.h | 134 ECX_KEY *ossl_ecx_key_op(const X509_ALGOR *palg,
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | cms.h | 162 X509_ALGOR **palg); 176 X509_ALGOR **palg, 300 X509_ALGOR **palg,
|
D | x509.h | 530 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, 532 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, 573 const X509_ALGOR **palg, const X509 *x); 682 const X509_ALGOR **palg); 684 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg); 736 const X509_ALGOR **palg);
|
/third_party/openssl/crypto/cms/ |
D | cms_env.c | 397 X509_ALGOR **palg) in CMS_RecipientInfo_ktri_get0_algs() argument 411 if (palg) in CMS_RecipientInfo_ktri_get0_algs() 412 *palg = ktri->keyEncryptionAlgorithm; in CMS_RecipientInfo_ktri_get0_algs() 746 X509_ALGOR **palg, in CMS_RecipientInfo_kekri_get0_id() argument 758 if (palg) in CMS_RecipientInfo_kekri_get0_id() 759 *palg = ri->d.kekri->keyEncryptionAlgorithm; in CMS_RecipientInfo_kekri_get0_id()
|
D | cms_kari.c | 29 X509_ALGOR **palg, in CMS_RecipientInfo_kari_get0_alg() argument 36 if (palg) in CMS_RecipientInfo_kari_get0_alg() 37 *palg = ri->d.kari->keyEncryptionAlgorithm; in CMS_RecipientInfo_kari_get0_alg()
|
/third_party/openssl/include/openssl/ |
D | cms.h.in | 211 X509_ALGOR **palg); 225 X509_ALGOR **palg, 355 X509_ALGOR **palg,
|
D | x509.h.in | 530 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, 532 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, 573 const X509_ALGOR **palg, const X509 *x); 686 const X509_ALGOR **palg); 688 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg); 745 const X509_ALGOR **palg);
|