]> git.droids-corp.org - dpdk.git/commitdiff
crypto/dpaa2_sec: update capabilities for AES CMAC
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 10 Feb 2022 10:58:48 +0000 (16:28 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Sat, 12 Feb 2022 11:17:55 +0000 (12:17 +0100)
Add IV size and change the digest size to supported
value by the HW engine.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h

index 05bd7c0736c110224f3a67daef4728219318b45a..a8f9440632e52fe9a004134fcf70f212ed3d00bd 100644 (file)
@@ -549,11 +549,12 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = {
                                        .increment = 1
                                },
                                .digest_size = {
-                                       .min = 4,
+                                       .min = 12,
                                        .max = 16,
                                        .increment = 4
                                },
-                               .aad_size = { 0 }
+                               .aad_size = { 0 },
+                               .iv_size = { 0 }
                        }, }
                }, }
        },