crypto/aesni_mb: check for invalid digest size
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 14 Aug 2018 00:38:45 +0000 (01:38 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 26 Sep 2018 10:44:51 +0000 (12:44 +0200)
commitc4c0c312a8234d44edad96ce3ea8b00de5ddf701
tree72ed0018983ff613ba4abdd3f2a4ac56242fc789
parent763c24917d4756989d456255aa400814d18c4148
crypto/aesni_mb: check for invalid digest size

When creating a crypto session, check if
ther requested digest size is supported for
AES-XCBC-MAC and AES-CCM.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Marko Kovacevic <marko.kovacevic@intel.com>
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c