Lines Matching defs:cbs
25 CBS_init(CBS *cbs, const uint8_t *data, size_t len) in CBS_init()
33 CBS_dup(const CBS *cbs, CBS *out) in CBS_dup()
40 cbs_get(CBS *cbs, const uint8_t **p, size_t n) in cbs_get()
52 cbs_peek(CBS *cbs, const uint8_t **p, size_t n) in cbs_peek()
62 CBS_offset(const CBS *cbs) in CBS_offset()
68 CBS_skip(CBS *cbs, size_t len) in CBS_skip()
75 CBS_data(const CBS *cbs) in CBS_data()
81 CBS_len(const CBS *cbs) in CBS_len()
87 CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len) in CBS_stow()
106 CBS_strdup(const CBS *cbs, char **out_ptr) in CBS_strdup()
119 CBS_write_bytes(const CBS *cbs, uint8_t *dst, size_t dst_len, size_t *copied) in CBS_write_bytes()
133 CBS_contains_zero_byte(const CBS *cbs) in CBS_contains_zero_byte()
139 CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len) in CBS_mem_equal()
148 cbs_get_u(CBS *cbs, uint32_t *out, size_t len) in cbs_get_u()
169 CBS_get_u8(CBS *cbs, uint8_t *out) in CBS_get_u8()
181 CBS_get_u16(CBS *cbs, uint16_t *out) in CBS_get_u16()
193 CBS_get_u24(CBS *cbs, uint32_t *out) in CBS_get_u24()
199 CBS_get_u32(CBS *cbs, uint32_t *out) in CBS_get_u32()
205 CBS_get_u64(CBS *cbs, uint64_t *out) in CBS_get_u64()
222 CBS_get_last_u8(CBS *cbs, uint8_t *out) in CBS_get_last_u8()
233 CBS_get_bytes(CBS *cbs, CBS *out, size_t len) in CBS_get_bytes()
245 cbs_get_length_prefixed(CBS *cbs, CBS *out, size_t len_len) in cbs_get_length_prefixed()
256 CBS_get_u8_length_prefixed(CBS *cbs, CBS *out) in CBS_get_u8_length_prefixed()
262 CBS_get_u16_length_prefixed(CBS *cbs, CBS *out) in CBS_get_u16_length_prefixed()
268 CBS_get_u24_length_prefixed(CBS *cbs, CBS *out) in CBS_get_u24_length_prefixed()
274 cbs_peek_u(CBS *cbs, uint32_t *out, size_t len) in cbs_peek_u()
295 CBS_peek_u8(CBS *cbs, uint8_t *out) in CBS_peek_u8()
307 CBS_peek_u16(CBS *cbs, uint16_t *out) in CBS_peek_u16()
319 CBS_peek_u24(CBS *cbs, uint32_t *out) in CBS_peek_u24()
325 CBS_peek_u32(CBS *cbs, uint32_t *out) in CBS_peek_u32()
331 CBS_peek_last_u8(CBS *cbs, uint8_t *out) in CBS_peek_last_u8()
341 CBS_get_any_asn1_element(CBS *cbs, CBS *out, unsigned int *out_tag, in CBS_get_any_asn1_element()
358 cbs_get_any_asn1_element_internal(CBS *cbs, CBS *out, unsigned int *out_tag, in cbs_get_any_asn1_element_internal()
444 cbs_get_asn1(CBS *cbs, CBS *out, unsigned int tag_value, int skip_header) in cbs_get_asn1()
464 CBS_get_asn1(CBS *cbs, CBS *out, unsigned int tag_value) in CBS_get_asn1()
470 CBS_get_asn1_element(CBS *cbs, CBS *out, unsigned int tag_value) in CBS_get_asn1_element()
476 CBS_peek_asn1_tag(const CBS *cbs, unsigned int tag_value) in CBS_peek_asn1_tag()
493 CBS_get_asn1_uint64(CBS *cbs, uint64_t *out) in CBS_get_asn1_uint64()
531 CBS_get_optional_asn1(CBS *cbs, CBS *out, int *out_present, unsigned int tag) in CBS_get_optional_asn1()
545 CBS_get_optional_asn1_octet_string(CBS *cbs, CBS *out, int *out_present, in CBS_get_optional_asn1_octet_string()
568 CBS_get_optional_asn1_uint64(CBS *cbs, uint64_t *out, unsigned int tag, in CBS_get_optional_asn1_uint64()
588 CBS_get_optional_asn1_bool(CBS *cbs, int *out, unsigned int tag, in CBS_get_optional_asn1_bool()