Fixing cryptodev and eventdev ID numbers.
Fixes: 0dbe550a4af5 ("examples/ipsec-secgw: initialize event crypto adapter")
Cc: sta...@dpdk.org
Signed-off-by: Tejasree Kondoj
---
examples/ipsec-secgw/event_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exam
returned from cryptodev.
Fixes: a2b445b810ac ("examples/ipsec-secgw: allow larger burst size for
vectors")
Cc: sta...@dpdk.org
Signed-off-by: Tejasree Kondoj
---
v2: fixed checkpatch warning
examples/ipsec-secgw/ipsec-secgw.c | 6 --
examples/ipsec-secgw/ipsec_process.c | 3 ++
returned from cryptodev.
Fixes: a2b445b810ac ("examples/ipsec-secgw: allow larger burst size for
vectors")
Cc: sta...@dpdk.org
Signed-off-by: Tejasree Kondoj
Change-Id: I3ab1b6d3aef5385f214f51930bfd521e73255834
---
examples/ipsec-secgw/ipsec-secgw.c | 6 --
examples/ipsec-secgw/ipsec
From: Anoob Joseph
Add PMD API to flush CPT CTX entry.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 24 ++
drivers/crypto/cnxk/rte_pmd_cnxk_crypto.h | 25 +++
drivers/crypto/cnxk/version.map | 1 +
3 files change
From: Anoob Joseph
Add PMD API to get CPT LF(QP) stats.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 32 +
drivers/crypto/cnxk/rte_pmd_cnxk_crypto.h | 34 +++
drivers/crypto/cnxk/version.map | 1 +
3 files change
From: Anoob Joseph
CPTR address is the context address used by hardware. Add PMD API to
retrieve the hardware address from rte_cryptodev/rte_security session.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 49 +++
drivers/crypto/cnxk/rte_pmd_cnx
From: Anoob Joseph
Use opaque pointer instead of void * for PMD APIs. Usage of forward
declaration and opaque pointer would allow compiler to prevent
unintended usage which cannot be prevented with void *.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 12 ++---
From: Anoob Joseph
Add PMD API for CPTR read and write.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 71 +++
drivers/crypto/cnxk/rte_pmd_cnxk_crypto.h | 52 +
drivers/crypto/cnxk/version.map | 2 +
3 files changed, 1
From: Anoob Joseph
The enums are same between 9k & 10k. Move to common.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/cnxk_security.c | 106 ++-
drivers/common/cnxk/roc_ie.h | 22 +
drivers/common/cnxk/roc_ie_on.h | 22 -
drivers/co
From: Anoob Joseph
Instead of calling abort() return error code so that the caller can
handle as required.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.c | 2 +-
drivers/crypto/cnxk/cn10k_ipsec.c | 12 ++--
drivers/crypto/cnxk/cn10k_tls.c | 12 ++--
3 file
From: Vidya Sagar Velumuri
Add required padding to make passthrough data length multiple of 16
bytes for SM ciphers
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_se.h | 29 ++---
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/drivers/
From: Anoob Joseph
Rearrange fields to remove hole.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_se.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_se.h b/drivers/common/cnxk/roc_se.h
index 50741a0b81..ede8d69c0e 100644
--- a/drivers/com
Adding new PMD APIs and improvements to cnxk crypto PMD.
Anoob Joseph (9):
common/cnxk: ensure CPTR is 128B aligned
common/cnxk: rearrange to remove hole
common/cnxk: remove abort from flush API
common/cnxk: move algo enums to common
crypto/cnxk: use opaque pointer for PMD APIs
crypto/
From: Anoob Joseph
Make sure CPTR is 128B aligned.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.c | 5 +
drivers/common/cnxk/roc_platform.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c
index aba2a49d
From: Vidya Sagar Velumuri
Add support for multi segmented packet in Rx inject.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 53 ++-
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 9 +++-
2 files changed, 50 insertions(+), 12 deletions(-
; ; Vidya Sagar Velumuri ;
> Tejasree Kondoj
> Cc: dev@dpdk.org; Aakash Sasidharan ;
> Gowrishankar Muthukrishnan ;
> dev@dpdk.org
> Subject: [EXT] Re: [PATCH v2 13/15] crypto/cnxk: add support for raw APIs
>
> External Email
>
>
Fixing RISC-V compilation failure by adding check
for NULL pointer.
Fixes: 905537accdd1 ("crypto/cnxk: support raw APIs")
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/driv
From: Anoob Joseph
Enable raw crypto tests with crypto_cn10k.
Signed-off-by: Anoob Joseph
---
app/test/test_cryptodev.c | 8
1 file changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 3a51a5d00f..3f1172e191 100644
--- a/app/test/test_cryp
From: Vidya Sagar Velumuri
In raw crypto, aad and auth iv are provided in same param.
Update the auth_iv from proper param in case of GMAC.
Skip the raw for SM ciphers and auths
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +++---
drivers/crypto/cnxk/c
From: Anoob Joseph
Add crypto RAW API support in cnxk PMD
Enable the flag to allow execution of raw test suite.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Anoob Joseph
---
doc/guides/cryptodevs/features/cn10k.ini | 1 +
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 459 ++
From: Aakash Sasidharan
For cipher only zero length packets, submit it to CPT with
passthrough opcode.
Signed-off-by: Aakash Sasidharan
---
drivers/crypto/cnxk/cnxk_se.h | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/driver
From: Vidya Sagar Velumuri
Shuffle the fields in the session structure to make the fields byte
aligned
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_se.h | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers/crypto/cnx
Set PDCP chain IV offset based on zuc 256 firmware
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/hw/cpt.h | 4 +++-
drivers/common/cnxk/roc_se.h | 3 +++
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 10 --
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 5
Make IV pointers as constant.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_se.h | 4 +-
drivers/crypto/cnxk/cnxk_se.h | 140 +++---
2 files changed, 80 insertions(+), 64 deletions(-)
diff --git a/drivers/common/cnxk/roc_se.h b/drivers/common/cnxk
From: Vidya Sagar Velumuri
This patch fixes below coverity issues.
Coverity issue: 393678
Fixes: 21c1c303148b ("crypto/cnxk: support SM4")
Coverity issue: 393679
Fixes: 21c1c303148b ("crypto/cnxk: support SM4")
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_se.h | 22 +-
From: Vidya Sagar Velumuri
Check for supported SG version in SE engine capabilities.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
Removing pdcp_chain bit from capabilities as it is
supported on all platforms.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/hw/cpt.h | 3 +--
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 15 ---
2 files changed, 5 insertions(+), 13 deletions(-)
diff --git a
ned-off-by: Anoob Joseph
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
index
From: Gowrishankar Muthukrishnan
Updating private key length in ECDSA op param to include alignment,
for new microcode.
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/cnxk/cnxk_ae.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_a
From: Anoob Joseph
Set cipher key only for non-NULL cipher algorithms only.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_se.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/common/cnxk/roc_se.c b/drivers/common/cnxk/roc_se.c
index 2662297315.
From: Anoob Joseph
With SG version 2, hw requires valid rptr & dptr values.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 ++
drivers/crypto/cnxk/cnxk_se.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/crypto/cnxk/cn10k_cryptodev_ops.
From: Vidya Sagar Velumuri
Update the fields in SE context and rename to keep it in sync with
microcode spec.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_se.h | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/common/cnxk/roc_se.h b/drivers/
common/cnxk: set cipher key only for non-null cipher
crypto/cnxk: add support for raw APIs
test/crypto: enable raw crypto tests for crypto_cn10k
Gowrishankar Muthukrishnan (1):
crypto/cnxk: update private key length in ECDSA param
Tejasree Kondoj (4):
crypto/cnxk: fix IPsec CCM and GCM
From: Anoob Joseph
Enable raw crypto tests with crypto_cn10k.
Signed-off-by: Anoob Joseph
---
app/test/test_cryptodev.c | 8
1 file changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 3a51a5d00f..3f1172e191 100644
--- a/app/test/test_cryp
From: Vidya Sagar Velumuri
In raw crypto, aad and auth iv are provided in same param.
Update the auth_iv from proper param in case of GMAC.
Skip the raw for SM ciphers and auths
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +++---
drivers/crypto/cnxk/c
From: Anoob Joseph
Add crypto RAW API support in cnxk PMD
Enable the flag to allow execution of raw test suite.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 459 ++
drivers/crypto/cnxk/cnxk_cryptodev.c
From: Aakash Sasidharan
For cipher only zero length packets, submit it to CPT with
passthrough opcode.
Signed-off-by: Aakash Sasidharan
---
drivers/crypto/cnxk/cnxk_se.h | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/driver
Set PDCP chain IV offset based on zuc 256 firmware
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/hw/cpt.h | 4 +++-
drivers/common/cnxk/roc_se.h | 3 +++
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 10 --
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 5
From: Vidya Sagar Velumuri
Shuffle the fields in the session structure to make the fields byte
aligned
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_se.h | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers/crypto/cnx
Make IV pointers as constant.
Signed-off-by: Tejasree Kondoj
drivers/common/cnxk/roc_se.h | 4 +-
drivers/crypto/cnxk/cnxk_se.h | 140 +++---
2 files changed, 80 insertions(+), 64 deletions(-)
diff --git a/drivers/common/cnxk/roc_se.h b/drivers/common/cnxk
From: Vidya Sagar Velumuri
This patch fixes below coverity issues.
Coverity issue: 393678
Fixes: 21c1c303148b ("crypto/cnxk: support SM4")
Coverity issue: 393679
Fixes: 21c1c303148b ("crypto/cnxk: support SM4")
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_se.h | 22 +-
From: Vidya Sagar Velumuri
Check for supported SG version in SE engine capabilities.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
Removing pdcp_chain bit from capabilities as it is
supported on all platforms.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/hw/cpt.h | 3 +--
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 15 ---
2 files changed, 5 insertions(+), 13 deletions(-)
diff --git a
From: Gowrishankar Muthukrishnan
Fix private key length in ECDSA op param to include alignment,
for new microcode.
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/cnxk/cnxk_ae.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_ae.h b
ned-off-by: Anoob Joseph
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
index
From: Anoob Joseph
Set cipher key only for non-NULL cipher algorithms only.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_se.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/common/cnxk/roc_se.c b/drivers/common/cnxk/roc_se.c
index 2662297315.
From: Vidya Sagar Velumuri
Update the fields in SE context and rename to keep it in sync with
microcode spec.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_se.h | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/common/cnxk/roc_se.h b/drivers/
From: Anoob Joseph
With SG version 2, hw requires valid rptr & dptr values.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 ++
drivers/crypto/cnxk/cnxk_se.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/crypto/cnxk/cn10k_cryptodev_ops.
: add support for raw APIs
test/crypto: enable raw crypto tests for crypto_cn10k
Gowrishankar Muthukrishnan (1):
crypto/cnxk: fix private key length in ECDSA param
Tejasree Kondoj (4):
crypto/cnxk: fix IPsec CCM and GCM capabilities
crypto/cnxk: remove pdcp chain bit from capabilities
Adding IPsec tests using external mbuf API.
Signed-off-by: Tejasree Kondoj
---
v3:
- Rebased and fixed Intel compilation failure.
v2:
- Fixed compilation with ubuntu-20.04-gcc-static-i386.
app/test/test_cryptodev.c| 191 ++-
app/test
Adding IPsec tests using external mbuf API.
Signed-off-by: Tejasree Kondoj
---
v2:
- Fixed compilation with ubuntu-20.04-gcc-static-i386.
app/test/test_cryptodev.c| 191 ++-
app/test/test_cryptodev_security_ipsec.h | 1 +
2 files changed, 189 insertions
Adding IPsec tests using external mbuf API.
Signed-off-by: Tejasree Kondoj
---
app/test/test_cryptodev.c| 191 ++-
app/test/test_cryptodev_security_ipsec.h | 1 +
2 files changed, 189 insertions(+), 3 deletions(-)
diff --git a/app/test/test_cryptodev.c b
From: Gowrishankar Muthukrishnan
Fix order of ECFPM parameters.
Fixes: 76618fc4bef ("crypto/cnxk: fix order of ECFPM parameters")
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/cnxk/cnxk_ae.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/cn
From: Vidya Sagar Velumuri
Add support for SM4 cipher
Support for modes: SM4_CBC, SM4_ECB, SM4_CTR, SM4_OFB, SM4_CFB
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/cryptodevs/cnxk.rst| 1 +
doc/guides/cryptodevs/features/cn10k.ini | 5 +
doc/guides/rel_notes/releas
From: Anoob Joseph
Enable raw crypto tests with crypto_cn10k.
Signed-off-by: Anoob Joseph
---
app/test/test_cryptodev.c | 8
1 file changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index fb2af40b99..2ba37ed4bd 100644
--- a/app/test/test_cryp
From: Anoob Joseph
Add crypto RAW API support in cnxk PMD
Enable the flag to allow execution of raw test suite.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Anoob Joseph
---
doc/guides/cryptodevs/features/cn10k.ini | 1 +
doc/guides/rel_notes/release_23_07.rst| 1 +
drivers/cry
Enabling context cache for SE instructions on 106B0
and 103XX.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 6 +++---
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 8
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/cnxk
From: Aakash Sasidharan
Use passthrough instruction for NULL cipher with NULL
auth combination.
Signed-off-by: Aakash Sasidharan
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 20
drivers/crypto/cnxk/cnxk_se.h| 59
2 files changed, 50 insertions(+)
From: Anoob Joseph
When performing crypto offload, the packet length of the input/output
buffer does not matter. The length that matters is the
cipher/authentication range specified in crypto_op. Since application
can request for ciphering of a small portion of the buffer, the extra
comparison of
Checking for NULL pointer dereference.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h
index c66ab80749..a85e4c5170 100644
--- a
: remove packet length checks in crypto offload
crypto/cnxk: add support for raw APIs
test/crypto: enable raw crypto tests for crypto_cn10k
Gowrishankar Muthukrishnan (1):
crypto/cnxk: fix order of ECFPM parameters
Tejasree Kondoj (2):
crypto/cnxk: check for null pointer
crypto/cnxk: enable
From: Gowrishankar Muthukrishnan
Fix order of ECFPM parameters.
Fixes: 76618fc4bef ("crypto/cnxk: fix order of ECFPM parameters")
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/cnxk/cnxk_ae.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/cn
From: Vidya Sagar Velumuri
Add support for SM4 cipher
Support for modes: SM4_CBC, SM4_ECB, SM4_CTR, SM4_OFB, SM4_CFB
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/cryptodevs/cnxk.rst| 1 +
doc/guides/cryptodevs/features/cn10k.ini | 5 +
doc/guides/rel_notes/releas
From: Anoob Joseph
Enable raw crypto tests with crypto_cn10k.
Signed-off-by: Anoob Joseph
---
app/test/test_cryptodev.c | 8
1 file changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index fb2af40b99..2ba37ed4bd 100644
--- a/app/test/test_cryp
From: Anoob Joseph
Add crypto RAW API support in cnxk PMD
Enable the flag to allow execution of raw test suite.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Anoob Joseph
---
doc/guides/rel_notes/release_23_07.rst| 1 +
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 459 ++
Enabling context cache for SE instructions on 106B0
and 103XX.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 6 +++---
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 8
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/cnxk
From: Aakash Sasidharan
Use passthrough instruction for NULL cipher with NULL
auth combination.
Signed-off-by: Aakash Sasidharan
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 20
drivers/crypto/cnxk/cnxk_se.h| 59
2 files changed, 50 insertions(+)
From: Anoob Joseph
When performing crypto offload, the packet length of the input/output
buffer does not matter. The length that matters is the
cipher/authentication range specified in crypto_op. Since application
can request for ciphering of a small portion of the buffer, the extra
comparison of
offload
crypto/cnxk: add support for raw APIs
test/crypto: enable raw crypto tests for crypto_cn10k
Gowrishankar Muthukrishnan (1):
crypto/cnxk: fix order of ECFPM parameters
Tejasree Kondoj (2):
crypto/cnxk: check for null pointer
crypto/cnxk: enable context cache for 103XX
Vidya Sagar
Checking for NULL pointer dereference.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h
index c66ab80749..a85e4c5170 100644
--- a
From: Gowrishankar Muthukrishnan
Fix order of ECFPM parameters.
Fixes: 76618fc4bef ("crypto/cnxk: fix order of ECFPM parameters")
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/cnxk/cnxk_ae.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/cn
From: Vidya Sagar Velumuri
Add support for SM4 cipher
Support for modes: SM4_CBC, SM4_ECB, SM4_CTR, SM4_OFB, SM4_CFB
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/cryptodevs/cnxk.rst| 1 +
doc/guides/cryptodevs/features/cn10k.ini | 1 +
drivers/common/cnxk/hw/cpt.
From: Anoob Joseph
Enable raw crypto tests with crypto_cn10k.
Signed-off-by: Anoob Joseph
---
app/test/test_cryptodev.c | 8
1 file changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index fb2af40b99..2ba37ed4bd 100644
--- a/app/test/test_cryp
From: Anoob Joseph
Add crypto RAW API support in cnxk PMD
Enable the flag to allow execution of raw test suite.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 459 ++
drivers/crypto/cnxk/cnxk_cryptodev.c
Enabling context cache for SE instructions on 106B0
and 103XX.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 6 +++---
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 8
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/cnxk
From: Aakash Sasidharan
Use passthrough instruction for NULL cipher with NULL
auth combination.
Signed-off-by: Aakash Sasidharan
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 20
drivers/crypto/cnxk/cnxk_se.h| 59
2 files changed, 50 insertions(+)
From: Anoob Joseph
When performing crypto offload, the packet length of the input/output
buffer does not matter. The length that matters is the
cipher/authentication range specified in crypto_op. Since application
can request for ciphering of a small portion of the buffer, the extra
comparison of
Checking for NULL pointer dereference.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h
index c66ab80749..a85e4c5170 100644
--- a
: enable raw crypto tests for crypto_cn10k
Gowrishankar Muthukrishnan (1):
crypto/cnxk: fix order of ECFPM parameters
Tejasree Kondoj (2):
crypto/cnxk: check for null pointer
crypto/cnxk: enable context cache for 103XX
Vidya Sagar Velumuri (1):
crypto/cnxk: add support for sm4
app/test
Set IPsec AES-CCM test vector IV length to 11
instead of 12 as it includes only 3B salt and
8B per packet IV.
Fixes: d314299950de ("test/crypto: add AES-CCM vectors")
Cc: sta...@dpdk.org
Signed-off-by: Tejasree Kondoj
---
app/test/test_cryptodev_security_ipsec_test_vectors.h | 3 +
Fixing IPsec AES-CCM test vector IV length.
Fixes: d314299950de ("test/crypto: add AES-CCM vectors")
Cc: sta...@dpdk.org
Signed-off-by: Tejasree Kondoj
---
app/test/test_cryptodev_security_ipsec_test_vectors.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Fixing lookaside IPsec AES-CCM capabilities.
Fixes: 246dea7e6efb ("crypto/cnxk: support AES-CCM")
Cc: sta...@dpdk.org
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/c
Adding AES CCM support to lookaside crypto PMD.
Signed-off-by: Tejasree Kondoj
---
doc/guides/cryptodevs/cnxk.rst| 1 +
doc/guides/cryptodevs/features/cn10k.ini | 3 ++
doc/guides/cryptodevs/features/cn9k.ini | 3 ++
drivers/common/cnxk/roc_se.c
This series adds AES CCM support to CNXK crypto PMD
and fixes capabilities in lookaside IPsec mode.
Tejasree Kondoj (2):
crypto/cnxk: add AES CCM support
crypto/cnxk: fix IPsec CCM capabilities
doc/guides/cryptodevs/cnxk.rst| 1 +
doc/guides/cryptodevs/features/cn10k.ini
Fixing return value if session failure occurs
due to unsupported feature.
Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations")
Cc: sta...@dpdk.org
Signed-off-by: Tejasree Kondoj
---
app/test/test_cryptodev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletion
From: Anoob Joseph
In SG_VER2, DPTR would be poining at gather_comp. No need to set it
m_vaddr only to be overwritten.
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_se.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se
From: Anoob Joseph
Increase max segments to allow max values supported by
hardware/microcode. For SG_VER2, max number of descriptors supported
would be 45. For SG_VER1, maximum number of total components would be
100.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt_sg.h | 4 +-
dr
Initializing local variable from the template populated
in control path.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h
From: Vidya Sagar Velumuri
Add support for SM3 hash operations
Signed-off-by: Vidya Sagar Velumuri
---
doc/guides/cryptodevs/cnxk.rst| 1 +
doc/guides/cryptodevs/features/cn10k.ini | 1 +
drivers/common/cnxk/roc_se.h | 1 +
drivers/crypto/cnxk/cnxk_cryp
Adding CN10K pdcp chain support.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_se.c | 49 ++--
drivers/common/cnxk/roc_se.h | 7 +-
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 2 +-
drivers/crypto/cnxk/cnxk_se.h| 332
From: Aakash Sasidharan
Add support for reconfiguration of cryptodev on cnxk platforms.
Signed-off-by: Aakash Sasidharan
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 46 +++-
1 file changed, 30 insertions(+), 16 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptode
This series adds SM3, CN10K PDCP CHAIN support and
improvements to CNXK crypto PMD.
Aakash Sasidharan (1):
crypto/cnxk: add cryptodev reconfiguration support
Anoob Joseph (2):
crypto/cnxk: increase max segments
crypto/cnxk: remove redundant assignment
Tejasree Kondoj (3):
crypto/cnxk
Returning error in control path for unsupported
algorithm combinations.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_se.c | 12 +---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 5 +
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/drivers
to 16")
Signed-off-by: Tejasree Kondoj
---
examples/ipsec-secgw/sa.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
index 5f5d2685f6..63eadb3393 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-
Adding digest size to buffer size in auth-then-cipher
mode with auth_op set to generate as cipher length
includes digest size also.
Signed-off-by: Tejasree Kondoj
---
app/test-crypto-perf/cperf_options_parsing.c | 8
1 file changed, 8 insertions(+)
diff --git a/app/test-crypto-perf
Acked-by: Tejasree Kondoj
> -Original Message-
> From: Ciara Power
> Sent: Friday, March 3, 2023 3:08 PM
> Cc: dev@dpdk.org; kai...@intel.com; pablo.de.lara.gua...@intel.com; Ciara
> Power
> Subject: [EXT] [PATCH v2 0/5] test/crypto: add ZUC256 chained tests
&
Hi Akhil,
Patch sets ctx_val to 1 for asymmetric due to cn10k A0 hardware errata and
structures are redesigned to satisfy hardware alignment requirements.
Thanks
Tejasree
> -Original Message-
> From: Akhil Goyal
> Sent: Monday, February 27, 2023 11:09 PM
> To: Tejasree
Adding cn9k model check for pdcp_chain as
it is not supported in cn10k.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c
b/drivers/crypto/cnxk
From: Gowrishankar Muthukrishnan
Fix the order of ECFPM parameters according to target board.
Fixes: 8e39b133235 ("crypto/cnxk: support fixed point multiplication")
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/crypto/cnxk/cnxk_ae.h | 48 ---
1 file cha
Adding support for scatter-gather mode in 103XX and
106XX lookaside IPsec.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 21 +-
drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 222 --
drivers/crypto/cnxk/cnxk_sg.h | 23 +++
3 files
1 - 100 of 351 matches
Mail list logo