• Home
  • Raw
  • Download

Lines Matching refs:CBB

27 void CBB_zero(CBB *cbb) {  in CBB_zero()
28 OPENSSL_memset(cbb, 0, sizeof(CBB)); in CBB_zero()
31 static int cbb_init(CBB *cbb, uint8_t *buf, size_t cap) { in cbb_init()
51 int CBB_init(CBB *cbb, size_t initial_capacity) { in CBB_init()
67 int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len) { in CBB_init_fixed()
78 void CBB_cleanup(CBB *cbb) { in CBB_cleanup()
171 int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len) { in CBB_finish()
199 int CBB_flush(CBB *cbb) { in CBB_flush()
285 const uint8_t *CBB_data(const CBB *cbb) { in CBB_data()
290 size_t CBB_len(const CBB *cbb) { in CBB_len()
297 static int cbb_add_length_prefixed(CBB *cbb, CBB *out_contents, in cbb_add_length_prefixed()
311 OPENSSL_memset(out_contents, 0, sizeof(CBB)); in cbb_add_length_prefixed()
321 int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u8_length_prefixed()
325 int CBB_add_u16_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u16_length_prefixed()
329 int CBB_add_u24_length_prefixed(CBB *cbb, CBB *out_contents) { in CBB_add_u24_length_prefixed()
336 static int add_base128_integer(CBB *cbb, uint64_t v) { in add_base128_integer()
359 int CBB_add_asn1(CBB *cbb, CBB *out_contents, unsigned tag) { in CBB_add_asn1()
382 OPENSSL_memset(out_contents, 0, sizeof(CBB)); in CBB_add_asn1()
392 int CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len) { in CBB_add_bytes()
403 int CBB_add_space(CBB *cbb, uint8_t **out_data, size_t len) { in CBB_add_space()
411 int CBB_reserve(CBB *cbb, uint8_t **out_data, size_t len) { in CBB_reserve()
419 int CBB_did_write(CBB *cbb, size_t len) { in CBB_did_write()
430 int CBB_add_u8(CBB *cbb, uint8_t value) { in CBB_add_u8()
438 int CBB_add_u16(CBB *cbb, uint16_t value) { in CBB_add_u16()
446 int CBB_add_u24(CBB *cbb, uint32_t value) { in CBB_add_u24()
454 int CBB_add_u32(CBB *cbb, uint32_t value) { in CBB_add_u32()
462 int CBB_add_u64(CBB *cbb, uint64_t value) { in CBB_add_u64()
469 void CBB_discard_child(CBB *cbb) { in CBB_discard_child()
480 int CBB_add_asn1_uint64(CBB *cbb, uint64_t value) { in CBB_add_asn1_uint64()
481 CBB child; in CBB_add_asn1_uint64()
515 int CBB_add_asn1_octet_string(CBB *cbb, const uint8_t *data, size_t data_len) { in CBB_add_asn1_octet_string()
516 CBB child; in CBB_add_asn1_octet_string()
526 int CBB_add_asn1_bool(CBB *cbb, int value) { in CBB_add_asn1_bool()
527 CBB child; in CBB_add_asn1_bool()
568 int CBB_add_asn1_oid_from_text(CBB *cbb, const char *text, size_t len) { in CBB_add_asn1_oid_from_text()
621 int CBB_flush_asn1_set_of(CBB *cbb) { in CBB_flush_asn1_set_of()