From 841147ef973b415e8e21b6521e93361001ee2fc1 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Thu, 17 Mar 2022 14:25:58 +0530 Subject: [PATCH] crypto/dpaa_sec: fix digest size DPAA crypto driver can support 64 bytes size digest size for SHA512-HMAC. This patch changes the value of macro max supported digest size to 64. Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform") Cc: stable@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index 7890687828..b3f2258ead 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.h +++ b/drivers/crypto/dpaa_sec/dpaa_sec.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * - * Copyright 2016-2021 NXP + * Copyright 2016-2022 NXP * */ @@ -231,7 +231,7 @@ struct dpaa_sec_job { struct qm_sg_entry sg[MAX_JOB_SG_ENTRIES]; }; -#define DPAA_MAX_NB_MAX_DIGEST 32 +#define DPAA_MAX_NB_MAX_DIGEST 64 struct dpaa_sec_op_ctx { struct dpaa_sec_job job; union { -- 2.39.5