crypto/dpaa_sec: fix HMAC supported digest sizes
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 19 Apr 2018 16:52:37 +0000 (22:22 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Apr 2018 17:20:10 +0000 (18:20 +0100)
commit6c9c2e4667e1e0988c67378ca7075f0f50ed4b13
tree347a74cf4e22236b411b1375ee4217bd64104126
parentf163231e7df536f50c95a06f9b9d2cc9a2e05c6a
crypto/dpaa_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.
Also setting iv_size as 0.

Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform")
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/dpaa_sec/dpaa_sec.h