crypto/aesni_mb: fix HMAC supported key sizes
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 25 Jul 2017 05:24:55 +0000 (06:24 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 27 Jul 2017 14:39:21 +0000 (16:39 +0200)
commitcefa431162fcef7f1ef0804beb25d7a9883fc54a
tree4e96c81be3e8425c484d2fdeb3e2800505fed261
parentf1bd2f0fb4a66123a75d02ed336e6442fa12874b
crypto/aesni_mb: 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: Declan Doherty <declan.doherty@intel.com>
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c