Lines Matching refs:CBB
372 CBB *child;
389 OPENSSL_EXPORT void CBB_zero(CBB *cbb);
394 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity);
399 OPENSSL_EXPORT int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len);
408 OPENSSL_EXPORT void CBB_cleanup(CBB *cbb);
418 OPENSSL_EXPORT int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len);
425 OPENSSL_EXPORT int CBB_flush(CBB *cbb);
432 OPENSSL_EXPORT const uint8_t *CBB_data(const CBB *cbb);
439 OPENSSL_EXPORT size_t CBB_len(const CBB *cbb);
444 OPENSSL_EXPORT int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents);
449 OPENSSL_EXPORT int CBB_add_u16_length_prefixed(CBB *cbb, CBB *out_contents);
454 OPENSSL_EXPORT int CBB_add_u24_length_prefixed(CBB *cbb, CBB *out_contents);
459 OPENSSL_EXPORT int CBB_add_asn1(CBB *cbb, CBB *out_contents, unsigned tag);
463 OPENSSL_EXPORT int CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len);
469 OPENSSL_EXPORT int CBB_add_space(CBB *cbb, uint8_t **out_data, size_t len);
476 OPENSSL_EXPORT int CBB_reserve(CBB *cbb, uint8_t **out_data, size_t len);
480 OPENSSL_EXPORT int CBB_did_write(CBB *cbb, size_t len);
484 OPENSSL_EXPORT int CBB_add_u8(CBB *cbb, uint8_t value);
488 OPENSSL_EXPORT int CBB_add_u16(CBB *cbb, uint16_t value);
492 OPENSSL_EXPORT int CBB_add_u16le(CBB *cbb, uint16_t value);
496 OPENSSL_EXPORT int CBB_add_u24(CBB *cbb, uint32_t value);
500 OPENSSL_EXPORT int CBB_add_u32(CBB *cbb, uint32_t value);
504 OPENSSL_EXPORT int CBB_add_u32le(CBB *cbb, uint32_t value);
508 OPENSSL_EXPORT int CBB_add_u64(CBB *cbb, uint64_t value);
512 OPENSSL_EXPORT int CBB_add_u64le(CBB *cbb, uint64_t value);
516 OPENSSL_EXPORT void CBB_discard_child(CBB *cbb);
521 OPENSSL_EXPORT int CBB_add_asn1_uint64(CBB *cbb, uint64_t value);
526 OPENSSL_EXPORT int CBB_add_asn1_int64(CBB *cbb, int64_t value);
530 OPENSSL_EXPORT int CBB_add_asn1_octet_string(CBB *cbb, const uint8_t *data,
535 OPENSSL_EXPORT int CBB_add_asn1_bool(CBB *cbb, int value);
545 OPENSSL_EXPORT int CBB_add_asn1_oid_from_text(CBB *cbb, const char *text,
555 OPENSSL_EXPORT int CBB_flush_asn1_set_of(CBB *cbb);
567 using ScopedCBB = internal::StackAllocated<CBB, void, CBB_zero, CBB_cleanup>;