tls13_record_layer
struct tls13_record_layer *rl = cb_arg;
struct tls13_record_layer *rl)
struct tls13_record_layer *rl)
struct tls13_record_layer;
struct tls13_record_layer *tls13_record_layer_new(
void tls13_record_layer_free(struct tls13_record_layer *rl);
void tls13_record_layer_set_callbacks(struct tls13_record_layer *rl,
void tls13_record_layer_allow_ccs(struct tls13_record_layer *rl, int allow);
void tls13_record_layer_allow_legacy_alerts(struct tls13_record_layer *rl, int allow);
void tls13_record_layer_rcontent(struct tls13_record_layer *rl, CBS *cbs);
void tls13_record_layer_set_aead(struct tls13_record_layer *rl,
void tls13_record_layer_set_hash(struct tls13_record_layer *rl,
void tls13_record_layer_set_legacy_version(struct tls13_record_layer *rl,
void tls13_record_layer_set_retry_after_phh(struct tls13_record_layer *rl, int retry);
void tls13_record_layer_alert_sent(struct tls13_record_layer *rl,
void tls13_record_layer_handshake_completed(struct tls13_record_layer *rl);
int tls13_record_layer_set_read_traffic_key(struct tls13_record_layer *rl,
int tls13_record_layer_set_write_traffic_key(struct tls13_record_layer *rl,
ssize_t tls13_record_layer_send_pending(struct tls13_record_layer *rl);
ssize_t tls13_record_layer_phh(struct tls13_record_layer *rl, CBS *cbs);
ssize_t tls13_record_layer_flush(struct tls13_record_layer *rl);
ssize_t tls13_read_handshake_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
ssize_t tls13_write_handshake_data(struct tls13_record_layer *rl, const uint8_t *buf,
ssize_t tls13_pending_application_data(struct tls13_record_layer *rl);
ssize_t tls13_peek_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
ssize_t tls13_read_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n);
ssize_t tls13_write_application_data(struct tls13_record_layer *rl, const uint8_t *buf,
ssize_t tls13_send_alert(struct tls13_record_layer *rl, uint8_t alert_desc);
ssize_t tls13_send_dummy_ccs(struct tls13_record_layer *rl);
struct tls13_record_layer *rl);
struct tls13_record_layer *rl);
struct tls13_record_layer *rl;
tls13_record_layer_peek(struct tls13_record_layer *rl, uint8_t content_type,
tls13_record_layer_read(struct tls13_record_layer *rl, uint8_t content_type,
tls13_record_layer_write_record(struct tls13_record_layer *rl,
tls13_record_layer_write_chunk(struct tls13_record_layer *rl,
tls13_record_layer_write(struct tls13_record_layer *rl, uint8_t content_type,
tls13_record_layer_flush(struct tls13_record_layer *rl)
tls13_send_dummy_ccs(struct tls13_record_layer *rl)
tls13_read_handshake_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n)
tls13_write_handshake_data(struct tls13_record_layer *rl, const uint8_t *buf,
tls13_pending_application_data(struct tls13_record_layer *rl)
tls13_record_layer_rrec_free(struct tls13_record_layer *rl)
tls13_peek_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n)
tls13_read_application_data(struct tls13_record_layer *rl, uint8_t *buf, size_t n)
tls13_write_application_data(struct tls13_record_layer *rl, const uint8_t *buf,
tls13_send_alert(struct tls13_record_layer *rl, uint8_t alert_desc)
tls13_record_layer_wrec_free(struct tls13_record_layer *rl)
struct tls13_record_layer *
struct tls13_record_layer *rl;
if ((rl = calloc(1, sizeof(struct tls13_record_layer))) == NULL)
tls13_record_layer_free(struct tls13_record_layer *rl)
freezero(rl, sizeof(struct tls13_record_layer));
tls13_record_layer_set_callbacks(struct tls13_record_layer *rl,
tls13_record_layer_rcontent(struct tls13_record_layer *rl, CBS *cbs)
static ssize_t tls13_record_layer_write_chunk(struct tls13_record_layer *rl,
tls13_record_layer_allow_ccs(struct tls13_record_layer *rl, int allow)
static ssize_t tls13_record_layer_write_record(struct tls13_record_layer *rl,
tls13_record_layer_allow_legacy_alerts(struct tls13_record_layer *rl, int allow)
tls13_record_layer_set_aead(struct tls13_record_layer *rl,
tls13_record_layer_set_hash(struct tls13_record_layer *rl,
tls13_record_layer_set_legacy_version(struct tls13_record_layer *rl,
tls13_record_layer_handshake_completed(struct tls13_record_layer *rl)
tls13_record_layer_set_retry_after_phh(struct tls13_record_layer *rl, int retry)
tls13_record_layer_process_alert(struct tls13_record_layer *rl)
tls13_record_layer_alert_sent(struct tls13_record_layer *rl,
tls13_record_layer_send_alert(struct tls13_record_layer *rl)
tls13_record_layer_send_phh(struct tls13_record_layer *rl)
tls13_record_layer_send_pending(struct tls13_record_layer *rl)
tls13_record_layer_enqueue_alert(struct tls13_record_layer *rl,
tls13_record_layer_phh(struct tls13_record_layer *rl, CBS *cbs)
tls13_record_layer_set_read_traffic_key(struct tls13_record_layer *rl,
tls13_record_layer_set_write_traffic_key(struct tls13_record_layer *rl,
tls13_record_layer_open_record_plaintext(struct tls13_record_layer *rl)
tls13_record_layer_open_record_protected(struct tls13_record_layer *rl)
tls13_record_layer_open_record(struct tls13_record_layer *rl)
tls13_record_layer_seal_record_plaintext(struct tls13_record_layer *rl,
tls13_record_layer_seal_record_protected(struct tls13_record_layer *rl,
tls13_record_layer_seal_record(struct tls13_record_layer *rl,
tls13_record_layer_read_record(struct tls13_record_layer *rl)
tls13_record_layer_pending(struct tls13_record_layer *rl, uint8_t content_type)
tls13_record_layer_recv_phh(struct tls13_record_layer *rl)
tls13_record_layer_read_internal(struct tls13_record_layer *rl,