Thread (42 messages) 42 messages, 2 authors, 2022-02-12
STALE1623d

[PATCH 5/8] crypto/dpaa2_sec: change digest size for AES_CMAC

From: Gagandeep Singh <hidden>
Date: 2021-12-20 10:28:10
Subsystem: crypto api, the rest · Maintainers: Herbert Xu, "David S. Miller", Linus Torvalds

From: Hemant Agrawal <redacted>

Change the digest size to supported value by the HW engine.

Signed-off-by: Hemant Agrawal <redacted>
---
 drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h
index 6aa1c01e95..ab652936bc 100644
--- a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h
+++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h
@@ -579,11 +579,11 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = {
 					.increment = 1
 				},
 				.digest_size = {
-					.min = 4,
+					.min = 12,
 					.max = 16,
 					.increment = 4
 				},
-				.aad_size = { 0 }
+				.iv_size = { 0 }
 			}, }
 		}, }
 	},
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help