[PATCH v2 05/15] crypto/cnxk: fix IPsec CCM and GCM capabilities
Tejasree Kondoj
ktejasree at marvell.com
Tue Sep 26 07:58:37 CEST 2023
Fix lookaside IPsec AES-CCM and AES-GCM capabilities. The patch to
fix AES-CCM capabilities was applied incorrectly which resulted in
wrong AES-GCM capabilities. Fix the same and update AES-CCM to correct
values.
Fixes: eb581897e580 ("crypto/cnxk: fix IPsec CCM capabilities")
Signed-off-by: Anoob Joseph <anoobj at marvell.com>
Signed-off-by: Tejasree Kondoj <ktejasree at marvell.com>
---
drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
index 4c6357353e..ac4a8c1572 100644
--- a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
+++ b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
@@ -1180,8 +1180,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {
.increment = 4
},
.iv_size = {
- .min = 11,
- .max = 11,
+ .min = 12,
+ .max = 12,
.increment = 0
}
}, }
@@ -1210,8 +1210,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {
.increment = 4
},
.iv_size = {
- .min = 12,
- .max = 12,
+ .min = 11,
+ .max = 11,
.increment = 0
}
}, }
--
2.25.1
More information about the dev
mailing list