Searched refs:content_len (Results 1 – 3 of 3) sorted by relevance
/dragonfly/crypto/libressl/ssl/ |
H A D | tls12_record_layer.c | 755 content, content_len + mac_len, content_len + mac_len + padding_len, in tls12_record_layer_read_mac_cbc() 772 size_t content_len) in tls12_record_layer_read_mac() argument 788 size_t content_len, size_t *out_len) in tls12_record_layer_write_mac() argument 1135 return CBB_add_bytes(out, content, content_len); in tls12_record_layer_seal_record_plaintext() 1141 size_t content_len, CBB *out) in tls12_record_layer_seal_record_protected_aead() argument 1171 enc_record_len = content_len + rp->aead_tag_len; in tls12_record_layer_seal_record_protected_aead() 1196 size_t content_len, CBB *out) in tls12_record_layer_seal_record_protected_cipher() argument 1221 if (!CBB_add_bytes(&cbb, content, content_len)) in tls12_record_layer_seal_record_protected_cipher() 1227 seq_num, content, content_len, &mac_len)) in tls12_record_layer_seal_record_protected_cipher() 1231 plain_len = eiv_len + content_len + mac_len; in tls12_record_layer_seal_record_protected_cipher() [all …]
|
H A D | tls13_record_layer.c | 552 size_t content_len = 0; in tls13_record_layer_open_record_protected() local 566 content_len = CBS_len(&enc_record); in tls13_record_layer_open_record_protected() 573 content, &out_len, content_len, in tls13_record_layer_open_record_protected() 614 freezero(content, content_len); in tls13_record_layer_open_record_protected() 671 rl->wrec_content_len = content_len; in tls13_record_layer_seal_record_plaintext() 701 if (!CBB_init(&cbb, content_len + 1)) in tls13_record_layer_seal_record_protected() 703 if (!CBB_add_bytes(&cbb, content, content_len)) in tls13_record_layer_seal_record_protected() 765 rl->wrec_content_len = content_len; in tls13_record_layer_seal_record_protected() 797 content_type, content, content_len); in tls13_record_layer_seal_record() 800 content, content_len); in tls13_record_layer_seal_record() [all …]
|
H A D | ssl_locl.h | 709 uint8_t content_type, const uint8_t *content, size_t content_len,
|