crypto/aesni_mb: fix GCM digest size check
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 9 Oct 2020 12:05:20 +0000 (12:05 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 20:22:06 +0000 (22:22 +0200)
commite45847d8fd0cd9c46ea13a6b5b87087cfb8ae393
tree2f06b4e1439f712756a34d1f07c202beffc372ab
parent07bfb9047ba12f169e09606be72e821facbf88c2
crypto/aesni_mb: fix GCM digest size check

GCM digest sizes should be between 1 and 16 bytes.

Fixes: 7b2d4706c90e ("crypto/aesni_mb: support newer library version only")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/aesni_mb/aesni_mb_pmd_private.h
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c