test/crypto: improve NULL authentication validation
authorFiona Trahe <fiona.trahe@intel.com>
Thu, 25 Jan 2018 17:19:15 +0000 (17:19 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 29 Jan 2018 19:22:33 +0000 (20:22 +0100)
commit3c60756c736a4439e3ee75a29cdf5d35fb58c8d3
tree10cd56a7858a5056592fca5d3b227beda15ceb19
parent4e0955bddb0880949fb12de3a1a8f07eb9ace832
test/crypto: improve NULL authentication validation

Add comparison to make sure memory pointed to by
digest pointer is not overwritten in NULL auth case.

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
test/test/test_cryptodev.c