Added caching option of asymmetric crypto parameters.
This helps to avoid cleaning of unused data and allows
introducing the options to reuse the previous setup.
Signed-off-by: Arkadiusz Kusztal
---
drivers/crypto/qat/qat_asym.c | 125 ++
drivers/crypto/qat
This commit fixes a problem with overwriting data in the OOP header
in RAW API crypto processing when using chain, cipher and auth algorithms.
Signed-off-by: Arkadiusz Kusztal
---
drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 146 +++
drivers/crypto/qat/dev/qat_sym_pmd_gen1.c
This commit fixes a problem with overwriting data in the OOP header
in RAW API crypto processing when using AEAD algorithms.
Fixes: 85fec6fd9674 ("crypto/qat: unify raw data path functions")
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
drivers/crypto/qat/dev/qat_crypto_
The function `strlen` returns the size of the string without a terminating
null-character, therefore a request to allocate memory space for a parsed
argument is too small by 1.
Fixes: 99ab2806687b ("common/qat: isolate parser arguments configuration")
Cc: sta...@dpdk.org
Signed-off-by:
This commit fixes incorrectly set state size within
the QAT PMD.
Fixes: 75fd4bbc94ab ("crypto/qat: support SM3 hash algorithm")
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
drivers/crypto/qat/qat_sym_session.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
di
.@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev.c | 29 +++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 441ecc6ad5..6ef43a784d 100644
--- a/app/test/test_cryptodev.c
+++
-by: Arkadiusz Kusztal
---
v2:
- added multi-process safety
v3:
- made the crc context opaque
- versioned old APIs
v4:
- exported rte_net_crc_free symbol
v5:
- fixed unclear comments in release notes section
- aligned `fall-through` comments
v6:
- fixed typos and code formatting
- added entry to the
-by: Arkadiusz Kusztal
---
v2:
- added multi-process safety
v3:
- made the crc context opaque
- versioned old APIs
v4:
- exported rte_net_crc_free symbol
v5:
- fixed unclear comments in release notes section
- aligned `fall-through` comments
v6:
- fixed typos and code formatting
- added entry to the
-by: Arkadiusz Kusztal
---
v2:
- added multi-process safety
v3:
- made the crc context opaque
- versioned old APIs
v4:
- exported rte_net_crc_free symbol
v5:
- fixed unclear comments in release notes section
- aligned `fall-through` comments
app/test/test_crc.c| 169
The function `strlen` returns the size of the string without a terminating
null-character, therefore a request to allocate memory space for a parsed
argument is too small by 1.
Fixes: 99ab2806687b ("common/qat: isolate parser arguments configuration")
Cc: sta...@dpdk.org
Signed-off-by:
-by: Arkadiusz Kusztal
---
v2:
- added multi-process safety
v3:
- made the crc context opaque
- versioned old APIs
v4:
- exported rte_net_crc_free symbol
app/test/test_crc.c| 169 ++---
doc/guides/rel_notes/release_25_03.rst | 3 +
drivers/crypto/qat
-by: Arkadiusz Kusztal
---
v2:
- added multi-process safety
v3:
- made the crc context opaque
- versioned old APIs
app/test/test_crc.c| 169 ++---
doc/guides/rel_notes/release_25_03.rst | 3 +
drivers/crypto/qat/qat_sym.h | 6 +-
drivers/crypto
.@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
v2:
- added a generic solution
v3:
- replaced rte_memcpy with memcpy
drivers/crypto/qat/qat_asym.c | 41 +--
1 file changed, 39 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/qat/qat_asym.c b/drivers/
In the case when PMD cannot support the full process of the SM2,
but elliptic curve computation only, additional fields
are needed to handle such a case.
Points C1, kP therefore were added to the SM2 crypto operation struct.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/rel_notes
This commit adds tests cases to be used when C1 or kP elliptic
curve points need to be computed.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 134 +
app/test/test_cryptodev_sm2_test_vectors.h | 112 -
2 files changed, 243
This commit adds SM2 elliptic curve based asymmetric
encryption and decryption to the Intel QuickAssist
Technology PMD.
Depends-on: patch-147900 ("[v2] crypto/qat: fix ecdsa session handling")
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/rel_notes/release_24_11.rst
issue
- added the partial_flag to QAT capabilities
Arkadiusz Kusztal (3):
cryptodev: add ec points to sm2 op
crypto/qat: add sm2 encryption/decryption function
app/test: add test sm2 C1/Kp test cases
app/test/test_cryptodev_asym.c| 134 +
app/test
Fixed a problem with setting the key in the session
in the ECDSA alghorithm.
Fixes: badc0c6f6d6a ("cryptodev: set private and public keys in EC session")
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
drivers/crypto/qat/qat_asym.c | 41 +
Fixed a problem with setting the key in the session
in the ECDSA alghoritm.
Fixes: badc0c6f6d6a ("cryptodev: set private and public keys in EC session")
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
drivers/crypto/qat/qat_asym.c | 42 +
This commit fixes an unset length in modular algorithms
in QAT asymmetric crypto PMD.
Fixes: 3b78aa7b2317 ("crypto/qat: refactor asymmetric crypto functions")
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
drivers/crypto/qat/qat_asym.c | 2 ++
1 file changed, 2 insertion
In the case when PMD cannot support the full process of the SM2,
but elliptic curve computation only, additional fields
are needed to handle such a case.
Points C1, kP therefore were added to the SM2 crypto operation struct.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/rel_notes
This commit adds tests cases to be used when C1 or kP elliptic
curve points need to be computed.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 138 -
app/test/test_cryptodev_sm2_test_vectors.h | 112 -
2 files changed, 246
This commit adds SM2 elliptic curve based asymmetric
encryption and decryption to the Intel QuickAssist
Technology PMD.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/rel_notes/release_24_11.rst| 4 +
.../common/qat/qat_adf/icp_qat_fw_mmp_ids.h | 3 +
drivers/common/qat/qat_adf
capability
- split API patches
v5:
- rebased
- clarified usage of the partial flag
v6:
- removed already applied patch 1
- added ABI relase notes comment
- removed camel case
- added flag reference
v7:
- removed SM2 from auth features, in asym it was added in SM2 ECDSA patch
Arkadiusz Kusztal (3
This commit adds tests cases to be used when C1 or kP elliptic
curve points need to be computed.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 138 -
app/test/test_cryptodev_sm2_test_vectors.h | 112 -
2 files changed, 246
This commit adds SM2 elliptic curve based asymmetric
encryption and decryption to the Intel QuickAssist
Technology PMD.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/cryptodevs/features/qat.ini| 1 +
doc/guides/rel_notes/release_24_11.rst| 4 +
.../common/qat/qat_adf
In the case when PMD cannot support the full process of the SM2,
but elliptic curve computation only, additional fields
are needed to handle such a case.
Points C1, kP therefore were added to the SM2 crypto operation struct.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/rel_notes
capability
- split API patches
v5:
- rebased
- clarified usage of the partial flag
v6:
- removed already applied patch 1
- added ABI relase notes comment
- removed camel case
- added flag reference
Arkadiusz Kusztal (3):
cryptodev: add ec points to sm2 op
crypto/qat: add sm2 encryption/decryption
This commit adds tests cases to be used when C1 or kP elliptic
curve points need to be computed.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 138 -
app/test/test_cryptodev_sm2_test_vectors.h | 112 ++-
2 files
In the case when PMD cannot support the full process of the SM2,
but elliptic curve computation only, additional fields
are needed to handle such a case.
Points C1, kP therefore were added to the SM2 crypto operation struct.
Signed-off-by: Arkadiusz Kusztal
---
lib/cryptodev/rte_crypto_asym.h
This commit adds SM2 elliptic curve based asymmetric
encryption and decryption to the Intel QuickAssist
Technology PMD.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/cryptodevs/features/qat.ini | 1 +
doc/guides/rel_notes/release_24_11.rst | 4 +
drivers/common/qat
Asymmetric-crypto header has a simple structure that allows to
keep logically separate blocks together. Therefore, xforms,
ops, and generic structs may be appropriately ordered.
This patch moves sm2-op structs to be placed along other
algorithms-op structs.
Signed-off-by: Arkadiusz Kusztal
ature flag
- added QAT patches
- added test patches
v4:
- replaced feature flag with capability
- split API patches
v5:
- rebased
- clarified usage of the partial flag
Arkadiusz Kusztal (4):
cryptodev: reorder structures in asym crypto header
cryptodev: add ec points to sm2 op
crypto/qa
This commit adds tests cases to be used when C1 or kP elliptic
curve points need to be computed.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 138 -
app/test/test_cryptodev_sm2_test_vectors.h | 112 ++-
2 files
This commit adds SM2 elliptic curve based asymmetric
encryption and decryption to the Intel QuickAssist
Technology PMD.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/cryptodevs/features/qat.ini | 1 +
doc/guides/rel_notes/release_24_11.rst | 4 +
drivers/common/qat
In the case when PMD cannot support the full process of the SM2,
but elliptic curve computation only, additional fields
are needed to handle such a case.
Points C1, kP therefore were added to the SM2 crypto operation struct.
Signed-off-by: Arkadiusz Kusztal
---
lib/cryptodev/rte_crypto_asym.h
Asymmetric-crypto header has a simple structure that allows to
keep logically separate blocks together. Therefore, xforms,
ops, and generic structs may be appropriately ordered.
This patch moves sm2-op structs to be placed along other
algorithms-op structs.
Signed-off-by: Arkadiusz Kusztal
ed feature flag
- added QAT patches
- added test patches
v4:
- replaced feature flag with capability
- split API patches
Arkadiusz Kusztal (4):
cryptodev: reorder structures in asym crypto header
cryptodev: add ec points to sm2 op
crypto/qat: add sm2 encryption/decryption function
app/test
This commit adds tests cases to be used when C1 or kP elliptic
curve points need to be computed.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 148 -
app/test/test_cryptodev_sm2_test_vectors.h | 112 +-
2 files
This commit adds SM2 elliptic curve based asymmetric
encryption and decryption to the Intel QuickAssist
Technology PMD.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/cryptodevs/features/qat.ini | 1 +
doc/guides/rel_notes/release_24_11.rst | 4 +
drivers/common/qat
Due to complex ways of handling asymmetric cryptography algorithms,
capabilities may differ between hardware and software PMDs,
or even between hardware PMDs. One of the examples are algorithms that
need an additional round of hashing, like SM2.
Signed-off-by: Arkadiusz Kusztal
---
lib
In the case when PMD cannot support the full process of the SM2,
but elliptic curve computation only, additional fields
are needed to handle such a case.
Points C1, kP therefore were added to the SM2 crypto operation struct.
Signed-off-by: Arkadiusz Kusztal
---
lib/cryptodev/rte_crypto_asym.h
processes will use
the same CRC function when used with the same CRC context.
It is an undefined behavior when process binaries are compiled
with different SIMD capabilities when the same CRC context is used.
Signed-off-by: Arkadiusz Kusztal
---
lib/net/net_crc.h | 19 ++--
lib/net/rte_net_crc.c
This patch replaces thread-unsafe CRC functions with
the safe ones.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_crc.c | 168 +---
1 file changed, 67 insertions(+), 101 deletions(-)
diff --git a/app/test/test_crc.c b/app/test/test_crc.c
This patch replaces thread-unsafe CRC functions
with the safe ones.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/cryptodevs/qat.rst| 6 ++
drivers/crypto/qat/qat_sym.h | 6 ++
drivers/crypto/qat/qat_sym_session.c | 3 +++
drivers/crypto/qat/qat_sym_session.h | 2 ++
4
functions as __rte_internal
Arkadiusz Kusztal (3):
net: add thread-safe crc api
crypto/qat: use process safe crc api
test/crc: replace thread-unsafe api functions
app/test/test_crc.c | 168 ---
doc/guides/cryptodevs/qat.rst| 6 +
drivers/crypto/qat
In the case when PMD cannot support the full process of the SM2,
but elliptic curve computation only, additional fields
are needed to handle such a case.
Points C1, kP therefore were added to the SM2 crypto operation struct.
Signed-off-by: Arkadiusz Kusztal
---
lib/cryptodev/rte_crypto_asym.h
.
Signed-off-by: Arkadiusz Kusztal
---
Please note that this is work in progress, what is left to be done:
- Rework security test cases, these will fail with current setup.
- Fix OOP issue. OOP tests do not check for the prepended data in the OOP
buffer.
- Remove remaining test vectors from the .c
This patch fixes CRC thread-safety issue in the QAT PMD.
Signed-off-by: Arkadiusz Kusztal
---
drivers/crypto/qat/qat_sym.h | 3 +--
drivers/crypto/qat/qat_sym_session.c | 3 +++
drivers/crypto/qat/qat_sym_session.h | 2 ++
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a
The current net CRC API is not thread-safe, this patch
solves this by adding another, thread-safe API functions.
These functions are not safe when using between different
processes, though.
Signed-off-by: Arkadiusz Kusztal
---
lib/net/rte_net_crc.c | 40
This patch fixes incorrect placement of OOP offset.
Data preceding crypto operation is not copied to the output
buffer, which is conformant to the API.
Fixes: a815a04cea05 ("crypto/qat: support symmetric build op request")
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
driv
This commit adds legacy algorithms flag to the qat_device
struct. This will allow handling this flag within the device
itself, and not using the global variable.
Signed-off-by: Arkadiusz Kusztal
---
v2:
- added session parameters handling
drivers/common/qat/qat_common.h | 9
This commit adds legacy algorithms flag to the qat_device
struct. This will allow handling this flag within the device
itself, and not using the global variable.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_common.h | 9 +
drivers/common/qat/qat_device.c
;)
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
v2:
- removed camel case
v3:
- changed commit description
app/test/test_cryptodev_asym.c | 102 ++---
app/test/test_cryptodev_rsa_test_vectors.h | 2 +-
2 files changed, 52 insertions(+), 52 deletion
if this is not found, CRC API will
pick the other highest possible extension, or scalar if no SIMD
available.
Signed-off-by: Arkadiusz Kusztal
---
v2:
- narrowed down the case to the docsis only
app/test-crypto-perf/main.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test-crypto
if this is not found, CRC API will
pick the other highest possible extension, or scalar if no SIMD
available.
Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
Signed-off-by: Arkadiusz Kusztal
---
app/test-crypto-perf/main.c | 3 +++
1 file changed, 3
This commit fixes incorrectly set keys in the
QAT testsuite for the RSA algorithm.
Fixes: 9b5465867fb8 ("test/crypto: add RSA none padding cases")
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
v2:
- removed camel case
app/test/test_cryptodev_asym.c
ned-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 14 +++---
drivers/compress/qat/qat_comp_pmd.c | 6 --
drivers/crypto/qat/qat_asym.c | 5 ++---
drivers/crypto/qat/qat_sym.c| 4 ++--
4 files changed, 15 insertions(+), 14 deletions(-)
diff --git
This commit fixes a segfault, that occurs when NULL pointer
is being set to the aad pointer field.
Fixes: a815a04cea05 ("crypto/qat: support symmetric build op request")
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 10 +++
This commit fixes incorrectly set keys in the
QAT testsuite for the RSA algorithm.
Fixes: 9b5465867fb8 ("test/crypto: add RSA none padding cases")
Cc: sta...@dpdk.org
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 74 +---
This commit fixes a legacy flag, which was placed in a file
that may not be included in a building process.
Fixes: cffb726b7797 ("crypto/qat: enable insecure algorithms")
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 1 +
drivers/crypto/qat/qat_sym.c| 1
Service specific functions were moved to services
files. Weak symbols for device create/destroy were removed,
named private devs were replaced by an opaque array.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 112 ++--
drivers/common
This commit isolates qat device arguments from the common
code. Now arguments are defined per service, and only appear
in the application if the service is compiled-in.
Depends-on: patch-137678 ("common/qat: add virtual qat device (vQAT)")
Signed-off-by: Arkadiusz Kusztal
---
v2:
-
This commit adds virtual QAT device to the Intel
QuickAssist Technology PMD. There are three kinds of
virtual QAT device defined which offer different QAT
service to the customers: symmetric crypto, asymmetric
crypto and compression.
Signed-off-by: Arkadiusz Kusztal
---
v2:
- added symmetric
This commit fixes a legacy flag, which was placed in a file
that may not be included in a building process.
Fixes: cffb726b7797 ("crypto/qat: enable insecure algorithms")
Cc: vikash.chandrax.pod...@intel.com
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 1
Service specific functions were moved to services
files. Weak symbols for device create/destroy were removed,
named private devs were replaced by an opaque array.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 112 ++--
drivers/common
This commit isolates qat device arguments from the common
code. Now arguments are defined per service, and only appear
in the application if the service is compiled-in.
Depends-on: patch-137466 ("common/qat: add virtual qat device (vQAT)")
Signed-off-by: Arkadiusz Kusztal
---
v2:
-
This commit adds virtual QAT device to the Intel
QuickAssist Technology PMD. There are three kinds of
virtual QAT device defined which offer different QAT
service to the customers: symmetric crypto, asymmetric
crypto and compression.
Signed-off-by: Arkadiusz Kusztal
---
v2:
- added symmetric
This commit fixes a legacy flag, which was placed in a file
that may not be included in a building process.
Fixes: cffb726b7797 ("crypto/qat: enable insecure algorithms")
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 1 +
drivers/crypto/qat/qat_sym.c| 1
Service specific functions were moved to services
files. Weak symbols for device create/destroy were removed,
named private devs were replaced by an opaque array.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 112 ++--
drivers/common
This commit isolates qat device arguments from the common
code. Now arguments are defined per service, and only appear
in the application if the service is compiled-in.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_common.c | 11 +++
drivers/common/qat/qat_common.h | 3
Service specific functions were moved to services
files. Weak symbols for device create/destroy were removed,
named private devs were replaced by an opaque array.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 112 ++--
drivers/common
This commit isolates qat device arguments from the common
code. Now arguments are defined per service, and only appear
in the application if the service is compiled-in.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_common.c | 11 +++
drivers/common/qat/qat_common.h | 3
This commit adds virtual QAT device to the Intel
QuickAssist Technology PMD. There are three kinds of
virtual QAT device defined which offer different QAT
service to the customers: symmetric crypto, asymmetric
crypto and compression.
Signed-off-by: Arkadiusz Kusztal
---
v2:
- added symmetric
This commit adds virtual QAT device to the Intel
QuickAssist Technology PMD. Only symmetric crypto service
is enabled with this commit.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/rel_notes/release_24_03.rst | 3 ++
drivers/common/qat/dev/qat_dev_gen4.c| 39
This commit adds tests cases to be used when C1 or kP elliptic
curve points need to be computed.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 116 -
app/test/test_cryptodev_sm2_test_vectors.h | 112 +++-
2 files changed
This commit adds SM2 elliptic curve based asymmetric
encryption and decryption to the Intel QuickAssist
Technology PMD.
Signed-off-by: Arkadiusz Kusztal
---
.../common/qat/qat_adf/icp_qat_fw_mmp_ids.h | 3 +
drivers/common/qat/qat_adf/qat_pke.h | 20 +++
drivers/crypto/qat
In the case when PMD cannot support full process of the SM2,
but elliptic curve computation only, additional fields
are needed to handle such a case.
Points C1, kP therefore were added to the SM2 crypto operation struct.
Signed-off-by: Arkadiusz Kusztal
---
lib/cryptodev/rte_crypto_asym.h
This commit adds comments for the proposal of addition of SM2
algorithm key exchange and encryption/decryption operation.
Signed-off-by: Arkadiusz Kusztal
---
lib/cryptodev/rte_crypto_asym.h | 16
1 file changed, 16 insertions(+)
diff --git a/lib/cryptodev/rte_crypto_asym.h b
QAT common code should not depend on specific services,
to the contrary, it should be used by the specific services.
This commit decuples services (sym, asym, comp) from the common code.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 183
This commit adds vqat (virtual QAT device) configuration
macros to the Intel QuickAssist Technology PMD.
Signed-off-by: Arkadiusz Kusztal
---
.../qat/qat_adf/adf_transport_access_macros_vqat.h | 82 ++
1 file changed, 82 insertions(+)
create mode 100644
drivers/common/qat
This commit adds vqat (virtual QAT device) to PMD
PCI ID map.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_common.h | 1 +
drivers/common/qat/qat_device.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/common/qat/qat_common.h b/drivers/common/qat/qat_common.h
This change prevents certain configuration functions from being
called by the secondary process.
Signed-off-by: Arkadiusz Kusztal
---
v2:
- fixed incorrect function call
- rephrased comments
v3:
- fixed incorrect debug message
drivers/common/qat/qat_device.c | 115
Added SM2 ECDSA feature to the Intel QuickAssist Technology
symmetric crypto PMD.
Signed-off-by: Arkadiusz Kusztal
---
v2:
- fixed build issues
doc/guides/cryptodevs/features/qat.ini| 1 +
doc/guides/cryptodevs/qat.rst | 1 +
doc/guides/rel_notes/release_23_11.rst
This change prevents certain configuration functions from being
called by the secondary process.
Signed-off-by: Arkadiusz Kusztal
---
v2:
- fixed incorrect function call
- rephrased comments
drivers/common/qat/qat_device.c | 115 +++-
drivers/common/qat
Added SM2 ECDSA feature to the Intel QuickAssist Technology
symmetric crypto PMD.
Signed-off-by: Arkadiusz Kusztal
---
doc/guides/cryptodevs/features/qat.ini| 1 +
doc/guides/cryptodevs/qat.rst | 1 +
doc/guides/rel_notes/release_23_11.rst| 3 +
.../common/qat
Service specific functions were moved to services
files.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/dev/qat_dev_gen1.c| 1 +
drivers/common/qat/dev/qat_dev_gen2.c| 1 +
drivers/common/qat/dev/qat_dev_gen3.c| 2 +
drivers/common/qat/dev/qat_dev_gen4.c
Command line parameters was moved to the device struct.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 54 ++---
drivers/common/qat/qat_device.h | 35
drivers/compress/qat/qat_comp_pmd.c | 9
This change prevents certain configuration functions from being
called by the secondary process.
Signed-off-by: Arkadiusz Kusztal
---
drivers/common/qat/qat_device.c | 113 +++-
drivers/common/qat/qat_device.h | 2 +
2 files changed, 66 insertions(+), 49
Some of the API comments incorrectly limited the usage of symmetric
crypto fields to block ciphers.
Signed-off-by: Arkadiusz Kusztal
---
lib/cryptodev/rte_crypto_sym.h | 20 ++--
1 file changed, 6 insertions(+), 14 deletions(-)
diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib
DSA, ECDSA and SM2.
Signed-off-by: Arkadiusz Kusztal
---
lib/cryptodev/rte_crypto_asym.h | 116 +---
1 file changed, 63 insertions(+), 53 deletions(-)
diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h
index 8b5794fb7c..43bdb392c5 100644
Added RSA NONE padding test cases.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 205 +++
app/test/test_cryptodev_rsa_test_vectors.h | 220 +
2 files changed, 425 insertions(+)
diff --git a/app/test/test_cryptodev_asym.c b
Added modular exponentiation and modular inverse
tests to the asymmetric crypto testsuite.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 152 +++--
app/test/test_cryptodev_mod_test_vectors.h | 123 +
2 files changed, 263
Removed function `one by one` as it was not enough
scalable and robust.
Signed-off-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 418 --
app/test/test_cryptodev_mod_test_vectors.h | 925 -
app/test/test_cryptodev_rsa_test_vectors.h | 224
the new functions.
v2:
- fixed build problem with non compile-time constant
v3:
- rebased
- left old pwct tests intact
v4:
- fixed mailmap mismatch
- rebased
Arkadiusz Kusztal (3):
app/test: remove obsolete test function
app/test: add modexp and modinv functions
app/test: add rsa none
95 matches
Mail list logo