DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] crypto/qat: enable aes xts in gen4
@ 2021-09-07 11:45 Arek Kusztal
  2021-09-07 11:48 ` [dpdk-dev] [EXT] " Akhil Goyal
  0 siblings, 1 reply; 3+ messages in thread
From: Arek Kusztal @ 2021-09-07 11:45 UTC (permalink / raw)
  To: dev; +Cc: gakhil, roy.fan.zhang, Arek Kusztal

Enable AES-XTS legacy mode in gen4 devices of Intel QuickAssist
Technology PMD.

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
---
 drivers/crypto/qat/qat_sym_capabilities.h | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/drivers/crypto/qat/qat_sym_capabilities.h b/drivers/crypto/qat/qat_sym_capabilities.h
index cfb176ca94..636cfc2817 100644
--- a/drivers/crypto/qat/qat_sym_capabilities.h
+++ b/drivers/crypto/qat/qat_sym_capabilities.h
@@ -1199,6 +1199,26 @@
 				}					\
 			}, }						\
 		}, }							\
+	},								\
+	{	/* AES XTS */						\
+		.op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,			\
+		{.sym = {						\
+			.xform_type = RTE_CRYPTO_SYM_XFORM_CIPHER,	\
+			{.cipher = {					\
+				.algo = RTE_CRYPTO_CIPHER_AES_XTS,	\
+				.block_size = 16,			\
+				.key_size = {				\
+					.min = 32,			\
+					.max = 64,			\
+					.increment = 32			\
+				},					\
+				.iv_size = {				\
+					.min = 16,			\
+					.max = 16,			\
+					.increment = 0			\
+				}					\
+			}, }						\
+		}, }							\
 	}								\
 
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [EXT] [PATCH] crypto/qat: enable aes xts in gen4
  2021-09-07 11:45 [dpdk-dev] [PATCH] crypto/qat: enable aes xts in gen4 Arek Kusztal
@ 2021-09-07 11:48 ` Akhil Goyal
  2021-09-07 11:54   ` Kusztal, ArkadiuszX
  0 siblings, 1 reply; 3+ messages in thread
From: Akhil Goyal @ 2021-09-07 11:48 UTC (permalink / raw)
  To: Arek Kusztal, dev; +Cc: roy.fan.zhang

> Enable AES-XTS legacy mode in gen4 devices of Intel QuickAssist
> Technology PMD.
> 
> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> ---
>  
Does it need update to .ini file for the algos supported?
Release notes update?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [EXT] [PATCH] crypto/qat: enable aes xts in gen4
  2021-09-07 11:48 ` [dpdk-dev] [EXT] " Akhil Goyal
@ 2021-09-07 11:54   ` Kusztal, ArkadiuszX
  0 siblings, 0 replies; 3+ messages in thread
From: Kusztal, ArkadiuszX @ 2021-09-07 11:54 UTC (permalink / raw)
  To: Akhil Goyal, dev; +Cc: Zhang, Roy Fan



> -----Original Message-----
> From: Akhil Goyal <gakhil@marvell.com>
> Sent: Tuesday, September 7, 2021 1:48 PM
> To: Kusztal, ArkadiuszX <arkadiuszx.kusztal@intel.com>; dev@dpdk.org
> Cc: Zhang, Roy Fan <roy.fan.zhang@intel.com>
> Subject: RE: [EXT] [PATCH] crypto/qat: enable aes xts in gen4
> 
> > Enable AES-XTS legacy mode in gen4 devices of Intel QuickAssist
> > Technology PMD.
> >
> > Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> > ---
> >
> Does it need update to .ini file for the algos supported?
> Release notes update?

In qat we have combined features for every gen, so theoretically no (if one supports it is there).
But it may need some upgrade, and I forgot about release notes will send v2.
Thanks Akhil!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-07 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 11:45 [dpdk-dev] [PATCH] crypto/qat: enable aes xts in gen4 Arek Kusztal
2021-09-07 11:48 ` [dpdk-dev] [EXT] " Akhil Goyal
2021-09-07 11:54   ` Kusztal, ArkadiuszX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).