crypto/openssl: fix HMAC supported key sizes
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 25 Jul 2017 05:24:56 +0000 (06:24 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 27 Jul 2017 14:39:23 +0000 (16:39 +0200)
commite5e7bc712601f8eefe15997cc46265cdc0ace0ce
treeee2a4c834fbda7463a9a52270e008d3eadb434fc
parentcefa431162fcef7f1ef0804beb25d7a9883fc54a
crypto/openssl: 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: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
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/openssl/rte_openssl_pmd_ops.c