event/dpaa: support Tx adapter
[dpdk.git] / drivers / crypto / qat / qat_asym_capabilities.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2019 Intel Corporation
3  */
4
5 #ifndef _QAT_ASYM_CAPABILITIES_H_
6 #define _QAT_ASYM_CAPABILITIES_H_
7
8 #define QAT_BASE_GEN1_ASYM_CAPABILITIES                                         \
9         {       /* modexp */                                                    \
10                 .op = RTE_CRYPTO_OP_TYPE_ASYMMETRIC,                            \
11                 {.asym = {                                                      \
12                         .xform_capa = {                                         \
13                                 .xform_type = RTE_CRYPTO_ASYM_XFORM_MODEX,      \
14                                 .op_types = 0,                                  \
15                                 {                                               \
16                                 .modlen = {                                     \
17                                 .min = 1,                                       \
18                                 .max = 512,                                     \
19                                 .increment = 1                                  \
20                                 }, }                                            \
21                         }                                                       \
22                 },                                                              \
23                 }                                                               \
24         },                                                                      \
25         {       /* modinv */                                                    \
26                 .op = RTE_CRYPTO_OP_TYPE_ASYMMETRIC,                            \
27                 {.asym = {                                                      \
28                         .xform_capa = {                                         \
29                                 .xform_type = RTE_CRYPTO_ASYM_XFORM_MODINV,     \
30                                 .op_types = 0,                                  \
31                                 {                                               \
32                                 .modlen = {                                     \
33                                 .min = 1,                                       \
34                                 .max = 512,                                     \
35                                 .increment = 1                                  \
36                                 }, }                                            \
37                         }                                                       \
38                 },                                                              \
39                 }                                                               \
40         }                                                                       \
41
42 #endif /* _QAT_ASYM_CAPABILITIES_H_ */