crypto/aesni_gcm: fix zero data operation
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 14 Aug 2017 00:45:21 +0000 (01:45 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 13:37:20 +0000 (14:37 +0100)
commit41d2437f7c679dcbfc8b7697fde0b17765eea1ed
tree551c6ec314a732ae1bbac9eb996e787bf636703f
parentefd42d2e0eb6bfb557c62485dfe02fb965a50c70
crypto/aesni_gcm: fix zero data operation

When data length passed to the PMD was zero,
the PMD was trying to get more data from a non-existent
next segment.

Fixes: 9c2a5775c028 ("crypto/aesni_gcm: migrate from MB library to ISA-L")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
drivers/crypto/aesni_gcm/aesni_gcm_pmd.c