crypto/dpaa2_sec: fix HMAC supported key sizes
authorAkhil Goyal <akhil.goyal@nxp.com>
Thu, 27 Jul 2017 11:54:08 +0000 (17:24 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 27 Jul 2017 14:24:53 +0000 (16:24 +0200)
commitf947fd77185fef15e6c8471c11c9beb2f1c3a018
treec0254a51ef0b3f545dae744d98da1b2f375aad6a
parent7af08de584efa433bc2dd877be5dbbcf37a6ed01
crypto/dpaa2_sec: fix HMAC supported key sizes

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

Fixes: 623326dded3a ("crypto/dpaa2_sec: introduce poll mode driver")
Cc: stable@dpdk.org
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h