Searched defs:der_bytes (Results 1 - 3 of 3) sorted by relevance

/external/boringssl/src/crypto/x509/
H A Dpkcs7_test.c470 static int test_cert_reparse(const uint8_t *der_bytes, size_t der_len) { argument
478 CBS_init(&pkcs7, der_bytes, der_len);
534 static int test_crl_reparse(const uint8_t *der_bytes, size_t der_len) { argument
542 CBS_init(&pkcs7, der_bytes, der_len);
H A Dpkcs7.c31 * input. If the input is in BER format, then |*der_bytes| will be set to a
33 * processing |*out| (which will be pointing into |*der_bytes|).
35 * It returns one on success or zero on error. On error, |*der_bytes| is
37 static int pkcs7_parse_header(uint8_t **der_bytes, CBS *out, CBS *cbs) { argument
43 *der_bytes = NULL;
44 if (!CBS_asn1_ber_to_der(cbs, der_bytes, &der_len)) {
47 if (*der_bytes != NULL) {
48 CBS_init(&in, *der_bytes, der_len);
85 if (*der_bytes) {
86 OPENSSL_free(*der_bytes);
95 uint8_t *der_bytes = NULL; local
153 uint8_t *der_bytes = NULL; local
[all...]
/external/boringssl/src/crypto/pkcs8/
H A Dpkcs8.c640 uint8_t *der_bytes = NULL; local
658 if (!CBS_asn1_ber_to_der(content_infos, &der_bytes, &der_len)) {
662 if (der_bytes != NULL) {
663 CBS_init(&in, der_bytes, der_len);
694 OPENSSL_free(der_bytes);
868 uint8_t *der_bytes = NULL; local
877 if (!CBS_asn1_ber_to_der(ber_in, &der_bytes, &der_len)) {
880 if (der_bytes != NULL) {
881 CBS_init(&in, der_bytes, der_len);
1014 OPENSSL_free(der_bytes);
[all...]

Completed in 101 milliseconds