Home
last modified time | relevance | path

Searched refs:out_contents (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/crypto/bytestring/
Dber.c99 CBB *out_contents, out_contents_storage; in cbs_convert_ber() local
104 out_contents = out; in cbs_convert_ber()
150 out_contents = &out_contents_storage; in cbs_convert_ber()
153 if (!cbs_convert_ber(in, out_contents, in cbs_convert_ber()
158 if (out_contents != out && !CBB_flush(out)) { in cbs_convert_ber()
169 out_contents = &out_contents_storage; in cbs_convert_ber()
177 if (!cbs_convert_ber(&contents, out_contents, 0 /* don't squash header */, in cbs_convert_ber()
182 if (!CBB_add_bytes(out_contents, CBS_data(&contents), in cbs_convert_ber()
188 if (out_contents != out && !CBB_flush(out)) { in cbs_convert_ber()
Dcbb.c247 static int cbb_add_length_prefixed(CBB *cbb, CBB *out_contents, in cbb_add_length_prefixed() argument
261 memset(out_contents, 0, sizeof(CBB)); in cbb_add_length_prefixed()
262 out_contents->base = cbb->base; in cbb_add_length_prefixed()
263 cbb->child = out_contents; in cbb_add_length_prefixed()
270 int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u8_length_prefixed() argument
271 return cbb_add_length_prefixed(cbb, out_contents, 1); in CBB_add_u8_length_prefixed()
274 int CBB_add_u16_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u16_length_prefixed() argument
275 return cbb_add_length_prefixed(cbb, out_contents, 2); in CBB_add_u16_length_prefixed()
278 int CBB_add_u24_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u24_length_prefixed() argument
279 return cbb_add_length_prefixed(cbb, out_contents, 3); in CBB_add_u24_length_prefixed()
[all …]
/external/boringssl/src/include/openssl/
Dbytestring.h274 OPENSSL_EXPORT int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents);
279 OPENSSL_EXPORT int CBB_add_u16_length_prefixed(CBB *cbb, CBB *out_contents);
284 OPENSSL_EXPORT int CBB_add_u24_length_prefixed(CBB *cbb, CBB *out_contents);
291 OPENSSL_EXPORT int CBB_add_asn1(CBB *cbb, CBB *out_contents, uint8_t tag);
Dbio.h390 const uint8_t **out_contents,
/external/boringssl/src/crypto/bio/
Dbio_mem.c300 int BIO_mem_contents(const BIO *bio, const uint8_t **out_contents, in BIO_mem_contents() argument
308 *out_contents = (uint8_t *)b->data; in BIO_mem_contents()
/external/boringssl/src/
DSTYLE158 /* CBB_add_asn sets |*out_contents| to a |CBB| into which the contents of an
161 OPENSSL_EXPORT int CBB_add_asn1(CBB *cbb, CBB *out_contents, uint8_t tag);