examples/fips_validation: fix count overwrite for TDES
authorArchana Muniganti <marchana@marvell.com>
Thu, 11 Jun 2020 13:44:17 +0000 (19:14 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Sat, 18 Jul 2020 21:09:01 +0000 (23:09 +0200)
commit2b84d2bd47df6545797ed9841636eb8023c4db7b
tree2ef2509047458aad9d2f4d194f576bde50f5eadf
parent32440cdf2af9ad38fd32a533f51a32da92345007
examples/fips_validation: fix count overwrite for TDES

Application updates first line of each test vector with
COUNT = i(where i = 1,2,3..) assuming first line contains
COUNT string. But few of the TDES input test vectors don't
contain COUNT string and thus COUNT is getting overwritten on
other data.

Fixes: 527cbf3d5ee3 ("examples/fips_validation: support TDES parsing")
Cc: stable@dpdk.org
Signed-off-by: Archana Muniganti <marchana@marvell.com>
Signed-off-by: Kanaka Durga Kotamarthy <kkotamarthy@marvell.com>
examples/fips_validation/fips_validation.c
examples/fips_validation/main.c