crypto/aesni_mb: fix truncated digest size for CMAC
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 14 Aug 2018 00:38:46 +0000 (01:38 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 26 Sep 2018 10:44:57 +0000 (12:44 +0200)
commit16a3558e0bd8fce3e90def75fcfcd0a947b469c1
treea5e886bdee5cae29f0ce1e154eef4cf41294e3ac
parentc4c0c312a8234d44edad96ce3ea8b00de5ddf701
crypto/aesni_mb: fix truncated digest size for CMAC

The truncated digest size for AES-CMAC is 12 and not 16,
as the Multi-buffer library can output both 12 and 16 bytes.

Fixes: 6491dbbecebb ("crypto/aesni_mb: support AES CMAC")
Cc: stable@dpdk.org
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_private.h