Lines Matching refs:header_len
3483 size_t header_len; in ssl_write_client_key_exchange() local
3499 header_len = 6; in ssl_write_client_key_exchange()
3503 &ssl->out_msg[header_len], content_len, in ssl_write_client_key_exchange()
3544 header_len = 4; in ssl_write_client_key_exchange()
3588 ssl->out_msg[header_len] = (unsigned char) own_pubkey_ecpoint_len; in ssl_write_client_key_exchange()
3589 memcpy( ssl->out_msg + header_len + 1, in ssl_write_client_key_exchange()
3627 header_len = 4; in ssl_write_client_key_exchange()
3641 &ssl->out_msg[header_len], 1000, in ssl_write_client_key_exchange()
3703 header_len = 4; in ssl_write_client_key_exchange()
3706 if( header_len + 2 + content_len > MBEDTLS_SSL_OUT_CONTENT_LEN ) in ssl_write_client_key_exchange()
3713 ssl->out_msg[header_len++] = MBEDTLS_BYTE_1( content_len ); in ssl_write_client_key_exchange()
3714 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0( content_len ); in ssl_write_client_key_exchange()
3716 memcpy( ssl->out_msg + header_len, in ssl_write_client_key_exchange()
3719 header_len += ssl->conf->psk_identity_len; in ssl_write_client_key_exchange()
3737 if( ( ret = ssl_write_encrypted_pms( ssl, header_len, in ssl_write_client_key_exchange()
3757 if( header_len + 2 + content_len > in ssl_write_client_key_exchange()
3765 ssl->out_msg[header_len++] = MBEDTLS_BYTE_1( content_len ); in ssl_write_client_key_exchange()
3766 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0( content_len ); in ssl_write_client_key_exchange()
3770 &ssl->out_msg[header_len], content_len, in ssl_write_client_key_exchange()
3794 &ssl->out_msg[header_len], in ssl_write_client_key_exchange()
3795 MBEDTLS_SSL_OUT_CONTENT_LEN - header_len, in ssl_write_client_key_exchange()
3838 header_len = 4; in ssl_write_client_key_exchange()
3839 if( ( ret = ssl_write_encrypted_pms( ssl, header_len, in ssl_write_client_key_exchange()
3848 header_len = 4; in ssl_write_client_key_exchange()
3851 ssl->out_msg + header_len, in ssl_write_client_key_exchange()
3852 MBEDTLS_SSL_OUT_CONTENT_LEN - header_len, in ssl_write_client_key_exchange()
3878 ssl->out_msglen = header_len + content_len; in ssl_write_client_key_exchange()