Lines Matching refs:OPENSSL_EXPORT

44 OPENSSL_EXPORT void CBS_init(CBS *cbs, const uint8_t *data, size_t len);
48 OPENSSL_EXPORT int CBS_skip(CBS *cbs, size_t len);
51 OPENSSL_EXPORT const uint8_t *CBS_data(const CBS *cbs);
54 OPENSSL_EXPORT size_t CBS_len(const CBS *cbs);
61 OPENSSL_EXPORT int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len);
70 OPENSSL_EXPORT int CBS_strdup(const CBS *cbs, char **out_ptr);
74 OPENSSL_EXPORT int CBS_contains_zero_byte(const CBS *cbs);
79 OPENSSL_EXPORT int CBS_mem_equal(const CBS *cbs, const uint8_t *data,
84 OPENSSL_EXPORT int CBS_get_u8(CBS *cbs, uint8_t *out);
88 OPENSSL_EXPORT int CBS_get_u16(CBS *cbs, uint16_t *out);
92 OPENSSL_EXPORT int CBS_get_u24(CBS *cbs, uint32_t *out);
96 OPENSSL_EXPORT int CBS_get_u32(CBS *cbs, uint32_t *out);
100 OPENSSL_EXPORT int CBS_get_last_u8(CBS *cbs, uint8_t *out);
104 OPENSSL_EXPORT int CBS_get_bytes(CBS *cbs, CBS *out, size_t len);
108 OPENSSL_EXPORT int CBS_copy_bytes(CBS *cbs, uint8_t *out, size_t len);
113 OPENSSL_EXPORT int CBS_get_u8_length_prefixed(CBS *cbs, CBS *out);
118 OPENSSL_EXPORT int CBS_get_u16_length_prefixed(CBS *cbs, CBS *out);
123 OPENSSL_EXPORT int CBS_get_u24_length_prefixed(CBS *cbs, CBS *out);
180 OPENSSL_EXPORT int CBS_get_asn1(CBS *cbs, CBS *out, unsigned tag_value);
184 OPENSSL_EXPORT int CBS_get_asn1_element(CBS *cbs, CBS *out, unsigned tag_value);
191 OPENSSL_EXPORT int CBS_peek_asn1_tag(const CBS *cbs, unsigned tag_value);
199 OPENSSL_EXPORT int CBS_get_any_asn1(CBS *cbs, CBS *out, unsigned *out_tag);
207 OPENSSL_EXPORT int CBS_get_any_asn1_element(CBS *cbs, CBS *out,
215 OPENSSL_EXPORT int CBS_get_any_ber_asn1_element(CBS *cbs, CBS *out,
223 OPENSSL_EXPORT int CBS_get_asn1_uint64(CBS *cbs, uint64_t *out);
230 OPENSSL_EXPORT int CBS_get_optional_asn1(CBS *cbs, CBS *out, int *out_present,
239 OPENSSL_EXPORT int CBS_get_optional_asn1_octet_string(CBS *cbs, CBS *out,
248 OPENSSL_EXPORT int CBS_get_optional_asn1_uint64(CBS *cbs, uint64_t *out,
257 OPENSSL_EXPORT int CBS_get_optional_asn1_bool(CBS *cbs, int *out, unsigned tag,
262 OPENSSL_EXPORT int CBS_is_valid_asn1_bitstring(const CBS *cbs);
267 OPENSSL_EXPORT int CBS_asn1_bitstring_has_bit(const CBS *cbs, unsigned bit);
315 OPENSSL_EXPORT void CBB_zero(CBB *cbb);
320 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity);
325 OPENSSL_EXPORT int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len);
334 OPENSSL_EXPORT void CBB_cleanup(CBB *cbb);
344 OPENSSL_EXPORT int CBB_finish(CBB *cbb, uint8_t **out_data, size_t *out_len);
351 OPENSSL_EXPORT int CBB_flush(CBB *cbb);
358 OPENSSL_EXPORT const uint8_t *CBB_data(const CBB *cbb);
365 OPENSSL_EXPORT size_t CBB_len(const CBB *cbb);
370 OPENSSL_EXPORT int CBB_add_u8_length_prefixed(CBB *cbb, CBB *out_contents);
375 OPENSSL_EXPORT int CBB_add_u16_length_prefixed(CBB *cbb, CBB *out_contents);
380 OPENSSL_EXPORT int CBB_add_u24_length_prefixed(CBB *cbb, CBB *out_contents);
387 OPENSSL_EXPORT int CBB_add_asn1(CBB *cbb, CBB *out_contents, unsigned tag);
391 OPENSSL_EXPORT int CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len);
397 OPENSSL_EXPORT int CBB_add_space(CBB *cbb, uint8_t **out_data, size_t len);
404 OPENSSL_EXPORT int CBB_reserve(CBB *cbb, uint8_t **out_data, size_t len);
408 OPENSSL_EXPORT int CBB_did_write(CBB *cbb, size_t len);
412 OPENSSL_EXPORT int CBB_add_u8(CBB *cbb, uint8_t value);
416 OPENSSL_EXPORT int CBB_add_u16(CBB *cbb, uint16_t value);
420 OPENSSL_EXPORT int CBB_add_u24(CBB *cbb, uint32_t value);
424 OPENSSL_EXPORT int CBB_add_u32(CBB *cbb, uint32_t value);
428 OPENSSL_EXPORT void CBB_discard_child(CBB *cbb);
433 OPENSSL_EXPORT int CBB_add_asn1_uint64(CBB *cbb, uint64_t value);