Lines Matching refs:d_td
10242 const struct docsis_test_data *d_td = data; in test_docsis_proto_uplink() local
10289 d_td->key.len, in test_docsis_proto_uplink()
10290 d_td->iv.len) == 0) in test_docsis_proto_uplink()
10304 d_td->ciphertext.len); in test_docsis_proto_uplink()
10306 memcpy(ciphertext, d_td->ciphertext.data, d_td->ciphertext.len); in test_docsis_proto_uplink()
10312 ut_params->cipher_xform.cipher.key.data = d_td->key.data; in test_docsis_proto_uplink()
10313 ut_params->cipher_xform.cipher.key.length = d_td->key.len; in test_docsis_proto_uplink()
10314 ut_params->cipher_xform.cipher.iv.length = d_td->iv.len; in test_docsis_proto_uplink()
10351 crc_len = d_td->ciphertext.no_crc == false ? in test_docsis_proto_uplink()
10352 (d_td->ciphertext.len - in test_docsis_proto_uplink()
10353 d_td->ciphertext.crc_offset - in test_docsis_proto_uplink()
10359 ut_params->op->sym->auth.data.offset = d_td->ciphertext.crc_offset; in test_docsis_proto_uplink()
10362 cipher_len = d_td->ciphertext.no_cipher == false ? in test_docsis_proto_uplink()
10363 (d_td->ciphertext.len - in test_docsis_proto_uplink()
10364 d_td->ciphertext.cipher_offset) : in test_docsis_proto_uplink()
10368 ut_params->op->sym->cipher.data.offset = d_td->ciphertext.cipher_offset; in test_docsis_proto_uplink()
10372 rte_memcpy(iv_ptr, d_td->iv.data, d_td->iv.len); in test_docsis_proto_uplink()
10400 if (memcmp(plaintext, d_td->plaintext.data, in test_docsis_proto_uplink()
10401 d_td->plaintext.len - crc_data_len)) { in test_docsis_proto_uplink()
10404 rte_hexdump(stdout, "expected", d_td->plaintext.data, in test_docsis_proto_uplink()
10405 d_td->plaintext.len); in test_docsis_proto_uplink()
10406 rte_hexdump(stdout, "actual", plaintext, d_td->plaintext.len); in test_docsis_proto_uplink()
10428 const struct docsis_test_data *d_td = data; in test_docsis_proto_downlink() local
10474 d_td->key.len, in test_docsis_proto_downlink()
10475 d_td->iv.len) == 0) in test_docsis_proto_downlink()
10489 d_td->plaintext.len); in test_docsis_proto_downlink()
10491 memcpy(plaintext, d_td->plaintext.data, d_td->plaintext.len); in test_docsis_proto_downlink()
10497 ut_params->cipher_xform.cipher.key.data = d_td->key.data; in test_docsis_proto_downlink()
10498 ut_params->cipher_xform.cipher.key.length = d_td->key.len; in test_docsis_proto_downlink()
10499 ut_params->cipher_xform.cipher.iv.length = d_td->iv.len; in test_docsis_proto_downlink()
10536 crc_len = d_td->plaintext.no_crc == false ? in test_docsis_proto_downlink()
10537 (d_td->plaintext.len - in test_docsis_proto_downlink()
10538 d_td->plaintext.crc_offset - in test_docsis_proto_downlink()
10543 ut_params->op->sym->auth.data.offset = d_td->plaintext.crc_offset; in test_docsis_proto_downlink()
10546 cipher_len = d_td->plaintext.no_cipher == false ? in test_docsis_proto_downlink()
10547 (d_td->plaintext.len - in test_docsis_proto_downlink()
10548 d_td->plaintext.cipher_offset) : in test_docsis_proto_downlink()
10552 ut_params->op->sym->cipher.data.offset = d_td->plaintext.cipher_offset; in test_docsis_proto_downlink()
10556 rte_memcpy(iv_ptr, d_td->iv.data, d_td->iv.len); in test_docsis_proto_downlink()
10584 if (memcmp(ciphertext, d_td->ciphertext.data, d_td->ciphertext.len)) { in test_docsis_proto_downlink()
10587 rte_hexdump(stdout, "expected", d_td->ciphertext.data, in test_docsis_proto_downlink()
10588 d_td->ciphertext.len); in test_docsis_proto_downlink()
10589 rte_hexdump(stdout, "actual", ciphertext, d_td->ciphertext.len); in test_docsis_proto_downlink()