[PATCH 3/3] test/crypto: set ptr to null post crypto op free

2025-06-18 Thread Nithinsen Kaithakadan
Set pointer to NULL post rte_crypto_op_free operation. Fixes: 3bf0db60f5d2 ("test/crypto: add queue pair depth used count") Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests") Fixes: ffbe3be0d4b5 ("app/test: add libcrypto") Signed-off-by: N

[PATCH 2/3] test/crypto: set iv len to 32B for auth and cipher

2025-06-18 Thread Nithinsen Kaithakadan
Set maximum IV length to 32 bytes to include both auth IV and cipher IV. Fixes: fd01a9be38d5 ("test/crypto: move IV to crypto op private data") Signed-off-by: Nithinsen Kaithakadan --- app/test/test_cryptodev.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 1/3] test/crypto: add ctr test cases and vectors

2025-06-18 Thread Nithinsen Kaithakadan
Add test cases for AES-CTR along with the corresponding vectors. Signed-off-by: Nithinsen Kaithakadan --- app/test/test_cryptodev.c | 33 +- ...st_cryptodev_security_ipsec_test_vectors.h | 316 ++ 2 files changed, 348 insertions(+), 1 deletion(-) diff --git

[PATCH 0/3] fixes and addition of aes ctr test vectors

2025-06-18 Thread Nithinsen Kaithakadan
Include AES CTR test cases and resolve test failures Nithinsen Kaithakadan (3): test/crypto: add ctr test cases and vectors test/crypto: set iv len to 32B for auth and cipher test/crypto: set ptr to null post crypto op free app/test/test_cryptodev.c | 36 +- app/test

[PATCH v3 1/2] crypto/cnxk: add crypto adapter for cn20k

2025-06-18 Thread Nithinsen Kaithakadan
Add crypto adapter support for CN20K crypto PMD. Signed-off-by: Nithinsen Kaithakadan --- .../crypto/cnxk/cn20k_cryptodev_event_dp.h| 14 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 588 +- drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 4 + drivers/event/cnxk

[PATCH v3 0/2] add crypto adapter support in cn20k

2025-06-18 Thread Nithinsen Kaithakadan
This series introduces support for the crypto adapter in CN20K and incorporates sessionless asymmetric changes. v2: - fix compilation failures v3: - add dependent patch Nithinsen Kaithakadan (2): crypto/cnxk: add crypto adapter for cn20k crypto/cnxk: add sessionless asym cn20k support doc

[PATCH v3 2/2] crypto/cnxk: add sessionless asym cn20k support

2025-06-18 Thread Nithinsen Kaithakadan
Add support for sessionless asymmetric operations for cn20k. Signed-off-by: Nithinsen Kaithakadan --- doc/guides/cryptodevs/features/cn20k.ini | 1 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 91 +-- 2 files changed, 87 insertions(+), 5 deletions(-) diff --git a/doc

[PATCH] crypto/cnxk: add sessionless asym cn20k support

2025-06-17 Thread Nithinsen Kaithakadan
Add support for sessionless asymmetric operations for cn20k. Signed-off-by: Nithinsen Kaithakadan --- doc/guides/cryptodevs/features/cn20k.ini | 1 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 566 +- 2 files changed, 564 insertions(+), 3 deletions(-) diff --git a/doc

[PATCH v2] crypto/cnxk: add crypto adapter for cn20k

2025-06-17 Thread Nithinsen Kaithakadan
Add crypto adapter support for CN20K crypto PMD. Signed-off-by: Nithinsen Kaithakadan --- .../crypto/cnxk/cn20k_cryptodev_event_dp.h| 14 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 588 +- drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 4 + drivers/event/cnxk

[PATCH] crypto/cnxk: add crypto adapter for cn20k

2025-06-17 Thread Nithinsen Kaithakadan
Add crypto adapter support for CN20K crypto PMD. Signed-off-by: Nithinsen Kaithakadan --- .../crypto/cnxk/cn20k_cryptodev_event_dp.h| 14 + drivers/crypto/cnxk/cn20k_cryptodev_ops.c | 585 +- drivers/crypto/cnxk/cn20k_cryptodev_ops.h | 4 + drivers/event/cnxk

RE: [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256

2025-02-11 Thread Nithinsen Kaithakadan
Recheck-request: loongarch-unit-testing

[PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256

2025-02-09 Thread Nithinsen Kaithakadan
This patch fixes IV length to 8 in case of AES-CTR 192/256. Fixes: 9413c3901f31 ("examples/ipsec-secgw: support additional algorithms") Signed-off-by: Nithinsen Kaithakadan --- examples/ipsec-secgw/sa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exam

[PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256

2025-02-07 Thread Nithinsen Kaithakadan
This patch fixes IV length to 8 in case of AES-CTR 192/256. Fixes: 9413c3901f31 ("examples/ipsec-secgw: support additional algorithms") Signed-off-by: Nithinsen Kaithakadan --- examples/ipsec-secgw/sa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exam