crypto/dpaa2_sec: fix HMAC supported digest sizes
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 19 Apr 2018 16:52:38 +0000 (22:22 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Apr 2018 17:20:10 +0000 (18:20 +0100)
commite37effdc3d48c5f63871639c9007a10a5f57b825
tree82039c96da58abfd14bd0ad2bbb09294f1f32bc3
parent6c9c2e4667e1e0988c67378ca7075f0f50ed4b13
crypto/dpaa2_sec: fix HMAC supported digest sizes

For HMAC algorithms (MD5-HMAC, SHAx-HMAC), the supported
digest sizes are not a fixed value, but a range between
1 and the maximum digest size for those algorithms.

Fixes: f947fd77185f ("crypto/dpaa2_sec: fix HMAC supported key sizes")
Cc: stable@dpdk.org
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h