| /dragonfly/crypto/libressl/crypto/asn1/ |
| HD | x_sig.c | 115 X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, in X509_SIG_get0() argument 118 if (palg != NULL) in X509_SIG_get0() 119 *palg = sig->algor; in X509_SIG_get0() 125 X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, ASN1_OCTET_STRING **pdigest) in X509_SIG_getm() argument 127 if (palg != NULL) in X509_SIG_getm() 128 *palg = sig->algor; in X509_SIG_getm()
|
| HD | x_req.c | 239 const X509_ALGOR **palg) in X509_REQ_get0_signature() argument 243 if (palg != NULL) in X509_REQ_get0_signature() 244 *palg = req->sig_alg; in X509_REQ_get0_signature()
|
| HD | x_x509.c | 366 X509_get0_signature(const ASN1_BIT_STRING **psig, const X509_ALGOR **palg, in X509_get0_signature() argument 371 if (palg != NULL) in X509_get0_signature() 372 *palg = x->sig_alg; in X509_get0_signature()
|
| HD | x_crl.c | 751 const X509_ALGOR **palg) in X509_CRL_get0_signature() argument 755 if (palg != NULL) in X509_CRL_get0_signature() 756 *palg = crl->sig_alg; in X509_CRL_get0_signature()
|
| /dragonfly/crypto/libressl/crypto/dh/ |
| HD | dh_ameth.c | 85 X509_ALGOR *palg; in dh_pub_decode() local 89 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dh_pub_decode() 91 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dh_pub_decode() 192 const X509_ALGOR *palg; in dh_priv_decode() local 196 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) in dh_priv_decode() 199 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dh_priv_decode()
|
| /dragonfly/crypto/libressl/crypto/rsa/ |
| HD | rsa_ameth.c | 598 rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) in rsa_md_to_algor() argument 602 *palg = X509_ALGOR_new(); in rsa_md_to_algor() 603 if (*palg == NULL) in rsa_md_to_algor() 605 X509_ALGOR_set_md(*palg, md); in rsa_md_to_algor() 611 rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) in rsa_md_to_mgf1() argument 616 *palg = NULL; in rsa_md_to_mgf1() 624 *palg = X509_ALGOR_new(); in rsa_md_to_mgf1() 625 if (*palg == NULL) in rsa_md_to_mgf1() 627 X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp); in rsa_md_to_mgf1() 632 if (*palg) in rsa_md_to_mgf1()
|
| /dragonfly/crypto/libressl/crypto/gost/ |
| HD | gostr341001_ameth.c | 193 X509_ALGOR *palg = NULL; in pub_decode_gost01() local 205 if (X509_PUBKEY_get0_param(&palgobj, &pubkey_buf, &pub_len, &palg, pub) in pub_decode_gost01() 209 X509_ALGOR_get0(NULL, &ptype, (const void **)&pval, palg); in pub_decode_gost01() 410 const X509_ALGOR *palg = NULL; in priv_decode_gost01() local 417 if (PKCS8_pkey_get0(&palg_obj, &pkey_buf, &priv_len, &palg, p8inf) == 0) { in priv_decode_gost01() 422 X509_ALGOR_get0(NULL, &ptype, (const void **)&pval, palg); in priv_decode_gost01()
|
| /dragonfly/crypto/libressl/crypto/dsa/ |
| HD | dsa_ameth.c | 83 X509_ALGOR *palg; in dsa_pub_decode() local 88 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dsa_pub_decode() 90 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_pub_decode() 191 const X509_ALGOR *palg; in dsa_priv_decode() local 198 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) in dsa_priv_decode() 200 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_priv_decode()
|
| /dragonfly/crypto/libressl/crypto/cms/ |
| HD | cms_env.c | 294 X509 **recip, X509_ALGOR **palg) in CMS_RecipientInfo_ktri_get0_algs() argument 309 if (palg) in CMS_RecipientInfo_ktri_get0_algs() 310 *palg = ktri->keyEncryptionAlgorithm; in CMS_RecipientInfo_ktri_get0_algs() 644 CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri, X509_ALGOR **palg, in CMS_RecipientInfo_kekri_get0_id() argument 655 if (palg) in CMS_RecipientInfo_kekri_get0_id() 656 *palg = ri->d.kekri->keyEncryptionAlgorithm; in CMS_RecipientInfo_kekri_get0_id()
|
| HD | cms_kari.c | 70 CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri, X509_ALGOR **palg, in CMS_RecipientInfo_kari_get0_alg() argument 77 if (palg) in CMS_RecipientInfo_kari_get0_alg() 78 *palg = ri->d.kari->keyEncryptionAlgorithm; in CMS_RecipientInfo_kari_get0_alg()
|
| /dragonfly/crypto/libressl/crypto/ec/ |
| HD | ec_ameth.c | 200 X509_ALGOR *palg; in eckey_pub_decode() local 202 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in eckey_pub_decode() 204 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in eckey_pub_decode() 248 const X509_ALGOR *palg; in eckey_priv_decode() local 250 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) in eckey_priv_decode() 252 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in eckey_priv_decode()
|
| /dragonfly/crypto/libressl/include/openssl/ |
| HD | cms.h | 211 X509 **recip, X509_ALGOR **palg); 219 int CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri, X509_ALGOR **palg, 325 int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri, X509_ALGOR **palg,
|
| HD | x509.h | 414 const X509_ALGOR **palg); 419 const X509_ALGOR **palg); 633 void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, 635 void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, 706 const X509_ALGOR **palg, const X509 *x);
|