Home
last modified time | relevance | path

Searched refs:content_len (Results 1 – 3 of 3) sorted by relevance

/dflybsd-src/crypto/libressl/ssl/
H A Dtls12_record_layer.c684 const uint8_t *content, size_t content_len, size_t *out_len) in tls12_record_layer_mac() argument
698 if (!tls12_record_layer_pseudo_header(rl, content_type, content_len, in tls12_record_layer_mac()
704 if (EVP_DigestSignUpdate(mac_ctx, content, content_len) <= 0) in tls12_record_layer_mac()
733 size_t content_len, size_t mac_len, size_t padding_len) in tls12_record_layer_read_mac_cbc() argument
748 if (!tls12_record_layer_pseudo_header(rl, content_type, content_len, in tls12_record_layer_read_mac_cbc()
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
781 rl->read->stream_mac, seq_num, content_type, content, content_len, in tls12_record_layer_read_mac()
788 size_t content_len, size_t *out_len) in tls12_record_layer_write_mac() argument
791 rl->write->stream_mac, seq_num, content_type, content, content_len, in tls12_record_layer_write_mac()
[all …]
H A Dtls13_record_layer.c25 uint8_t content_type, const uint8_t *content, size_t content_len);
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()
633 uint8_t content_type, const uint8_t *content, size_t content_len) in tls13_record_layer_seal_record_plaintext() argument
653 if (!CBB_init(&cbb, TLS13_RECORD_HEADER_LEN + content_len)) in tls13_record_layer_seal_record_plaintext()
662 if (!CBB_add_bytes(&body, content, content_len)) in tls13_record_layer_seal_record_plaintext()
671 rl->wrec_content_len = content_len; in tls13_record_layer_seal_record_plaintext()
685 uint8_t content_type, const uint8_t *content, size_t content_len) in tls13_record_layer_seal_record_protected() argument
[all …]
H A Dssl_locl.h709 uint8_t content_type, const uint8_t *content, size_t content_len,