Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dssl_tls.c1522 unsigned char pseudo_hdr[13]; in ssl_encrypt_buf() local
1526 memcpy( pseudo_hdr + 0, ssl->out_ctr, 8 ); in ssl_encrypt_buf()
1527 memcpy( pseudo_hdr + 8, ssl->out_hdr, 3 ); in ssl_encrypt_buf()
1528 pseudo_hdr[11] = (unsigned char)( ( ssl->out_msglen >> 8 ) & 0xFF ); in ssl_encrypt_buf()
1529 pseudo_hdr[12] = (unsigned char)( ( ssl->out_msglen ) & 0xFF ); in ssl_encrypt_buf()
1531 MBEDTLS_SSL_DEBUG_BUF( 4, "MAC'd meta-data", pseudo_hdr, 13 ); in ssl_encrypt_buf()
1533 mbedtls_md_hmac_update( &ssl->transform_out->md_ctx_enc, pseudo_hdr, 13 ); in ssl_encrypt_buf()
1735 unsigned char pseudo_hdr[13]; in ssl_decrypt_buf() local
1742 memcpy( pseudo_hdr + 0, ssl->in_ctr, 8 ); in ssl_decrypt_buf()
1743 memcpy( pseudo_hdr + 8, ssl->in_hdr, 3 ); in ssl_decrypt_buf()
[all …]