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

Digest size for CCM was being checked for other algorithms
apart from CCM.

Fixes: c4c0c312a823 ("crypto/aesni_mb: check for invalid digest size")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c