[v6] crypto/aesni_mb: support DOCSIS AES-256
Checks
Commit Message
This patch adds support for DOCSIS AES-256 when using AESNI-MB
Signed-off-by: Mairtin o Loingsigh <mairtin.oloingsigh@intel.com>
Acked-by: Pablo de Lara <Pablo.de.lara.guarch@intel.com>
---
This patch depends on these two patches:
v2: Added IPSec MB version check
v3: Added doc update
v4: Added missing patch
v5: Dropping test vector due to refactoring
v6: Fix key size
---
doc/guides/rel_notes/release_20_05.rst | 5 +++++
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 5 +++++
2 files changed, 10 insertions(+)
Comments
>
> This patch adds support for DOCSIS AES-256 when using AESNI-MB
>
> Signed-off-by: Mairtin o Loingsigh <mairtin.oloingsigh@intel.com>
> Acked-by: Pablo de Lara <Pablo.de.lara.guarch@intel.com>
> ---
> This patch depends on these two patches:
>
What are the dependent patches?
>
> This patch adds support for DOCSIS AES-256 when using AESNI-MB
>
> Signed-off-by: Mairtin o Loingsigh <mairtin.oloingsigh@intel.com>
> Acked-by: Pablo de Lara <Pablo.de.lara.guarch@intel.com>
> ---
> This patch depends on these two patches:
>
Applied to dpdk-next-crypto
Thanks.
@@ -81,6 +81,11 @@ New Features
by making use of the event device capabilities. The event mode currently supports
only inline IPsec protocol offload.
+* **Updated the AESNI MB PMD.**
+
+ Updated the AESNI PMD with additional DOCSIS algorithm
+
+ * Added support for AES-256 DOCSIS
Removed Items
-------------
@@ -314,8 +314,13 @@ static const struct rte_cryptodev_capabilities aesni_mb_pmd_capabilities[] = {
.block_size = 16,
.key_size = {
.min = 16,
+#if IMB_VERSION_NUM >= IMB_VERSION(0, 53, 3)
+ .max = 32,
+ .increment = 16
+#else
.max = 16,
.increment = 0
+#endif
},
.iv_size = {
.min = 16,