/openssl/crypto/asn1/ |
H A 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()
|
H A D | x_algor.c | 142 int ossl_x509_algor_new_from_md(X509_ALGOR **palg, const EVP_MD *md) in ossl_x509_algor_new_from_md() argument 152 *palg = alg; in ossl_x509_algor_new_from_md() 178 int ossl_x509_algor_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) in ossl_x509_algor_md_to_mgf1() argument 183 *palg = NULL; in ossl_x509_algor_md_to_mgf1() 191 *palg = ossl_X509_ALGOR_from_nid(NID_mgf1, V_ASN1_SEQUENCE, stmp); in ossl_x509_algor_md_to_mgf1() 192 if (*palg == NULL) in ossl_x509_algor_md_to_mgf1() 198 return *palg != NULL; in ossl_x509_algor_md_to_mgf1()
|
/openssl/crypto/ec/ |
H A D | ecx_backend.c | 154 ECX_KEY *ossl_ecx_key_op(const X509_ALGOR *palg, in ossl_ecx_key_op() argument 163 if (palg != NULL) { in ossl_ecx_key_op() 167 X509_ALGOR_get0(NULL, &ptype, NULL, palg); in ossl_ecx_key_op() 173 id = OBJ_obj2nid(palg->algorithm); in ossl_ecx_key_op() 174 else if (id != OBJ_obj2nid(palg->algorithm)) { in ossl_ecx_key_op() 236 const X509_ALGOR *palg; in ossl_ecx_key_from_pkcs8() local 238 if (!PKCS8_pkey_get0(NULL, &p, &plen, &palg, p8inf)) in ossl_ecx_key_from_pkcs8() 254 ecx = ossl_ecx_key_op(palg, p, plen, EVP_PKEY_NONE, KEY_OP_PRIVATE, in ossl_ecx_key_from_pkcs8()
|
H A D | ec_backend.c | 731 int ossl_x509_algor_is_sm2(const X509_ALGOR *palg) in ossl_x509_algor_is_sm2() argument 736 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_x509_algor_is_sm2() 760 EC_KEY *ossl_ec_key_param_from_x509_algor(const X509_ALGOR *palg, in ossl_ec_key_param_from_x509_algor() argument 768 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_ec_key_param_from_x509_algor() 817 const X509_ALGOR *palg; in ossl_ec_key_from_pkcs8() local 819 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_ec_key_from_pkcs8() 821 eckey = ossl_ec_key_param_from_x509_algor(palg, libctx, propq); in ossl_ec_key_from_pkcs8()
|
H A 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()
|
H A D | ecx_meth.c | 58 X509_ALGOR *palg; in ecx_pub_decode() local 62 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in ecx_pub_decode() 64 ecx = ossl_ecx_key_op(palg, p, pklen, pkey->ameth->pkey_id, in ecx_pub_decode()
|
/openssl/crypto/dh/ |
H A D | dh_backend.c | 189 const X509_ALGOR *palg; in ossl_dh_key_from_pkcs8() local 194 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_dh_key_from_pkcs8() 197 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_dh_key_from_pkcs8() 207 switch (OBJ_obj2nid(palg->algorithm)) { in ossl_dh_key_from_pkcs8()
|
H A 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()
|
/openssl/doc/man3/ |
H A D | X509_get0_signature.pod | 17 const X509_ALGOR **palg, 20 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg); 26 const X509_ALGOR **palg); 33 const X509_ALGOR **palg); 48 const X509_ALGOR **palg); 52 X509_get0_signature() sets B<*psig> to the signature of B<x> and B<*palg>
|
H A 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,
|
H A 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
|
/openssl/crypto/x509/ |
H A D | x509_req.c | 318 const X509_ALGOR **palg) in X509_REQ_get0_signature() argument 322 if (palg != NULL) in X509_REQ_get0_signature() 323 *palg = &req->sig_alg; in X509_REQ_get0_signature() 333 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg) in X509_REQ_set1_signature_algo() argument 335 return X509_ALGOR_copy(&req->sig_alg, palg); in X509_REQ_set1_signature_algo()
|
H A D | x509cset.c | 129 const X509_ALGOR **palg) in X509_CRL_get0_signature() argument 133 if (palg != NULL) in X509_CRL_get0_signature() 134 *palg = &crl->sig_alg; in X509_CRL_get0_signature()
|
H A D | x_x509.c | 294 const X509_ALGOR **palg, const X509 *x) in X509_get0_signature() argument 298 if (palg) in X509_get0_signature() 299 *palg = &x->sig_alg; in X509_get0_signature()
|
H A D | x509_acert.c | 128 const X509_ALGOR **palg) in X509_ACERT_get0_signature() argument 132 if (palg != NULL) in X509_ACERT_get0_signature() 133 *palg = &x->sig_alg; in X509_ACERT_get0_signature()
|
/openssl/crypto/dsa/ |
H A 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()
|
H A 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()
|
/openssl/include/crypto/ |
H A 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,
|
H A 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);
|
H A D | ecx.h | 147 ECX_KEY *ossl_ecx_key_op(const X509_ALGOR *palg,
|
/openssl/crypto/cms/ |
H A 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()
|
H A D | cms_env.c | 449 X509_ALGOR **palg) in CMS_RecipientInfo_ktri_get0_algs() argument 463 if (palg) in CMS_RecipientInfo_ktri_get0_algs() 464 *palg = ktri->keyEncryptionAlgorithm; in CMS_RecipientInfo_ktri_get0_algs() 793 X509_ALGOR **palg, in CMS_RecipientInfo_kekri_get0_id() argument 805 if (palg) in CMS_RecipientInfo_kekri_get0_id() 806 *palg = ri->d.kekri->keyEncryptionAlgorithm; in CMS_RecipientInfo_kekri_get0_id()
|
/openssl/test/ |
H A D | tls-provider.c | 1203 static XORKEY *xor_key_op(const X509_ALGOR *palg, in xor_key_op() argument 1211 if (palg != NULL) { in xor_key_op() 1215 X509_ALGOR_get0(NULL, &ptype, NULL, palg); in xor_key_op() 1216 if (ptype != V_ASN1_UNDEF || palg->algorithm == NULL) { in xor_key_op() 1220 nid = OBJ_obj2nid(palg->algorithm); in xor_key_op() 1262 X509_ALGOR *palg; in xor_key_from_x509pubkey() local 1264 if (!xpk || (!X509_PUBKEY_get0_param(NULL, &p, &plen, &palg, xpk))) { in xor_key_from_x509pubkey() 1267 return xor_key_op(palg, p, plen, KEY_OP_PUBLIC, libctx, propq); in xor_key_from_x509pubkey() 1277 const X509_ALGOR *palg; in xor_key_from_pkcs8() local 1279 if (!PKCS8_pkey_get0(NULL, &p, &plen, &palg, p8inf)) in xor_key_from_pkcs8() [all …]
|
/openssl/include/openssl/ |
H A D | cms.h.in | 221 X509_ALGOR **palg); 235 X509_ALGOR **palg, 370 X509_ALGOR **palg,
|
H A D | x509.h.in | 550 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, 552 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, 593 const X509_ALGOR **palg, const X509 *x); 706 const X509_ALGOR **palg); 708 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg); 765 const X509_ALGOR **palg);
|