On 10/24/2018 7:47 PM, Marko Kovacevic wrote: > > On 24/10/2018 13:13, Akhil Goyal wrote: >> >> On 10/17/2018 6:19 PM, Marko Kovacevic wrote: snip [..] > >>> >>> +int >>> +fips_test_parse_one_case(void) >>> +{ >>> + uint32_t i, j = 0; >>> + uint32_t is_interim = 0; >>> + int ret; >>> + >>> + if (info.interim_callbacks) { >>> + for (i = 0; i < info.nb_vec_lines; i++) { >>> + for (j = 0; info.interim_callbacks[j].key != NULL; j++) >>> + if (strstr(info.vec[i], >>> + info.interim_callbacks[j].key)) { >> it looks interim_callback is a single structure and there is no need for >> treating as an array. > For some tests interim data could be multiple lines. here you are not incrementing j, which means you are not using the other ones. Also I cannot see it getting incremented in this function in rest of the patches.
- [dpdk-dev] [PATCH v4 3/8] examples: add hmac parser Marko Kovacevic
- [dpdk-dev] [PATCH v4 6/8] examples: add cmac parser an... Marko Kovacevic
- [dpdk-dev] [PATCH v4 7/8] examples: add ccm parser and... Marko Kovacevic
- [dpdk-dev] [PATCH v4 8/8] doc: add guides for fips val... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v4 0/8] FIPS validation capabili... Kusztal, ArkadiuszX
- Re: [dpdk-dev] [PATCH v4 0/8] FIPS validation capabili... Akhil Goyal
- [dpdk-dev] [PATCH v5 0/8] FIPS validation capability Marko Kovacevic
- [dpdk-dev] [PATCH v5 1/8] examples/cryptodev_fips... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v5 1/8] examples/crypto... Akhil Goyal
- Re: [dpdk-dev] [PATCH v5 1/8] examples/cr... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v5 1/8] example... Akhil Goyal
- Re: [dpdk-dev] [PATCH v5 1/8] ex... Marko Kovacevic
- [dpdk-dev] [PATCH v5 2/8] examples/cryptodev_fips... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v5 2/8] examples/crypto... Akhil Goyal
- Re: [dpdk-dev] [PATCH v5 2/8] examples/cr... Marko Kovacevic
- [dpdk-dev] [PATCH v5 5/8] examples/cryptodev_fips... Marko Kovacevic
- [dpdk-dev] [PATCH v5 4/8] examples/cryptodev_fips... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v5 4/8] examples/crypto... Akhil Goyal
- Re: [dpdk-dev] [PATCH v5 4/8] examples/cr... Marko Kovacevic
- [dpdk-dev] [PATCH v5 6/8] examples/cryptodev_fips... Marko Kovacevic
- [dpdk-dev] [PATCH v5 7/8] examples/cryptodev_fips... Marko Kovacevic