crypto/qat: fix HMAC supported key sizes
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 25 Jul 2017 05:24:57 +0000 (06:24 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 27 Jul 2017 14:43:27 +0000 (16:43 +0200)
commit5668da1eb5897a96b672ac3b610bd3542e3e5cbe
tree1c7da772417a286192f231415e66c96d109578a8
parente5e7bc712601f8eefe15997cc46265cdc0ace0ce
crypto/qat: 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: 26c2e4ad5ad4 ("cryptodev: add capabilities discovery")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_crypto_capabilities.h