• Home
  • Raw
  • Download

Lines Matching refs:CBB

26 void CBB_zero(CBB *cbb) {  in CBB_zero()
27 OPENSSL_memset(cbb, 0, sizeof(CBB)); in CBB_zero()
30 static int cbb_init(CBB *cbb, uint8_t *buf, size_t cap) { in cbb_init()
50 int CBB_init(CBB *cbb, size_t initial_capacity) { in CBB_init()
66 int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len) { in CBB_init_fixed()
77 void CBB_cleanup(CBB *cbb) { in CBB_cleanup()
173 int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len) { in CBB_finish()
201 int CBB_flush(CBB *cbb) { in CBB_flush()
287 const uint8_t *CBB_data(const CBB *cbb) { in CBB_data()
292 size_t CBB_len(const CBB *cbb) { in CBB_len()
299 static int cbb_add_length_prefixed(CBB *cbb, CBB *out_contents, in cbb_add_length_prefixed()
313 OPENSSL_memset(out_contents, 0, sizeof(CBB)); in cbb_add_length_prefixed()
324 int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u8_length_prefixed()
328 int CBB_add_u16_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u16_length_prefixed()
332 int CBB_add_u24_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u24_length_prefixed()
339 static int add_base128_integer(CBB *cbb, uint64_t v) { in add_base128_integer()
362 int CBB_add_asn1(CBB *cbb, CBB *out_contents, unsigned tag) { in CBB_add_asn1()
385 OPENSSL_memset(out_contents, 0, sizeof(CBB)); in CBB_add_asn1()
396 int CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len) { in CBB_add_bytes()
407 int CBB_add_space(CBB *cbb, uint8_t **out_data, size_t len) { in CBB_add_space()
415 int CBB_reserve(CBB *cbb, uint8_t **out_data, size_t len) { in CBB_reserve()
423 int CBB_did_write(CBB *cbb, size_t len) { in CBB_did_write()
434 int CBB_add_u8(CBB *cbb, uint8_t value) { in CBB_add_u8()
442 int CBB_add_u16(CBB *cbb, uint16_t value) { in CBB_add_u16()
450 int CBB_add_u16le(CBB *cbb, uint16_t value) { in CBB_add_u16le()
454 int CBB_add_u24(CBB *cbb, uint32_t value) { in CBB_add_u24()
462 int CBB_add_u32(CBB *cbb, uint32_t value) { in CBB_add_u32()
470 int CBB_add_u32le(CBB *cbb, uint32_t value) { in CBB_add_u32le()
474 int CBB_add_u64(CBB *cbb, uint64_t value) { in CBB_add_u64()
481 int CBB_add_u64le(CBB *cbb, uint64_t value) { in CBB_add_u64le()
485 void CBB_discard_child(CBB *cbb) { in CBB_discard_child()
496 int CBB_add_asn1_uint64(CBB *cbb, uint64_t value) { in CBB_add_asn1_uint64()
497 CBB child; in CBB_add_asn1_uint64()
531 int CBB_add_asn1_int64(CBB *cbb, int64_t value) { in CBB_add_asn1_int64()
547 CBB child; in CBB_add_asn1_int64()
559 int CBB_add_asn1_octet_string(CBB *cbb, const uint8_t *data, size_t data_len) { in CBB_add_asn1_octet_string()
560 CBB child; in CBB_add_asn1_octet_string()
570 int CBB_add_asn1_bool(CBB *cbb, int value) { in CBB_add_asn1_bool()
571 CBB child; in CBB_add_asn1_bool()
612 int CBB_add_asn1_oid_from_text(CBB *cbb, const char *text, size_t len) { in CBB_add_asn1_oid_from_text()
665 int CBB_flush_asn1_set_of(CBB *cbb) { in CBB_flush_asn1_set_of()