tls12_record_layer
struct tls12_record_layer *rl;
struct tls12_record_layer;
struct tls12_record_layer *tls12_record_layer_new(void);
void tls12_record_layer_free(struct tls12_record_layer *rl);
void tls12_record_layer_alert(struct tls12_record_layer *rl,
int tls12_record_layer_write_overhead(struct tls12_record_layer *rl,
int tls12_record_layer_read_protected(struct tls12_record_layer *rl);
int tls12_record_layer_write_protected(struct tls12_record_layer *rl);
void tls12_record_layer_set_aead(struct tls12_record_layer *rl,
void tls12_record_layer_set_cipher_hash(struct tls12_record_layer *rl,
void tls12_record_layer_set_version(struct tls12_record_layer *rl,
void tls12_record_layer_set_initial_epoch(struct tls12_record_layer *rl,
uint16_t tls12_record_layer_read_epoch(struct tls12_record_layer *rl);
uint16_t tls12_record_layer_write_epoch(struct tls12_record_layer *rl);
int tls12_record_layer_use_write_epoch(struct tls12_record_layer *rl,
void tls12_record_layer_write_epoch_done(struct tls12_record_layer *rl,
void tls12_record_layer_clear_read_state(struct tls12_record_layer *rl);
void tls12_record_layer_clear_write_state(struct tls12_record_layer *rl);
void tls12_record_layer_reflect_seq_num(struct tls12_record_layer *rl);
int tls12_record_layer_change_read_cipher_state(struct tls12_record_layer *rl,
int tls12_record_layer_change_write_cipher_state(struct tls12_record_layer *rl,
int tls12_record_layer_open_record(struct tls12_record_layer *rl,
int tls12_record_layer_seal_record(struct tls12_record_layer *rl,
tls12_record_layer_open_record(struct tls12_record_layer *rl, uint8_t *buf,
tls12_record_layer_seal_record_plaintext(struct tls12_record_layer *rl,
tls12_record_layer_seal_record_protected_aead(struct tls12_record_layer *rl,
tls12_record_layer_seal_record_protected_cipher(struct tls12_record_layer *rl,
tls12_record_layer_seal_record(struct tls12_record_layer *rl,
struct tls12_record_layer *
struct tls12_record_layer *rl;
if ((rl = calloc(1, sizeof(struct tls12_record_layer))) == NULL)
tls12_record_layer_free(struct tls12_record_layer *rl)
freezero(rl, sizeof(struct tls12_record_layer));
tls12_record_layer_alert(struct tls12_record_layer *rl, uint8_t *alert_desc)
tls12_record_layer_write_overhead(struct tls12_record_layer *rl,
tls12_record_layer_read_protected(struct tls12_record_layer *rl)
tls12_record_layer_write_protected(struct tls12_record_layer *rl)
tls12_record_layer_set_aead(struct tls12_record_layer *rl, const EVP_AEAD *aead)
tls12_record_layer_set_cipher_hash(struct tls12_record_layer *rl,
tls12_record_layer_set_version(struct tls12_record_layer *rl, uint16_t version)
tls12_record_layer_set_initial_epoch(struct tls12_record_layer *rl,
tls12_record_layer_read_epoch(struct tls12_record_layer *rl)
tls12_record_layer_write_epoch(struct tls12_record_layer *rl)
tls12_record_layer_use_write_epoch(struct tls12_record_layer *rl, uint16_t epoch)
tls12_record_layer_write_epoch_done(struct tls12_record_layer *rl, uint16_t epoch)
tls12_record_layer_clear_read_state(struct tls12_record_layer *rl)
tls12_record_layer_clear_write_state(struct tls12_record_layer *rl)
tls12_record_layer_reflect_seq_num(struct tls12_record_layer *rl)
tls12_record_layer_inc_seq_num(struct tls12_record_layer *rl, uint8_t *seq_num)
tls12_record_layer_ccs_aead(struct tls12_record_layer *rl,
tls12_record_layer_ccs_cipher(struct tls12_record_layer *rl,
tls12_record_layer_change_cipher_state(struct tls12_record_layer *rl,
tls12_record_layer_change_read_cipher_state(struct tls12_record_layer *rl,
tls12_record_layer_change_write_cipher_state(struct tls12_record_layer *rl,
tls12_record_layer_build_seq_num(struct tls12_record_layer *rl, CBB *cbb,
tls12_record_layer_pseudo_header(struct tls12_record_layer *rl,
tls12_record_layer_mac(struct tls12_record_layer *rl, CBB *cbb,
tls12_record_layer_read_mac_cbc(struct tls12_record_layer *rl, CBB *cbb,
tls12_record_layer_read_mac(struct tls12_record_layer *rl, CBB *cbb,
tls12_record_layer_write_mac(struct tls12_record_layer *rl, CBB *cbb,
tls12_record_layer_aead_concat_nonce(struct tls12_record_layer *rl,
tls12_record_layer_aead_xored_nonce(struct tls12_record_layer *rl,
tls12_record_layer_open_record_plaintext(struct tls12_record_layer *rl,
tls12_record_layer_open_record_protected_aead(struct tls12_record_layer *rl,
tls12_record_layer_open_record_protected_cipher(struct tls12_record_layer *rl,
void tls12_record_layer_set_initial_epoch(struct tls12_record_layer *rl,
struct tls12_record_layer *rl;
int tls12_record_layer_inc_seq_num(struct tls12_record_layer *rl,