Home
last modified time | relevance | path

Searched refs:palg (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Drsa_pss.c113 static int rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) { in rsa_md_to_algor() argument
117 *palg = X509_ALGOR_new(); in rsa_md_to_algor()
118 if (*palg == NULL) { in rsa_md_to_algor()
121 X509_ALGOR_set_md(*palg, md); in rsa_md_to_algor()
126 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { in rsa_md_to_mgf1() argument
129 *palg = NULL; in rsa_md_to_mgf1()
139 *palg = X509_ALGOR_new(); in rsa_md_to_mgf1()
140 if (!*palg) { in rsa_md_to_mgf1()
143 X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp); in rsa_md_to_mgf1()
149 if (*palg) { in rsa_md_to_mgf1()
Dx509cset.c180 const X509_ALGOR **palg) in X509_CRL_get0_signature() argument
184 if (palg != NULL) in X509_CRL_get0_signature()
185 *palg = crl->sig_alg; in X509_CRL_get0_signature()
Dx509_req.c287 const X509_ALGOR **palg) in X509_REQ_get0_signature() argument
291 if (palg != NULL) in X509_REQ_get0_signature()
292 *palg = req->sig_alg; in X509_REQ_get0_signature()
Dx_x509.c380 void X509_get0_signature(const ASN1_BIT_STRING **psig, const X509_ALGOR **palg, in X509_get0_signature() argument
385 if (palg) in X509_get0_signature()
386 *palg = x->sig_alg; in X509_get0_signature()
/external/cronet/third_party/boringssl/src/crypto/x509/
Drsa_pss.c121 static int rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) { in rsa_md_to_algor() argument
124 *palg = X509_ALGOR_new(); in rsa_md_to_algor()
125 if (*palg == NULL) { in rsa_md_to_algor()
128 X509_ALGOR_set_md(*palg, md); in rsa_md_to_algor()
134 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { in rsa_md_to_mgf1() argument
144 *palg = X509_ALGOR_new(); in rsa_md_to_mgf1()
145 if (!*palg) { in rsa_md_to_mgf1()
148 X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp); in rsa_md_to_mgf1()
154 if (*palg) { in rsa_md_to_mgf1()
Dx509cset.c176 const X509_ALGOR **palg) { in X509_CRL_get0_signature() argument
180 if (palg != NULL) { in X509_CRL_get0_signature()
181 *palg = crl->sig_alg; in X509_CRL_get0_signature()
Dx509_req.c271 const X509_ALGOR **palg) { in X509_REQ_get0_signature() argument
275 if (palg != NULL) { in X509_REQ_get0_signature()
276 *palg = req->sig_alg; in X509_REQ_get0_signature()
Dx_x509.c540 void X509_get0_signature(const ASN1_BIT_STRING **psig, const X509_ALGOR **palg, in X509_get0_signature() argument
545 if (palg) { in X509_get0_signature()
546 *palg = x->sig_alg; in X509_get0_signature()
/external/boringssl/src/crypto/x509/
Drsa_pss.c121 static int rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) { in rsa_md_to_algor() argument
124 *palg = X509_ALGOR_new(); in rsa_md_to_algor()
125 if (*palg == NULL) { in rsa_md_to_algor()
128 X509_ALGOR_set_md(*palg, md); in rsa_md_to_algor()
134 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { in rsa_md_to_mgf1() argument
144 *palg = X509_ALGOR_new(); in rsa_md_to_mgf1()
145 if (!*palg) { in rsa_md_to_mgf1()
148 X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp); in rsa_md_to_mgf1()
154 if (*palg) { in rsa_md_to_mgf1()
Dx509cset.c176 const X509_ALGOR **palg) { in X509_CRL_get0_signature() argument
180 if (palg != NULL) { in X509_CRL_get0_signature()
181 *palg = crl->sig_alg; in X509_CRL_get0_signature()
Dx509_req.c271 const X509_ALGOR **palg) { in X509_REQ_get0_signature() argument
275 if (palg != NULL) { in X509_REQ_get0_signature()
276 *palg = req->sig_alg; in X509_REQ_get0_signature()
Dx_x509.c540 void X509_get0_signature(const ASN1_BIT_STRING **psig, const X509_ALGOR **palg, in X509_get0_signature() argument
545 if (palg) { in X509_get0_signature()
546 *palg = x->sig_alg; in X509_get0_signature()
/external/rust/crates/openssl/src/x509/
Dmod.rs1680 palg: *mut *const ffi::X509_ALGOR,
1686 if !palg.is_null() {
1687 *palg = (*x).sig_alg;
/external/rust/beto-rust/nearby/scripts/openssl-patches/
D0001-Apply-Android-changes.patch2230 + palg: *mut *const ffi::X509_ALGOR,
2236 + if !palg.is_null() {
2237 + *palg = (*x).sig_alg;