Lines Matching refs:der_bytes
38 static int pkcs7_parse_header(uint8_t **der_bytes, CBS *out, CBS *cbs) { in pkcs7_parse_header() argument
44 *der_bytes = NULL; in pkcs7_parse_header()
45 if (!CBS_asn1_ber_to_der(cbs, der_bytes, &der_len)) { in pkcs7_parse_header()
48 if (*der_bytes != NULL) { in pkcs7_parse_header()
49 CBS_init(&in, *der_bytes, der_len); in pkcs7_parse_header()
84 if (*der_bytes) { in pkcs7_parse_header()
85 OPENSSL_free(*der_bytes); in pkcs7_parse_header()
86 *der_bytes = NULL; in pkcs7_parse_header()
94 uint8_t *der_bytes = NULL; in PKCS7_get_certificates() local
98 if (!pkcs7_parse_header(&der_bytes, &signed_data, cbs)) { in PKCS7_get_certificates()
138 if (der_bytes) { in PKCS7_get_certificates()
139 OPENSSL_free(der_bytes); in PKCS7_get_certificates()
154 uint8_t *der_bytes = NULL; in PKCS7_get_CRLs() local
158 if (!pkcs7_parse_header(&der_bytes, &signed_data, cbs)) { in PKCS7_get_CRLs()
208 if (der_bytes) { in PKCS7_get_CRLs()
209 OPENSSL_free(der_bytes); in PKCS7_get_CRLs()