Lines Matching refs:WPACKET
653 typedef struct wpacket_st WPACKET; typedef
703 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);
709 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf);
716 int WPACKET_init_null(WPACKET *pkt, size_t lenbytes);
722 int WPACKET_init_null_der(WPACKET *pkt);
729 int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len,
737 int WPACKET_init_der(WPACKET *pkt, unsigned char *buf, size_t len);
742 int WPACKET_set_flags(WPACKET *pkt, unsigned int flags);
750 int WPACKET_close(WPACKET *pkt);
756 int WPACKET_finish(WPACKET *pkt);
765 int WPACKET_fill_lengths(WPACKET *pkt);
772 int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes);
791 int WPACKET_start_sub_packet(WPACKET *pkt);
801 int WPACKET_allocate_bytes(WPACKET *pkt, size_t len,
810 int WPACKET_sub_allocate_bytes__(WPACKET *pkt, size_t len,
844 int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes);
849 int WPACKET_sub_reserve_bytes__(WPACKET *pkt, size_t len,
871 int WPACKET_put_bytes__(WPACKET *pkt, uint64_t val, size_t bytes);
889 int WPACKET_set_max_size(WPACKET *pkt, size_t maxsize);
892 int WPACKET_memcpy(WPACKET *pkt, const void *src, size_t len);
895 int WPACKET_memset(WPACKET *pkt, int ch, size_t len);
902 int WPACKET_sub_memcpy__(WPACKET *pkt, const void *src, size_t len,
919 int WPACKET_get_total_written(WPACKET *pkt, size_t *written);
925 int WPACKET_get_length(WPACKET *pkt, size_t *len);
931 unsigned char *WPACKET_get_curr(WPACKET *pkt);
934 int WPACKET_is_null_buf(WPACKET *pkt);
937 void WPACKET_cleanup(WPACKET *pkt);