Lines Matching refs:cur_test
9008 const struct pdcp_sdap_test *cur_test; in test_PDCP_SDAP_PROTO_encap_all() local
9013 cur_test = &list_pdcp_sdap_tests[i]; in test_PDCP_SDAP_PROTO_encap_all()
9016 RTE_CRYPTO_AUTH_OP_GENERATE, cur_test->data_in, in test_PDCP_SDAP_PROTO_encap_all()
9017 cur_test->in_len, cur_test->data_out, in test_PDCP_SDAP_PROTO_encap_all()
9018 cur_test->in_len + ((cur_test->auth_key) ? 4 : 0), in test_PDCP_SDAP_PROTO_encap_all()
9019 cur_test->param.cipher_alg, cur_test->cipher_key, in test_PDCP_SDAP_PROTO_encap_all()
9020 cur_test->param.cipher_key_len, in test_PDCP_SDAP_PROTO_encap_all()
9021 cur_test->param.auth_alg, in test_PDCP_SDAP_PROTO_encap_all()
9022 cur_test->auth_key, cur_test->param.auth_key_len, in test_PDCP_SDAP_PROTO_encap_all()
9023 cur_test->bearer, cur_test->param.domain, in test_PDCP_SDAP_PROTO_encap_all()
9024 cur_test->packet_direction, cur_test->sn_size, in test_PDCP_SDAP_PROTO_encap_all()
9025 cur_test->hfn, in test_PDCP_SDAP_PROTO_encap_all()
9026 cur_test->hfn_threshold, SDAP_ENABLED); in test_PDCP_SDAP_PROTO_encap_all()
9029 cur_test->test_idx, in test_PDCP_SDAP_PROTO_encap_all()
9030 cur_test->param.name); in test_PDCP_SDAP_PROTO_encap_all()
9033 printf("\t%d) %s: Encap PASS\n", cur_test->test_idx, in test_PDCP_SDAP_PROTO_encap_all()
9034 cur_test->param.name); in test_PDCP_SDAP_PROTO_encap_all()
9050 const struct pdcp_short_mac_test *cur_test; in test_PDCP_PROTO_short_mac() local
9055 cur_test = &list_pdcp_smac_tests[i]; in test_PDCP_PROTO_short_mac()
9058 RTE_CRYPTO_AUTH_OP_GENERATE, cur_test->data_in, in test_PDCP_PROTO_short_mac()
9059 cur_test->in_len, cur_test->data_out, in test_PDCP_PROTO_short_mac()
9060 cur_test->in_len + ((cur_test->auth_key) ? 4 : 0), in test_PDCP_PROTO_short_mac()
9062 0, cur_test->param.auth_alg, in test_PDCP_PROTO_short_mac()
9063 cur_test->auth_key, cur_test->param.auth_key_len, in test_PDCP_PROTO_short_mac()
9064 0, cur_test->param.domain, 0, 0, in test_PDCP_PROTO_short_mac()
9068 cur_test->test_idx, in test_PDCP_PROTO_short_mac()
9069 cur_test->param.name); in test_PDCP_PROTO_short_mac()
9073 cur_test->test_idx, in test_PDCP_PROTO_short_mac()
9074 cur_test->param.name); in test_PDCP_PROTO_short_mac()
9076 cur_test->data_out + cur_test->in_len + 2, in test_PDCP_PROTO_short_mac()
9094 const struct pdcp_sdap_test *cur_test; in test_PDCP_SDAP_PROTO_decap_all() local
9099 cur_test = &list_pdcp_sdap_tests[i]; in test_PDCP_SDAP_PROTO_decap_all()
9103 cur_test->data_out, in test_PDCP_SDAP_PROTO_decap_all()
9104 cur_test->in_len + ((cur_test->auth_key) ? 4 : 0), in test_PDCP_SDAP_PROTO_decap_all()
9105 cur_test->data_in, cur_test->in_len, in test_PDCP_SDAP_PROTO_decap_all()
9106 cur_test->param.cipher_alg, in test_PDCP_SDAP_PROTO_decap_all()
9107 cur_test->cipher_key, cur_test->param.cipher_key_len, in test_PDCP_SDAP_PROTO_decap_all()
9108 cur_test->param.auth_alg, cur_test->auth_key, in test_PDCP_SDAP_PROTO_decap_all()
9109 cur_test->param.auth_key_len, cur_test->bearer, in test_PDCP_SDAP_PROTO_decap_all()
9110 cur_test->param.domain, cur_test->packet_direction, in test_PDCP_SDAP_PROTO_decap_all()
9111 cur_test->sn_size, cur_test->hfn, in test_PDCP_SDAP_PROTO_decap_all()
9112 cur_test->hfn_threshold, SDAP_ENABLED); in test_PDCP_SDAP_PROTO_decap_all()
9115 cur_test->test_idx, in test_PDCP_SDAP_PROTO_decap_all()
9116 cur_test->param.name); in test_PDCP_SDAP_PROTO_decap_all()
9119 printf("\t%d) %s: Decap PASS\n", cur_test->test_idx, in test_PDCP_SDAP_PROTO_decap_all()
9120 cur_test->param.name); in test_PDCP_SDAP_PROTO_decap_all()