• Home
  • Raw
  • Download

Lines Matching refs:OPENSSL_EXPORT

59 OPENSSL_EXPORT void CBS_init(CBS *cbs, const uint8_t *data, size_t len);
63 OPENSSL_EXPORT int CBS_skip(CBS *cbs, size_t len);
66 OPENSSL_EXPORT const uint8_t *CBS_data(const CBS *cbs);
69 OPENSSL_EXPORT size_t CBS_len(const CBS *cbs);
76 OPENSSL_EXPORT int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len);
85 OPENSSL_EXPORT int CBS_strdup(const CBS *cbs, char **out_ptr);
89 OPENSSL_EXPORT int CBS_contains_zero_byte(const CBS *cbs);
94 OPENSSL_EXPORT int CBS_mem_equal(const CBS *cbs, const uint8_t *data,
99 OPENSSL_EXPORT int CBS_get_u8(CBS *cbs, uint8_t *out);
103 OPENSSL_EXPORT int CBS_get_u16(CBS *cbs, uint16_t *out);
107 OPENSSL_EXPORT int CBS_get_u16le(CBS *cbs, uint16_t *out);
111 OPENSSL_EXPORT int CBS_get_u24(CBS *cbs, uint32_t *out);
115 OPENSSL_EXPORT int CBS_get_u32(CBS *cbs, uint32_t *out);
119 OPENSSL_EXPORT int CBS_get_u32le(CBS *cbs, uint32_t *out);
123 OPENSSL_EXPORT int CBS_get_u64(CBS *cbs, uint64_t *out);
127 OPENSSL_EXPORT int CBS_get_u64le(CBS *cbs, uint64_t *out);
131 OPENSSL_EXPORT int CBS_get_last_u8(CBS *cbs, uint8_t *out);
135 OPENSSL_EXPORT int CBS_get_bytes(CBS *cbs, CBS *out, size_t len);
139 OPENSSL_EXPORT int CBS_copy_bytes(CBS *cbs, uint8_t *out, size_t len);
144 OPENSSL_EXPORT int CBS_get_u8_length_prefixed(CBS *cbs, CBS *out);
149 OPENSSL_EXPORT int CBS_get_u16_length_prefixed(CBS *cbs, CBS *out);
154 OPENSSL_EXPORT int CBS_get_u24_length_prefixed(CBS *cbs, CBS *out);
227 OPENSSL_EXPORT int CBS_get_asn1(CBS *cbs, CBS *out, unsigned tag_value);
231 OPENSSL_EXPORT int CBS_get_asn1_element(CBS *cbs, CBS *out, unsigned tag_value);
238 OPENSSL_EXPORT int CBS_peek_asn1_tag(const CBS *cbs, unsigned tag_value);
244 OPENSSL_EXPORT int CBS_get_any_asn1(CBS *cbs, CBS *out, unsigned *out_tag);
250 OPENSSL_EXPORT int CBS_get_any_asn1_element(CBS *cbs, CBS *out,
261 OPENSSL_EXPORT int CBS_get_any_ber_asn1_element(CBS *cbs, CBS *out,
270 OPENSSL_EXPORT int CBS_get_asn1_uint64(CBS *cbs, uint64_t *out);
275 OPENSSL_EXPORT int CBS_get_asn1_int64(CBS *cbs, int64_t *out);
279 OPENSSL_EXPORT int CBS_get_asn1_bool(CBS *cbs, int *out);
286 OPENSSL_EXPORT int CBS_get_optional_asn1(CBS *cbs, CBS *out, int *out_present,
295 OPENSSL_EXPORT int CBS_get_optional_asn1_octet_string(CBS *cbs, CBS *out,
304 OPENSSL_EXPORT int CBS_get_optional_asn1_uint64(CBS *cbs, uint64_t *out,
313 OPENSSL_EXPORT int CBS_get_optional_asn1_bool(CBS *cbs, int *out, unsigned tag,
318 OPENSSL_EXPORT int CBS_is_valid_asn1_bitstring(const CBS *cbs);
323 OPENSSL_EXPORT int CBS_asn1_bitstring_has_bit(const CBS *cbs, unsigned bit);
329 OPENSSL_EXPORT int CBS_is_valid_asn1_integer(const CBS *cbs,
334 OPENSSL_EXPORT int CBS_is_unsigned_asn1_integer(const CBS *cbs);
341 OPENSSL_EXPORT char *CBS_asn1_oid_to_text(const CBS *cbs);
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);