Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c752 uint8_t *ber_bytes; member
756 PKCS12 *d2i_PKCS12(PKCS12 **out_p12, const uint8_t **ber_bytes, in d2i_PKCS12() argument
765 p12->ber_bytes = OPENSSL_malloc(ber_len); in d2i_PKCS12()
766 if (!p12->ber_bytes) { in d2i_PKCS12()
771 OPENSSL_memcpy(p12->ber_bytes, *ber_bytes, ber_len); in d2i_PKCS12()
773 *ber_bytes += ber_len; in d2i_PKCS12()
863 OPENSSL_memcpy(*out, p12->ber_bytes, p12->ber_len); in i2d_PKCS12()
865 OPENSSL_memcpy(*out, p12->ber_bytes, p12->ber_len); in i2d_PKCS12()
872 return BIO_write_all(bio, p12->ber_bytes, p12->ber_len); in i2d_PKCS12_bio()
888 CBS ber_bytes; in PKCS12_parse() local
[all …]
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_x509.c263 ret->ber_bytes = BUF_memdup(CBS_data(&copy2), ret->ber_len); in pkcs7_new()
264 if (ret->ber_bytes == NULL) { in pkcs7_new()
327 OPENSSL_memcpy(*out, p7->ber_bytes, p7->ber_len); in i2d_PKCS7()
329 OPENSSL_memcpy(*out, p7->ber_bytes, p7->ber_len); in i2d_PKCS7()
336 return BIO_write_all(bio, p7->ber_bytes, p7->ber_len); in i2d_PKCS7_bio()
344 OPENSSL_free(p7->ber_bytes); in PKCS7_free()
/external/boringssl/src/include/openssl/
Dpkcs7.h106 uint8_t *ber_bytes; member
Dpkcs8.h146 OPENSSL_EXPORT PKCS12 *d2i_PKCS12(PKCS12 **out_p12, const uint8_t **ber_bytes,
/external/python/asn1crypto/tests/
Dtest_core.py452 def generalized_time(self, ber_bytes, native, der_bytes): argument
453 decoded = core.GeneralizedTime.load(ber_bytes)