| 772 | } |
| 773 | |
| 774 | static const uint8_t* |
| 775 | pdcp_test_auth_key_get(enum pdcp_test_suite_type suite_type, const int index) |
| 776 | { |
| 777 | const uint8_t *ret; |
| 778 | |
| 779 | switch (suite_type) { |
| 780 | case PDCP_TEST_SUITE_TY_BASIC: |
| 781 | ret = pdcp_test_auth_key[index]; |
| 782 | break; |
| 783 | case PDCP_TEST_SUITE_TY_SDAP: |
| 784 | ret = list_pdcp_sdap_tests[index].auth_key; |
| 785 | break; |
| 786 | default: |
| 787 | RTE_LOG(ERR, USER1, "Invalid suite_type: %d\n", suite_type); |
| 788 | return NULL; |
| 789 | } |
| 790 | |
| 791 | return ret; |
| 792 | } |
| 793 | |
| 794 | static const uint8_t* |
| 795 | pdcp_test_data_in_get(enum pdcp_test_suite_type suite_type, const int index) |
no outgoing calls
no test coverage detected