Lines Matching refs:record
1616 int mbedtls_test_ssl_prepare_record_mac(mbedtls_record *record, in mbedtls_test_ssl_prepare_record_mac() argument
1625 memcpy(add_data, record->ctr, 8); in mbedtls_test_ssl_prepare_record_mac()
1626 add_data[8] = record->type; in mbedtls_test_ssl_prepare_record_mac()
1627 add_data[9] = record->ver[0]; in mbedtls_test_ssl_prepare_record_mac()
1628 add_data[10] = record->ver[1]; in mbedtls_test_ssl_prepare_record_mac()
1629 add_data[11] = (record->data_len >> 8) & 0xff; in mbedtls_test_ssl_prepare_record_mac()
1630 add_data[12] = (record->data_len >> 0) & 0xff; in mbedtls_test_ssl_prepare_record_mac()
1640 record->buf + record->data_offset, in mbedtls_test_ssl_prepare_record_mac()
1641 record->data_len)); in mbedtls_test_ssl_prepare_record_mac()
1652 record->buf + record->data_offset, in mbedtls_test_ssl_prepare_record_mac()
1653 record->data_len)); in mbedtls_test_ssl_prepare_record_mac()
1660 memcpy(record->buf + record->data_offset + record->data_len, mac, transform_out->maclen); in mbedtls_test_ssl_prepare_record_mac()
1661 record->data_len += transform_out->maclen; in mbedtls_test_ssl_prepare_record_mac()