examples/fips_validation: fix auth verify
authorFan Zhang <roy.fan.zhang@intel.com>
Wed, 6 Nov 2019 10:54:25 +0000 (10:54 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 20 Nov 2019 11:35:51 +0000 (12:35 +0100)
commit82cfb9c24f66084e6c7933e6c00bca409bcc00e2
tree45a0f49641afa30c9659511da7e794f78682f7ab
parent8fd2b5a60d1cd0c7bc608452d6fd8c13f8761f1d
examples/fips_validation: fix auth verify

Fixes: f64adb6714e0 ("examples/fips_validation: support HMAC parsing")
Cc: stable@dpdk.org
This patch fixes the incorrect mbuf write and digest memory leak in
fips_validation authentication verify.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Marko Kovacevic <marko.kovacevic@intel.com>
examples/fips_validation/main.c