c864167ce9
Authentication key is not required for all algorithms. Making sure the null check is done only when 'auth_key_sz' is non-zero. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Cc: stable@dpdk.org Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com> Signed-off-by: Ayuj Verma <ayuj.verma@caviumnetworks.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>