Lines Matching defs:cbs

24 CBS_init(CBS *cbs, const uint8_t *data, size_t len)  in CBS_init()
32 CBS_dup(const CBS *cbs, CBS *out) in CBS_dup()
39 cbs_get(CBS *cbs, const uint8_t **p, size_t n) in cbs_get()
51 cbs_peek(CBS *cbs, const uint8_t **p, size_t n) in cbs_peek()
61 CBS_offset(const CBS *cbs) in CBS_offset()
67 CBS_skip(CBS *cbs, size_t len) in CBS_skip()
74 CBS_data(const CBS *cbs) in CBS_data()
80 CBS_len(const CBS *cbs) in CBS_len()
86 CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len) in CBS_stow()
105 CBS_strdup(const CBS *cbs, char **out_ptr) in CBS_strdup()
118 CBS_write_bytes(const CBS *cbs, uint8_t *dst, size_t dst_len, size_t *copied) in CBS_write_bytes()
132 CBS_contains_zero_byte(const CBS *cbs) in CBS_contains_zero_byte()
138 CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len) in CBS_mem_equal()
147 cbs_get_u(CBS *cbs, uint32_t *out, size_t len) in cbs_get_u()
168 CBS_get_u8(CBS *cbs, uint8_t *out) in CBS_get_u8()
180 CBS_get_u16(CBS *cbs, uint16_t *out) in CBS_get_u16()
192 CBS_get_u24(CBS *cbs, uint32_t *out) in CBS_get_u24()
198 CBS_get_u32(CBS *cbs, uint32_t *out) in CBS_get_u32()
204 CBS_get_u64(CBS *cbs, uint64_t *out) in CBS_get_u64()
221 CBS_get_last_u8(CBS *cbs, uint8_t *out) in CBS_get_last_u8()
232 CBS_get_bytes(CBS *cbs, CBS *out, size_t len) in CBS_get_bytes()
244 cbs_get_length_prefixed(CBS *cbs, CBS *out, size_t len_len) in cbs_get_length_prefixed()
255 CBS_get_u8_length_prefixed(CBS *cbs, CBS *out) in CBS_get_u8_length_prefixed()
261 CBS_get_u16_length_prefixed(CBS *cbs, CBS *out) in CBS_get_u16_length_prefixed()
267 CBS_get_u24_length_prefixed(CBS *cbs, CBS *out) in CBS_get_u24_length_prefixed()
273 cbs_peek_u(CBS *cbs, uint32_t *out, size_t len) in cbs_peek_u()
294 CBS_peek_u8(CBS *cbs, uint8_t *out) in CBS_peek_u8()
306 CBS_peek_u16(CBS *cbs, uint16_t *out) in CBS_peek_u16()
318 CBS_peek_u24(CBS *cbs, uint32_t *out) in CBS_peek_u24()
324 CBS_peek_u32(CBS *cbs, uint32_t *out) in CBS_peek_u32()
330 CBS_peek_last_u8(CBS *cbs, uint8_t *out) in CBS_peek_last_u8()
340 CBS_get_any_asn1_element(CBS *cbs, CBS *out, unsigned int *out_tag, in CBS_get_any_asn1_element()
357 cbs_get_any_asn1_element_internal(CBS *cbs, CBS *out, unsigned int *out_tag, in cbs_get_any_asn1_element_internal()
443 cbs_get_asn1(CBS *cbs, CBS *out, unsigned int tag_value, int skip_header) in cbs_get_asn1()
463 CBS_get_asn1(CBS *cbs, CBS *out, unsigned int tag_value) in CBS_get_asn1()
469 CBS_get_asn1_element(CBS *cbs, CBS *out, unsigned int tag_value) in CBS_get_asn1_element()
475 CBS_peek_asn1_tag(const CBS *cbs, unsigned int tag_value) in CBS_peek_asn1_tag()
492 CBS_get_asn1_uint64(CBS *cbs, uint64_t *out) in CBS_get_asn1_uint64()
530 CBS_get_optional_asn1(CBS *cbs, CBS *out, int *out_present, unsigned int tag) in CBS_get_optional_asn1()
544 CBS_get_optional_asn1_octet_string(CBS *cbs, CBS *out, int *out_present, in CBS_get_optional_asn1_octet_string()
567 CBS_get_optional_asn1_uint64(CBS *cbs, uint64_t *out, unsigned int tag, in CBS_get_optional_asn1_uint64()
587 CBS_get_optional_asn1_bool(CBS *cbs, int *out, unsigned int tag, in CBS_get_optional_asn1_bool()