crypto/aesni_mb: add missing digest length
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 27 Jan 2017 13:16:08 +0000 (13:16 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 10 Feb 2017 14:10:28 +0000 (15:10 +0100)
commita196eda4310eb6b345ef0c22f7da14c8db74be39
tree9d341bbcf273dc25ad8862da9b0fc17e2f91743d
parente8a165d588c3d3caead156493b085ff45b20d120
crypto/aesni_mb: add missing digest length

AESNI MB now supports authentication only operations,
but the array containing all the possible digest lengths
was not updated to reflect the new algorithm NULL_HASH,
causing an "Out-of-bounds access".

Coverity issue: 140977
Fixes: 8772c3f713e2 ("crypto/aesni_mb: add single operation functionality")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h