Lines Matching refs:td

9132 test_ipsec_proto_process(const struct ipsec_test_data td[],  in test_ipsec_proto_process()  argument
9143 (const struct rte_ipv4_hdr *)td[0].output_text.data; in test_ipsec_proto_process()
9164 memcpy(&ipsec_xform, &td[0].ipsec_xform, sizeof(ipsec_xform)); in test_ipsec_proto_process()
9179 if (td->ipsec_xform.mode == RTE_SECURITY_IPSEC_SA_MODE_TUNNEL) { in test_ipsec_proto_process()
9180 if (td->ipsec_xform.tunnel.type == in test_ipsec_proto_process()
9231 if (td[0].aead) { in test_ipsec_proto_process()
9232 memcpy(&ut_params->aead_xform, &td[0].xform.aead, in test_ipsec_proto_process()
9234 ut_params->aead_xform.aead.key.data = td[0].key.data; in test_ipsec_proto_process()
9246 } else if (td[0].auth_only) { in test_ipsec_proto_process()
9247 memcpy(&ut_params->auth_xform, &td[0].xform.chain.auth, in test_ipsec_proto_process()
9249 ut_params->auth_xform.auth.key.data = td[0].auth_key.data; in test_ipsec_proto_process()
9260 memcpy(&ut_params->cipher_xform, &td[0].xform.chain.cipher, in test_ipsec_proto_process()
9262 memcpy(&ut_params->auth_xform, &td[0].xform.chain.auth, in test_ipsec_proto_process()
9264 ut_params->cipher_xform.cipher.key.data = td[0].key.data; in test_ipsec_proto_process()
9266 ut_params->auth_xform.auth.key.data = td[0].auth_key.data; in test_ipsec_proto_process()
9297 if (td[0].aead || td[0].aes_gmac) { in test_ipsec_proto_process()
9298 salt_len = RTE_MIN(sizeof(ipsec_xform.salt), td[0].salt.len); in test_ipsec_proto_process()
9299 memcpy(&ipsec_xform.salt, td[0].salt.data, salt_len); in test_ipsec_proto_process()
9302 if (td[0].aead) { in test_ipsec_proto_process()
9305 } else if (td[0].auth_only) { in test_ipsec_proto_process()
9330 sess_conf.ipsec.esn.value = td[i].ipsec_xform.esn.value; in test_ipsec_proto_process()
9346 td[i].input_text.len); in test_ipsec_proto_process()
9348 memcpy(input_text, td[i].input_text.data, in test_ipsec_proto_process()
9349 td[i].input_text.len); in test_ipsec_proto_process()
9381 if (td[i].aead) in test_ipsec_proto_process()
9382 len = td[i].xform.aead.aead.iv.length; in test_ipsec_proto_process()
9383 else if (td[i].aes_gmac) in test_ipsec_proto_process()
9384 len = td[i].xform.chain.auth.auth.iv.length; in test_ipsec_proto_process()
9386 len = td[i].xform.chain.cipher.cipher.iv.length; in test_ipsec_proto_process()
9388 memcpy(iv, td[i].iv.data, len); in test_ipsec_proto_process()
9394 ret = test_ipsec_status_check(&td[i], ut_params->op, flags, dir, in test_ipsec_proto_process()
9402 ret = test_ipsec_post_process(ut_params->ibuf, &td[i], in test_ipsec_proto_process()
9456 const struct ipsec_test_data *td = test_data; in test_ipsec_proto_known_vec_inb() local
9462 if (td->ipsec_xform.direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS) in test_ipsec_proto_known_vec_inb()
9463 test_ipsec_td_in_from_out(td, &td_inb); in test_ipsec_proto_known_vec_inb()
9465 memcpy(&td_inb, td, sizeof(td_inb)); in test_ipsec_proto_known_vec_inb()