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

Signed-off-by: Arek Kusztal <arkadiuszx.kusz...@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

Reply via email to