| /freebsd-12.1/crypto/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()
|
| /freebsd-12.1/crypto/openssl/crypto/ec/ |
| H A D | ecx_meth.c | 46 static int ecx_key_op(EVP_PKEY *pkey, int id, const X509_ALGOR *palg, in ecx_key_op() argument 53 if (palg != NULL) { in ecx_key_op() 57 X509_ALGOR_get0(NULL, &ptype, NULL, palg); in ecx_key_op() 154 X509_ALGOR *palg; in ecx_pub_decode() local 156 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in ecx_pub_decode() 158 return ecx_key_op(pkey, pkey->ameth->pkey_id, palg, p, pklen, in ecx_pub_decode() 178 const X509_ALGOR *palg; in ecx_priv_decode() local 181 if (!PKCS8_pkey_get0(NULL, &p, &plen, &palg, p8)) in ecx_priv_decode() 193 rv = ecx_key_op(pkey, pkey->ameth->pkey_id, palg, p, plen, KEY_OP_PRIVATE); in ecx_priv_decode()
|
| H A D | ec_ameth.c | 142 X509_ALGOR *palg; in eckey_pub_decode() local 144 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in eckey_pub_decode() 146 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in eckey_pub_decode() 191 const X509_ALGOR *palg; in eckey_priv_decode() local 193 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) in eckey_priv_decode() 195 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in eckey_priv_decode()
|
| /freebsd-12.1/crypto/openssl/crypto/x509/ |
| H A 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()
|
| H A D | x_x509.c | 236 const X509_ALGOR **palg, const X509 *x) in X509_get0_signature() argument 240 if (palg) in X509_get0_signature() 241 *palg = &x->sig_alg; in X509_get0_signature()
|
| H A D | x509_req.c | 281 const X509_ALGOR **palg) in X509_REQ_get0_signature() argument 285 if (palg != NULL) in X509_REQ_get0_signature() 286 *palg = &req->sig_alg; in X509_REQ_get0_signature()
|
| /freebsd-12.1/crypto/openssl/crypto/rsa/ |
| H A D | rsa_ameth.c | 529 static int rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) in rsa_md_to_algor() argument 533 *palg = X509_ALGOR_new(); in rsa_md_to_algor() 534 if (*palg == NULL) in rsa_md_to_algor() 536 X509_ALGOR_set_md(*palg, md); in rsa_md_to_algor() 541 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) in rsa_md_to_mgf1() argument 546 *palg = NULL; in rsa_md_to_mgf1() 554 *palg = X509_ALGOR_new(); in rsa_md_to_mgf1() 555 if (*palg == NULL) in rsa_md_to_mgf1() 557 X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp); in rsa_md_to_mgf1() 562 if (*palg) in rsa_md_to_mgf1()
|
| /freebsd-12.1/crypto/openssl/doc/man3/ |
| H A D | X509_get0_signature.pod | 15 const X509_ALGOR **palg, 22 const X509_ALGOR **palg); 27 const X509_ALGOR **palg); 40 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 | 26 int CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri, X509_ALGOR **palg, 66 B<palg>, the B<keyIdentifier> field is written to B<pid>, the B<date> field if
|
| /freebsd-12.1/crypto/openssl/crypto/dsa/ |
| H A D | dsa_ameth.c | 27 X509_ALGOR *palg; in dsa_pub_decode() local 32 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dsa_pub_decode() 34 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_pub_decode() 144 const X509_ALGOR *palg; in dsa_priv_decode() local 152 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) in dsa_priv_decode() 154 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_priv_decode()
|
| /freebsd-12.1/crypto/openssl/crypto/cms/ |
| H A D | cms_env.c | 233 X509_ALGOR **palg) in CMS_RecipientInfo_ktri_get0_algs() argument 248 if (palg) in CMS_RecipientInfo_ktri_get0_algs() 249 *palg = ktri->keyEncryptionAlgorithm; in CMS_RecipientInfo_ktri_get0_algs() 579 X509_ALGOR **palg, in CMS_RecipientInfo_kekri_get0_id() argument 591 if (palg) in CMS_RecipientInfo_kekri_get0_id() 592 *palg = ri->d.kekri->keyEncryptionAlgorithm; in CMS_RecipientInfo_kekri_get0_id()
|
| H A D | cms_kari.c | 23 X509_ALGOR **palg, in CMS_RecipientInfo_kari_get0_alg() argument 31 if (palg) in CMS_RecipientInfo_kari_get0_alg() 32 *palg = ri->d.kari->keyEncryptionAlgorithm; in CMS_RecipientInfo_kari_get0_alg()
|
| /freebsd-12.1/crypto/openssl/crypto/dh/ |
| H A D | dh_ameth.c | 52 X509_ALGOR *palg; in dh_pub_decode() local 57 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dh_pub_decode() 59 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dh_pub_decode() 157 const X509_ALGOR *palg; in dh_priv_decode() local 162 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) in dh_priv_decode() 165 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dh_priv_decode()
|
| /freebsd-12.1/crypto/openssl/include/openssl/ |
| H A D | cms.h | 162 X509_ALGOR **palg); 176 X509_ALGOR **palg, 300 X509_ALGOR **palg,
|
| H A D | x509.h | 529 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, 531 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, 572 const X509_ALGOR **palg, const X509 *x); 681 const X509_ALGOR **palg); 733 const X509_ALGOR **palg);
|