Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c426 static int rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) { in rsa_md_to_algor() argument
430 *palg = X509_ALGOR_new(); in rsa_md_to_algor()
431 if (!*palg) { in rsa_md_to_algor()
434 X509_ALGOR_set_md(*palg, md); in rsa_md_to_algor()
439 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { in rsa_md_to_mgf1() argument
442 *palg = NULL; in rsa_md_to_mgf1()
452 *palg = X509_ALGOR_new(); in rsa_md_to_mgf1()
453 if (!*palg) { in rsa_md_to_mgf1()
456 X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp); in rsa_md_to_mgf1()
462 if (*palg) { in rsa_md_to_mgf1()
Dp_ec_asn1.c171 X509_ALGOR *palg; in eckey_pub_decode() local
173 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) { in eckey_pub_decode()
176 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in eckey_pub_decode()
220 X509_ALGOR *palg; in eckey_priv_decode() local
222 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) { in eckey_priv_decode()
225 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in eckey_priv_decode()
Dp_dsa_asn1.c77 X509_ALGOR *palg; in dsa_pub_decode() local
82 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) { in dsa_pub_decode()
85 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_pub_decode()
164 X509_ALGOR *palg; in dsa_priv_decode() local
174 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) { in dsa_priv_decode()
177 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_priv_decode()
/external/boringssl/src/crypto/x509/
Dx_x509.c216 void X509_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg, in X509_get0_signature() argument
221 if (palg) in X509_get0_signature()
222 *palg = x->sig_alg; in X509_get0_signature()
/external/boringssl/src/include/openssl/
Dx509.h798 OPENSSL_EXPORT void X509_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg,