Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_cryptodev_asym.c | 12
app/test/test_cryptodev_sm2_test_vectors.h | 4 +++-
doc/guides/rel_notes/release_23_11.rst | 2 ++
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 2 +-
lib/cryptodev
Check asymmetric capabilities such as SM3 hash support and
internal RNG and accordingly choose op params for SM2 test.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_cryptodev_asym.c | 127 ++---
app/test/test_cryptodev_sm2_test_vectors.h | 28 +++--
2
Add SM2 asymmetric algorithm support in cnxk PMD.
Signed-off-by: Gowrishankar Muthukrishnan
---
doc/guides/cryptodevs/features/cn10k.ini | 1 +
doc/guides/rel_notes/release_23_11.rst| 4 +
drivers/common/cnxk/hw/cpt.h | 3 +-
drivers/common/cnxk/roc_ae.c
Validate copied memory to ensure DMA copy did not fail.
Signed-off-by: Gowrishankar Muthukrishnan
Change-Id: I9f888c061f3d077f6b7b2d8a66c6a7cb7e5f2437
---
app/test-dma-perf/benchmark.c | 23 +--
app/test-dma-perf/main.c | 16 +++-
app/test-dma-perf/main.h
Add SG copy support.
Signed-off-by: Gowrishankar Muthukrishnan
Change-Id: I17c736bec5c8309b4c9cbe9fb1eafa5b5a00a3fe
---
app/test-dma-perf/benchmark.c | 204 +-
app/test-dma-perf/config.ini | 17 +++
app/test-dma-perf/main.c | 35 +-
app/test-dma-perf
Validate copied memory to ensure DMA copy did not fail.
Fixes: 623dc9364dc ("app/dma-perf: introduce DMA performance test")
Signed-off-by: Gowrishankar Muthukrishnan
---
v2:
- patch issue fixed.
---
app/test-dma-perf/benchmark.c | 23 +--
app/test-dma-perf/main.c
Add SG copy support.
Signed-off-by: Gowrishankar Muthukrishnan
---
v2:
- patch issue fixed.
---
app/test-dma-perf/benchmark.c | 204 +-
app/test-dma-perf/config.ini | 17 +++
app/test-dma-perf/main.c | 35 +-
app/test-dma-perf/main.h | 5 +-
4
Add status on skipped tests.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev_api.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/app/test/test_dmadev_api.c b/app/test/test_dmadev_api.c
index 4a181af90a..a1646472b0 100644
--- a
Reconfigure vchan count and validate if new count is effective.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev_api.c | 51 ++
1 file changed, 51 insertions(+)
diff --git a/app/test/test_dmadev_api.c b/app/test/test_dmadev_api.c
index
Add scatter-gather copy tests.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev.c | 124 +++-
app/test/test_dmadev_api.c | 163 ++---
app/test/test_dmadev_api.h | 2 +
3 files
This series enables dmadev tests to run as per configured PMDs,
similar to other subsystem like cryptodev.
Gowrishankar Muthukrishnan (4):
dmadev: add function to get list of device identifiers
test/dma: run tests according to PMD
dma/cnxk: update PCI driver name
test/dma: enable cnxk
Add a function to get list of device identifiers for a given driver
name.
Signed-off-by: Gowrishankar Muthukrishnan
---
lib/dmadev/rte_dmadev.c | 20
lib/dmadev/rte_dmadev.h | 21 +
lib/dmadev/version.map | 1 +
3 files changed, 42 insertions(+)
diff
Run tests according to PMD configured.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/meson.build | 7 +++-
app/test/test_dmadev.c | 87 +++---
2 files changed, 71 insertions(+), 23 deletions(-)
diff --git a/app/test/meson.build b/app/test
Follow PCI driver naming convention standard across drivers.
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/dma/cnxk/cnxk_dmadev.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/dma/cnxk/cnxk_dmadev.c b/drivers/dma/cnxk/cnxk_dmadev.c
index a6f4a31e0e
Enable DMA tests for CNXK driver.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/meson.build | 1 +
app/test/test_dmadev.c | 9 +
2 files changed, 10 insertions(+)
diff --git a/app/test/meson.build b/app/test/meson.build
index de671b665f..fa5987f3a2 100644
--- a/app/test
This patch series adds vchan reconfiguration and SG tests.
v2:
- combined individual test patches with 1/3 as tests can be
skipped unless supported by PMD.
Gowrishankar Muthukrishnan (3):
test/dma: add test skip status
test/dma: test vchan reconfiguration
test/dma: add SG copy tests
Reconfigure vchan count and validate if new count is effective.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev_api.c | 51 ++
1 file changed, 51 insertions(+)
diff --git a/app/test/test_dmadev_api.c b/app/test/test_dmadev_api.c
index
Add status on skipped tests.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev_api.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/app/test/test_dmadev_api.c b/app/test/test_dmadev_api.c
index 4a181af90a..a1646472b0 100644
--- a
Add scatter-gather copy tests.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev.c | 124 +++-
app/test/test_dmadev_api.c | 163 ++---
app/test/test_dmadev_api.h | 2 +
3 files
Add SG copy support in dma-perf application.
v3:
- Combined patch that does copy validation along with
this patch, which means better validation for SG.
Gowrishankar Muthukrishnan (2):
app/dma-perf: validate copied memory
app/dma-perf: add SG copy support
app/test-dma-perf/benchmark.c
Validate copied memory to ensure DMA copy did not fail.
Fixes: 623dc9364dc ("app/dma-perf: introduce DMA performance test")
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test-dma-perf/benchmark.c | 23 +--
app/test-dma-perf/main.c | 16 +++-
Add SG copy support.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test-dma-perf/benchmark.c | 204 +-
app/test-dma-perf/config.ini | 17 +++
app/test-dma-perf/main.c | 35 +-
app/test-dma-perf/main.h | 5 +-
4 files changed, 231 insertions
Update test vector of ECDSA P521 curve for validating private key
of length shorter than prime length. As prime length of this test
is not aligned by 8 bytes, this new test vector could test any
alignment issue along with the sign validation.
Signed-off-by: Gowrishankar Muthukrishnan
---
app
> + * Structure describing SM2 xform params.
> + */
> +struct rte_crypto_sm2_xform {
> + enum rte_crypto_auth_algorithm hash;
> + /**< Hash algorithm used in SM2 op. */
> + rte_crypto_uint dA;
> + /**< Private key. */
> + struct rte_cr
Looks good to me.
Acked-by: Gowrishankar Muthukrishnan
Fix memory leaks in Asymmetric ops, as reported by valgrind.
Signed-off-by: Gowrishankar Muthukrishnan
---
v2:
- added more fixes.
---
drivers/crypto/openssl/rte_openssl_pmd.c | 38 ++--
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 15 ++--
2 files changed, 39
Fix memory leaks in Asymmetric ops, as reported by valgrind.
Signed-off-by: Gowrishankar Muthukrishnan
---
v3:
- changes as suggested in v2.
---
drivers/crypto/openssl/rte_openssl_pmd.c | 30 +---
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 16 +++
2 files
> All these checks for null are unnecessary:
>
>EVP_PKEY_free() decrements the reference count of key and, if the
> reference count is zero,
>frees it up. If key is NULL, nothing is done.
>
>
> Let me add those functions to cocci nullfree script as well.
Ack.
This patch series reworks DMA tests to follow unit test framework
followed by new vchan reconfig and SG tests.
v3:
- followed unit test framework.
Gowrishankar Muthukrishnan (3):
test/dma: use unit test framework
test/dma: test vchan reconfiguration
test/dma: add SG copy tests
app/test
Use unit test framework to execute DMA tests.
Signed-off-by: Gowrishankar Muthukrishnan
Suggested-by: Chengwen Feng
---
app/test/test_dmadev.c | 240 -
app/test/test_dmadev_api.c | 89 --
2 files changed, 212 insertions(+), 117 deletions
Reconfigure vchan count and validate if new count is effective.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev_api.c | 63 +-
1 file changed, 55 insertions(+), 8 deletions(-)
diff --git a/app/test/test_dmadev_api.c b/app/test
Add scatter-gather copy tests.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev.c | 132 +-
app/test/test_dmadev_api.c | 163 ++---
app/test/test_dmadev_api.h | 2 +
3 files
Add ECDH tests.
Signed-off-by: Gowrishankar Muthukrishnan
Change-Id: I88099e2ba8e058fbb519a06d09ebb3ece7c7e27f
---
v2:
- rebased due to patch conflict.
---
app/test/test_cryptodev_asym.c | 741
app/test/test_cryptodev_asym_util.h | 12 +
app/test
Improve dma-perf application to support PCI dev and SG copy,
along with additional supports below:
- validate copied memory
- skip tests if not opted.
v6:
- PCI patch updated.
Amit Prakash Shukla (2):
app/dma-perf: add skip support
app/dma-perf: add PCI device support
Gowrishankar
From: Amit Prakash Shukla
Add support to skip running a dma-perf test-case.
Signed-off-by: Amit Prakash Shukla
Acked-by: Anoob Joseph
---
app/test-dma-perf/config.ini | 2 ++
app/test-dma-perf/main.c | 23 +++
app/test-dma-perf/main.h | 1 +
3 files changed, 26 i
From: Amit Prakash Shukla
Add support to test performance for "device to memory" and
"memory to device" data transfer.
Signed-off-by: Amit Prakash Shukla
Acked-by: Anoob Joseph
---
v6:
- fix mbuf IOVA with remote address
---
---
app/test-dma-perf/benchmark.c | 108 +++
Validate copied memory to ensure DMA copy did not fail.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Anoob Joseph
---
app/test-dma-perf/benchmark.c | 21 -
app/test-dma-perf/main.c | 16 +++-
app/test-dma-perf/main.h | 2 +-
3 files changed, 32
Add SG copy support.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Anoob Joseph
---
app/test-dma-perf/benchmark.c | 274 +-
app/test-dma-perf/config.ini | 19 ++-
app/test-dma-perf/main.c | 34 -
app/test-dma-perf/main.h | 5 +-
4 files
Fix memory leaks in Asymmetric ops, as reported by valgrind.
Signed-off-by: Gowrishankar Muthukrishnan
---
v4:
- patch rebased.
---
drivers/crypto/openssl/rte_openssl_pmd.c | 28
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 16 +++
2 files changed, 28
Hi Fengchengwen,
>
> On 2023/11/3 23:38, Gowrishankar Muthukrishnan wrote:
> > Add scatter-gather copy tests.
> >
> > Signed-off-by: Vidya Sagar Velumuri
> > Signed-off-by: Gowrishankar Muthukrishnan
> > ---
> > app/test/test_dmadev.c | 132 ++
etter use
> sub testsuite (could refer test_pdcp.c). Anyway, this is further more, we
> could do it later.
>
> As the first stage, I think current impl is OK with above comments addressed.
>
Ack.
Regards,
Gowrishankar
> Thanks
> Chengwen
This patch series reworks DMA tests to follow unit test framework
followed by new vchan reconfig and SG tests.
v4:
- Suggestions from Fengchenwen addressed.
Gowrishankar Muthukrishnan (3):
test/dma: use unit test framework
test/dma: test multiple vchan
test/dma: add SG copy tests
app
Use unit test framework to execute DMA tests.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev.c | 235 +
app/test/test_dmadev_api.c | 95 +--
2 files changed, 193 insertions(+), 137 deletions(-)
diff --git a/app/test
Support API with multiple vchan test.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev_api.c | 63 +-
1 file changed, 55 insertions(+), 8 deletions(-)
diff --git a/app/test/test_dmadev_api.c b/app/test/test_dmadev_api.c
index 73d4db825a
Add scatter-gather copy tests.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_dmadev.c | 139 ++-
app/test/test_dmadev_api.c | 164 ++---
2 files changed, 289 insertions(+), 14
This patch series reworks DMA tests to follow unit test framework
followed by new vchan reconfig and SG tests.
v5:
- patch rebased.
Gowrishankar Muthukrishnan (3):
test/dma: use unit test framework
test/dma: test multiple vchan
test/dma: add SG copy tests
app/test/test_dmadev.c
Use unit test framework to execute DMA tests.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev.c | 236 +
app/test/test_dmadev_api.c | 95 +--
2 files changed, 193 insertions(+), 138 deletions
Support API with multiple vchan test.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev_api.c | 63 +-
1 file changed, 55 insertions(+), 8 deletions(-)
diff --git a/app/test/test_dmadev_api.c b/app/test
Add scatter-gather copy tests.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev.c | 139 ++-
app/test/test_dmadev_api.c | 164 ++---
2 files changed
This patch series reworks DMA tests to follow unit test framework
followed by new vchan reconfig and SG tests.
v6:
- fixed coding style warning (to use REGISTER_DRIVER_TEST).
Gowrishankar Muthukrishnan (3):
test/dma: use unit test framework
test/dma: test multiple vchan
test/dma: add SG
Use unit test framework to execute DMA tests.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev.c | 234 +
app/test/test_dmadev_api.c | 95 +--
2 files changed, 192 insertions(+), 137 deletions
Support API with multiple vchan test.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev_api.c | 63 +-
1 file changed, 55 insertions(+), 8 deletions(-)
diff --git a/app/test/test_dmadev_api.c b/app/test
Add scatter-gather copy tests.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev.c | 139 ++-
app/test/test_dmadev_api.c | 164 ++---
2 files changed
This patch series reworks DMA tests to follow unit test framework
followed by new vchan reconfig and SG tests.
v7:
- Addressed compilation issue in Windows platform.
Gowrishankar Muthukrishnan (3):
test/dma: use unit test framework
test/dma: test multiple vchan
test/dma: add SG copy tests
Use unit test framework to execute DMA tests.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
v7:
- Used string const in unit_test_cases name member to avoid
compilation failure in Windows platform.
---
app/test/test_dmadev.c | 234
Support API with multiple vchan test.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev_api.c | 63 +-
1 file changed, 55 insertions(+), 8 deletions(-)
diff --git a/app/test/test_dmadev_api.c b/app/test
Add scatter-gather copy tests.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev.c | 139 ++-
app/test/test_dmadev_api.c | 164 ++---
2 files changed
This patch series reworks DMA tests to follow unit test framework
followed by new vchan reconfig and SG tests.
v8:
- Addressed compilation issue in Windows platform.
Gowrishankar Muthukrishnan (3):
test/dma: use unit test framework
test/dma: test multiple vchan
test/dma: add SG copy tests
Add scatter-gather copy tests.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev.c | 139 ++-
app/test/test_dmadev_api.c | 164 ++---
2 files changed
Use unit test framework to execute DMA tests.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
v8:
- Used local macro instead of NAME_MAX, due to compilation
issue in Windows.
---
app/test/test_dmadev.c | 235 +
app/test
Support API with multiple vchan test.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chengwen Feng
---
app/test/test_dmadev_api.c | 63 +-
1 file changed, 55 insertions(+), 8 deletions(-)
diff --git a/app/test/test_dmadev_api.c b/app/test
Improve dma-perf application to support PCI dev and SG copy,
along with additional supports below:
- validate copied memory
- skip tests if not opted.
v7:
- PCI patch updated.
Amit Prakash Shukla (2):
app/dma-perf: add skip support
app/dma-perf: add PCI device support
Gowrishankar
From: Amit Prakash Shukla
Add support to skip running a dma-perf test-case.
Signed-off-by: Amit Prakash Shukla
Acked-by: Anoob Joseph
---
app/test-dma-perf/config.ini | 2 ++
app/test-dma-perf/main.c | 23 +++
app/test-dma-perf/main.h | 1 +
3 files changed, 26 i
From: Amit Prakash Shukla
Add support to test performance for "device to memory" and
"memory to device" data transfer.
Signed-off-by: Amit Prakash Shukla
Acked-by: Anoob Joseph
---
v7:
- changed cfg->raddr type to uintptr_t to fix 32 bit compilation.
---
app/test-dma-perf/benchmark.c | 108 +
Validate copied memory to ensure DMA copy did not fail.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Anoob Joseph
---
app/test-dma-perf/benchmark.c | 21 -
app/test-dma-perf/main.c | 16 +++-
app/test-dma-perf/main.h | 2 +-
3 files changed, 32
Add SG copy support.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Anoob Joseph
---
app/test-dma-perf/benchmark.c | 274 +-
app/test-dma-perf/config.ini | 19 ++-
app/test-dma-perf/main.c | 34 -
app/test-dma-perf/main.h | 5 +-
4 files
Improve dma-perf application to support PCI dev and SG copy,
along with additional supports below:
- validate copied memory
- skip tests if not opted.
v8:
- updated skip test patch.
Amit Prakash Shukla (2):
app/dma-perf: add skip support
app/dma-perf: add PCI device support
Gowrishankar
From: Amit Prakash Shukla
Add support to skip running a dma-perf test-case.
Signed-off-by: Amit Prakash Shukla
Acked-by: Anoob Joseph
Acked-by: Chengwen Feng
---
v8:
- abstracted csv file write error log
---
app/test-dma-perf/config.ini | 2 ++
app/test-dma-perf/main.c | 48 +++
From: Amit Prakash Shukla
Add support to test performance for "device to memory" and
"memory to device" data transfer.
Signed-off-by: Amit Prakash Shukla
Acked-by: Anoob Joseph
---
app/test-dma-perf/benchmark.c | 108 +++---
app/test-dma-perf/config.ini | 37
Validate copied memory to ensure DMA copy did not fail.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Anoob Joseph
---
app/test-dma-perf/benchmark.c | 21 -
app/test-dma-perf/main.c | 16 +++-
app/test-dma-perf/main.h | 2 +-
3 files changed, 32
Add SG copy support.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Anoob Joseph
---
app/test-dma-perf/benchmark.c | 274 +-
app/test-dma-perf/config.ini | 19 ++-
app/test-dma-perf/main.c | 34 -
app/test-dma-perf/main.h | 5 +-
4 files
Add support for asymmetric EDDSA in cryptodev, as referenced in RFC:
https://datatracker.ietf.org/doc/html/rfc8032
Signed-off-by: Gowrishankar Muthukrishnan
---
doc/guides/cryptodevs/features/default.ini | 1 +
doc/guides/prog_guide/cryptodev_lib.rst| 2 +-
lib/cryptodev/rte_crypto_asym.h
Add EDDSA support in OpenSSL PMD.
Signed-off-by: Gowrishankar Muthukrishnan
---
For openssl library support, refer:
https://github.com/openssl/openssl/commit/4f8b7c2319523f8e83b8b2fa31127832fa092552
---
drivers/crypto/openssl/openssl_pmd_private.h | 6 +
drivers/crypto/openssl
Add test cases to validate EDDSA sign and verify ops,
as per RFC 8032.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_cryptodev_asym.c | 339 +++
app/test/test_cryptodev_eddsa_test_vectors.h | 330 ++
2 files changed, 669 insertions
Hi,
Could this patch series be reviewed ? As of now, patches are rebased without
any conflicts.
Thanks,
Gowrishankar
> -Original Message-
> From: Gowrishankar Muthukrishnan
> Sent: Thursday, November 16, 2023 11:15 PM
> To: dev@dpdk.org
> Cc: Anoob Joseph ; Chengwen
Hi,
Could this patch series be reviewed ? As of now, patches are rebased without
any conflicts.
Thanks,
Gowrishankar
> -Original Message-
> From: Gowrishankar Muthukrishnan
> Sent: Wednesday, November 22, 2023 4:36 PM
> To: dev@dpdk.org
> Cc: Anoob Joseph ; Cheng Jiang
Hi Thomas,
> 29/02/2024 14:48, Gowrishankar Muthukrishnan:
> > Improve dma-perf application to support PCI dev and SG copy, along
> > with additional supports as below:
> > - validate copied memory
> > - skip tests if not opted.
> >
> > v11:
> &g
set already exposes all configuration via config.ini. I didn't
follow what is missing. For bi-direction, we can better continue discussing on
that patch.
Thanks,
Gowrishankar
> [1] [PATCH v2] app/dma-perf: support bi-directional transfer
>
> Thanks
>
> >
> > Recheck-request: iol-unit-amd64-testing
> >
> >
> > .
> >
Hi Fengchengwen
>
> Hi Thomas,
>
> On 2024/3/12 17:15, Thomas Monjalon wrote:
> > 07/03/2024 14:55, Gowrishankar Muthukrishnan:
> >> Hi Fengchengwen,
> >>
> >>>> Waiting for a confirmation that this series is good to go.
> >>>
&g
Hi Fengchengwen
> Hi Gowrishankar,
>
> On 2024/3/12 20:24, Gowrishankar Muthukrishnan wrote:
> > Hi Fengchengwen
> >
> >>
> >> Hi Thomas,
> >>
> >> On 2024/3/12 17:15, Thomas Monjalon wrote:
> >>> 07/03/2024 14:55, Gowrishankar
Hi Thomas,
>
> Hi Fengchengwen
>
> > Hi Gowrishankar,
> >
> > On 2024/3/12 20:24, Gowrishankar Muthukrishnan wrote:
> > > Hi Fengchengwen
> > >
> > >>
> > >> Hi Thomas,
> > >>
> > >> On 2024/3/12 17
Hi Thomas and Fengchengwen,
>
> 13/03/2024 09:22, Gowrishankar Muthukrishnan:
> > Hi Fengchengwen
> >
> > > Hi Gowrishankar,
> > >
> > > On 2024/3/12 20:24, Gowrishankar Muthukrishnan wrote:
> > > > Hi Fengchengwen
> > > >
>
mples/fips_validation: add SHA3 validation")
Signed-off-by: Gowrishankar Muthukrishnan
---
.../fips_validation/fips_validation_sha.c | 31 ++-
examples/fips_validation/main.c | 53 +--
2 files changed, 42 insertions(+), 42 deletions(-)
diff --git
Hi Eelco,
> +void
> +rte_vhost_notify_guest(int vid, uint16_t queue_id) {
> + struct virtio_net *dev = get_device(vid);
> + struct vhost_virtqueue *vq;
> +
> + if (!dev || queue_id >= VHOST_MAX_VRING)
> + return;
> +
> + vq = dev->virtqueue[queue_id];
> + if (!vq)
Add co-maintainer for FIPS validation example.
Signed-off-by: Gowrishankar Muthukrishnan
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 280058adfc..8df23e5099 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1809,6 +1809,7 @@ F: doc/guides
> Acked-by: Arek Kusztal
>
> Some things will need to be changed before the next release (few of them I
> described below), but I will ack it. Especially that other algorithms have
> similar
> issues.
>
Sure. I also thought any improvements can collectively addressed as it is
another EC.
> >
This patch series adds SM2 crypto algorithm support, along with tests
verified using Openssl.
v4:
- minor correction in comments
Gowrishankar Muthukrishnan (3):
cryptodev: add SM2 asymmetric crypto algorithm
test/crypto: add asymmetric SM2 test cases
crypto/openssl: add SM2 asymmetric
ShangMi 2 (SM2) is set of public-key cryptography algorithms
based on elliptic curves.
Added support for asymmetric SM2 in cryptodev along with prime
field curve, as referenced in RFC:
https://datatracker.ietf.org/doc/html/draft-shen-sm2-ecdsa-02
Signed-off-by: Gowrishankar Muthukrishnan
Added test cases for asymmetric SM2 crypto validation.
Test cases are added for sign/verify/encrypt/decrypt.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_cryptodev_asym.c | 581 +
app/test/test_cryptodev_sm2_test_vectors.h | 129 +
2 files
Add SM2 asymmetric algorithm support in openssl PMD.
Signed-off-by: Gowrishankar Muthukrishnan
---
doc/guides/cryptodevs/features/openssl.ini | 1 +
doc/guides/cryptodevs/openssl.rst| 1 +
doc/guides/rel_notes/release_23_07.rst | 4 +
drivers/crypto/openssl
Acked-by: Gowrishankar Muthukrishnan
Thanks.
> -Original Message-
> From: David Marchand
> Sent: Tuesday, June 13, 2023 1:48 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; bruce.richard...@intel.com; sta...@dpdk.org;
> Brian Dooley ; Gowrishankar Muthukrishnan
Acked-by: Gowrishankar Muthukrishnan
Thanks,
Gowrishankar
> -Original Message-
> From: Ciara Power
> Sent: Thursday, June 15, 2023 1:33 PM
> To: dev@dpdk.org
> Cc: Ciara Power ; Gowrishankar Muthukrishnan
> ; Kai Ji
> Subject: [EXT] [PATCH] crypto/openssl: fix
> diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c
> index 5b16dcab56..b9034b637a 100644
> --- a/app/test/test_cryptodev_asym.c
> +++ b/app/test/test_cryptodev_asym.c
> @@ -64,6 +64,39 @@ static uint32_t test_index;
>
> static struct crypto_testsuite_params_asym testsu
Series verified with openssl pmd.
Acked-by: Gowrishankar Muthukrishnan
Thanks.
Acked-by: Gowrishankar Muthukrishnan
Acked-by: Gowrishankar Muthukrishnan
In some openSSL 3 libraries, uninitialized output variable
cause segfault. It is always nice to initialize it.
Fixes: 3b7d638fb11f ("crypto/openssl: support asymmetric SM2")
Bugzilla ID: 1250
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/openssl/rte_openssl_pmd.c | 2
In some version of openSSL 3 lib (for an instance, in linux
distribution), if SM2 is not supported, driver should return
error.
Fixes: 3b7d638fb11f ("crypto/openssl: support asymmetric SM2")
Bugzilla ID: 1250
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/cryp
In case of FIPS 140-2 format of test vectors in MCT test, msg is
not given in the test vector, hence pt will be NULL which test
function has to handle correctly.
Fixes: d5c247145c2c ("examples/fips_validation: add parsing for SHA")
Signed-off-by: Gowrishankar Muthukrishnan
---
Tested with FIPS test vectors from NIST.
Acked-by: Gowrishankar Muthukrishnan
Thanks,
Gowrishankar
> -Original Message-
> From: Brian Dooley
> Sent: Friday, September 16, 2022 2:30 PM
> To: Fan Zhang ; Brian Dooley
>
> Cc: dev@dpdk.org; Gowrishankar Muthukrishn
401 - 500 of 895 matches
Mail list logo