[dpdk-stable] [PATCH] crypto/qat: fix SHA512-HMAC supported key size
Luca Boccassi
bluca at debian.org
Thu Nov 2 13:53:08 CET 2017
On Thu, 2017-11-02 at 09:53 +0000, Pablo de Lara wrote:
> This commit fixes a backported commit which introduced
> an in incorrect value for the maximum supported key size
> for SHA512-HMAC.
>
> Fixes: c2cdabf725dc ("crypto/qat: fix HMAC supported key sizes")
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> ---
> drivers/crypto/qat/qat_crypto.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/qat/qat_crypto.c
> b/drivers/crypto/qat/qat_crypto.c
> index f7fcece..8b830b8 100644
> --- a/drivers/crypto/qat/qat_crypto.c
> +++ b/drivers/crypto/qat/qat_crypto.c
> @@ -162,7 +162,7 @@ static const struct rte_cryptodev_capabilities
> qat_pmd_capabilities[] = {
> .key_size = {
> .min = 1,
> .max = 128,
> - .increment = 128
> + .increment = 1
> },
> .digest_size = {
> .min = 64,
Applied to dpdk-stable/16.11, thanks
--
Kind regards,
Luca Boccassi
More information about the stable
mailing list