/external/rust/crates/const-oid/src/ |
D | lib.rs | 144 pub fn from_bytes(ber_bytes: &[u8]) -> Result<Self> { in from_bytes() 145 let len = ber_bytes.len(); in from_bytes() 153 bytes[..len].copy_from_slice(ber_bytes); in from_bytes() 225 fn try_from(ber_bytes: &[u8]) -> Result<Self> { in try_from() 226 Self::from_bytes(ber_bytes) in try_from()
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 735 uint8_t *ber_bytes; member 739 PKCS12 *d2i_PKCS12(PKCS12 **out_p12, const uint8_t **ber_bytes, in d2i_PKCS12() argument 748 p12->ber_bytes = OPENSSL_malloc(ber_len); in d2i_PKCS12() 749 if (!p12->ber_bytes) { in d2i_PKCS12() 754 OPENSSL_memcpy(p12->ber_bytes, *ber_bytes, ber_len); in d2i_PKCS12() 756 *ber_bytes += ber_len; in d2i_PKCS12() 847 OPENSSL_memcpy(*out, p12->ber_bytes, p12->ber_len); in i2d_PKCS12() 849 OPENSSL_memcpy(*out, p12->ber_bytes, p12->ber_len); in i2d_PKCS12() 856 return BIO_write_all(bio, p12->ber_bytes, p12->ber_len); in i2d_PKCS12_bio() 872 CBS ber_bytes; in PKCS12_parse() local [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 783 uint8_t *ber_bytes; member 787 PKCS12 *d2i_PKCS12(PKCS12 **out_p12, const uint8_t **ber_bytes, in d2i_PKCS12() argument 796 p12->ber_bytes = OPENSSL_malloc(ber_len); in d2i_PKCS12() 797 if (!p12->ber_bytes) { in d2i_PKCS12() 802 OPENSSL_memcpy(p12->ber_bytes, *ber_bytes, ber_len); in d2i_PKCS12() 804 *ber_bytes += ber_len; in d2i_PKCS12() 894 OPENSSL_memcpy(*out, p12->ber_bytes, p12->ber_len); in i2d_PKCS12() 896 OPENSSL_memcpy(*out, p12->ber_bytes, p12->ber_len); in i2d_PKCS12() 903 return BIO_write_all(bio, p12->ber_bytes, p12->ber_len); in i2d_PKCS12_bio() 919 CBS ber_bytes; in PKCS12_parse() local [all …]
|
/external/cronet/third_party/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 735 uint8_t *ber_bytes; member 739 PKCS12 *d2i_PKCS12(PKCS12 **out_p12, const uint8_t **ber_bytes, in d2i_PKCS12() argument 748 p12->ber_bytes = OPENSSL_malloc(ber_len); in d2i_PKCS12() 749 if (!p12->ber_bytes) { in d2i_PKCS12() 754 OPENSSL_memcpy(p12->ber_bytes, *ber_bytes, ber_len); in d2i_PKCS12() 756 *ber_bytes += ber_len; in d2i_PKCS12() 847 OPENSSL_memcpy(*out, p12->ber_bytes, p12->ber_len); in i2d_PKCS12() 849 OPENSSL_memcpy(*out, p12->ber_bytes, p12->ber_len); in i2d_PKCS12() 856 return BIO_write_all(bio, p12->ber_bytes, p12->ber_len); in i2d_PKCS12_bio() 872 CBS ber_bytes; in PKCS12_parse() local [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/ |
D | pkcs7_x509.c | 265 ret->ber_bytes = OPENSSL_memdup(CBS_data(©2), ret->ber_len); in pkcs7_new() 266 if (ret->ber_bytes == NULL) { in pkcs7_new() 329 OPENSSL_memcpy(*out, p7->ber_bytes, p7->ber_len); in i2d_PKCS7() 331 OPENSSL_memcpy(*out, p7->ber_bytes, p7->ber_len); in i2d_PKCS7() 338 return BIO_write_all(bio, p7->ber_bytes, p7->ber_len); in i2d_PKCS7_bio() 346 OPENSSL_free(p7->ber_bytes); in PKCS7_free()
|
/external/cronet/third_party/boringssl/src/crypto/pkcs7/ |
D | pkcs7_x509.c | 270 ret->ber_bytes = OPENSSL_memdup(CBS_data(©2), ret->ber_len); in pkcs7_new() 271 if (ret->ber_bytes == NULL) { in pkcs7_new() 333 OPENSSL_memcpy(*out, p7->ber_bytes, p7->ber_len); in i2d_PKCS7() 335 OPENSSL_memcpy(*out, p7->ber_bytes, p7->ber_len); in i2d_PKCS7() 342 return BIO_write_all(bio, p7->ber_bytes, p7->ber_len); in i2d_PKCS7_bio() 350 OPENSSL_free(p7->ber_bytes); in PKCS7_free()
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7_x509.c | 270 ret->ber_bytes = OPENSSL_memdup(CBS_data(©2), ret->ber_len); in pkcs7_new() 271 if (ret->ber_bytes == NULL) { in pkcs7_new() 333 OPENSSL_memcpy(*out, p7->ber_bytes, p7->ber_len); in i2d_PKCS7() 335 OPENSSL_memcpy(*out, p7->ber_bytes, p7->ber_len); in i2d_PKCS7() 342 return BIO_write_all(bio, p7->ber_bytes, p7->ber_len); in i2d_PKCS7_bio() 350 OPENSSL_free(p7->ber_bytes); in PKCS7_free()
|
/external/cronet/third_party/boringssl/src/include/openssl/ |
D | pkcs7.h | 126 uint8_t *ber_bytes; member
|
D | pkcs8.h | 148 OPENSSL_EXPORT PKCS12 *d2i_PKCS12(PKCS12 **out_p12, const uint8_t **ber_bytes,
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | pkcs7.h | 121 uint8_t *ber_bytes; member
|
D | pkcs8.h | 146 OPENSSL_EXPORT PKCS12 *d2i_PKCS12(PKCS12 **out_p12, const uint8_t **ber_bytes,
|
/external/boringssl/src/include/openssl/ |
D | pkcs8.h | 148 OPENSSL_EXPORT PKCS12 *d2i_PKCS12(PKCS12 **out_p12, const uint8_t **ber_bytes,
|
D | pkcs7.h | 126 uint8_t *ber_bytes; member
|
/external/python/asn1crypto/tests/ |
D | test_core.py | 452 def generalized_time(self, ber_bytes, native, der_bytes): argument 453 decoded = core.GeneralizedTime.load(ber_bytes)
|