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
; ; 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
>
>
Set inplace bit of lookaside IPsec and remove
rptr population in datapath.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_ie_on.h | 1 +
drivers/common/cnxk/roc_ie_ot.h | 2 ++
drivers/crypto/cnxk/cn10k_ipsec.c| 4 ++--
drivers/crypto/cnxk
AES-CMAC uses PDCP opcode. Length should be passed
in bits.
Fixes: 759b5e653580 ("crypto/cnxk: support AES-CMAC")
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/c
Changing CPT engine capabilities structure as per
microcode.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_mbox.h | 5 -
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 4 +---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/common/cnxk/roc_mbox.h b
Adding support for 103XX CPT.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/hw/cpt.h | 26 +-
drivers/common/cnxk/roc_se.h | 11 +
drivers/crypto/cnxk/cn10k_cryptodev.c |2 +-
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 67 +-
drivers/crypto/cnxk
From: Vidya Sagar Velumuri
Add support for custom port values for UDP encapsulation
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 26 ++
1 file changed, 18 insertions(+), 8 deletions(-)
diff --git a/drivers/common/cnxk/cnxk_security.c
b
From: Vidya Sagar Velumuri
For transport mode, IP header will not be part of encryption.
Update the response len calculation accordingly for transport mode
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn9k_ipsec.c| 42 -
drivers/crypto/cnxk/cn9k_i
From: Vidya Sagar Velumuri
Add supoort for cipher DES and auth MD5 for IPsec offload
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +-
.../crypto/cnxk/cnxk_cryptodev_capabilities.c | 42 ++-
drivers/crypto/cnxk/cnxk_ipsec.h
This series updates autotest with DES, 3DES, MD5
and custom UDP ports support.
Tejasree Kondoj (2):
test/crypto: check antireply capability only for ingress
test/crypto: add unit test for custom UDP ports
Vidya Sagar Velumuri (4):
test/security: add unit tests for DES and 3DES
test
From: Vidya Sagar Velumuri
Add unit test cases and test vecotrs for DES-CBC
and 3DES-CBC.
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev_security_ipsec.h | 12 +
...st_cryptodev_security_ipsec_test_vectors.h | 876 ++
app/test/test_security_inline_proto.c
From: Vidya Sagar Velumuri
Add unit test cases for MD5 auth algo.
Add the test vectors for MD5 auth algo.
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev_security_ipsec.h | 6 +
...st_cryptodev_security_ipsec_test_vectors.h | 107 ++
app/test/test_securit
From: Vidya Sagar Velumuri
With event mode is enabled, send and receive packets via event dev
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_security_inline_proto.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/app/test/test_security_inline_pr
From: Vidya Sagar Velumuri
Antireplay is supported only for ingress. Check this
capability only for ingress.
Signed-off-by: Tejasree Kondoj
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev_security_ipsec.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions
From: Vidya Sagar Velumuri
Add unit test cases for auth algo MD5.
Add unit test cases for cipher DES-CBC.
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev.c| 50
app/test/test_cryptodev_security_ipsec.h | 2 +-
2 files changed, 51 insert
From: Vidya Sagar Velumuri
Add unit test for custom UDP ports with UDP encapsulation.
Verify UDP header in egress path for all unit tests.
Signed-off-by: Tejasree Kondoj
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev.c| 21 +++
app/test
This series adds improvements and support for 103XX CPT,
PDCP AAD, DES and MD5 algorithms in cnxk crypto PMD.
Anoob Joseph (3):
crypto/cnxk: switch to SG when metabuf is allocated
crypto/cnxk: verify IV length during session create
crypto/cnxk: remove dead code
Tejasree Kondoj (5
From: Vidya Sagar Velumuri
Add support to generate ipad and opad for md5.
Skip the call to additional command WRITE_SA during SA creation.
Instead use the software defined function to generate opad and ipad.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/cnxk_security.c | 49
From: Vidya Sagar Velumuri
Acquire locks in antireplay logic to avoid race condition
Signed-off-by: Vidya Sagar Velumuri
---
drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/cnxk/cn9k_cryptodev_ops.c
b/drivers/crypto/cnxk/cn9k_crypt
Adding support for PDCP AAD in 96xx crypto pmd.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 10 +--
drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 4 +-
drivers/crypto/cnxk/cnxk_se.h| 86 +++-
3 files changed, 48 insertions(+), 52
From: Anoob Joseph
Metabuf would be allocated only when SG is required. Check the pointer
instead of flags.
Coverity issue: 381018
Fixes: d3bff77cc371 ("crypto/cnxk: separate out PDCP chain datapath")
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_se.h | 33 ++---
From: Anoob Joseph
For Kasumi cipher operation, IV is a must. Verify the arg provided in
session creation and remove datapath check.
Coverity issue: 381020 381019
Fixes: 7a59ccc1b502 ("crypto/cnxk: remove extra indirection for FC and Kasumi")
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnx
From: Anoob Joseph
Coverity issue: 381022
Fixes: d94414d1627f ("crypto/cnxk: separate out PDCP cipher datapath")
Signed-off-by: Anoob Joseph
---
drivers/crypto/cnxk/cnxk_se.h | 38 ++-
1 file changed, 15 insertions(+), 23 deletions(-)
diff --git a/drivers/crypt
This series updates autotest with DES, 3DES, MD5
and custom UDP ports support.
v2:
* Squashed a change in 5th patch with 2nd one.
Tejasree Kondoj (2):
test/crypto: check antireply capability only for ingress
test/crypto: add unit test for custom UDP ports
Vidya Sagar Velumuri (4):
test
From: Vidya Sagar Velumuri
Add unit test cases for MD5 auth algo.
Add the test vectors for MD5 auth algo.
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev_security_ipsec.h | 6 +
...st_cryptodev_security_ipsec_test_vectors.h | 107 ++
app/test/test_securit
From: Vidya Sagar Velumuri
Add unit test cases and test vectors for DES-CBC
and 3DES-CBC.
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev_security_ipsec.h | 12 +
...st_cryptodev_security_ipsec_test_vectors.h | 876 ++
app/test/test_security_inline_proto.c
From: Vidya Sagar Velumuri
Antireplay is supported only for ingress. Check this
capability only for ingress.
Signed-off-by: Tejasree Kondoj
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev_security_ipsec.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions
From: Vidya Sagar Velumuri
With event mode is enabled, send and receive packets via event dev
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_security_inline_proto.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/app/test/test_security_inline_pr
From: Vidya Sagar Velumuri
Add unit test cases for auth algo MD5.
Add unit test cases for cipher DES-CBC.
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev.c | 50 +++
1 file changed, 50 insertions(+)
diff --git a/app/test/test_cryptodev.c b/a
From: Vidya Sagar Velumuri
Add unit test for custom UDP ports with UDP encapsulation.
Verify UDP header in egress path for all unit tests.
Signed-off-by: Tejasree Kondoj
Signed-off-by: Vidya Sagar Velumuri
---
app/test/test_cryptodev.c| 21 +++
app/test
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
: 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
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/
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: 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
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: 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
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 +-
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
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
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: 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: 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
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
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
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/
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: 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
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
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: 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
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 +-
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
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
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: 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: 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
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
IPv6 packets
* Fixed if condition
v2:
* Supported per SA UDP encapsulation in ipsec-secgw
* Added new packet type for UDP-ESP packets in mbuf
Tejasree Kondoj (3):
crypto/octeontx2: add UDP encapsulation support
examples/ipsec-secgw: add UDP encapsulation support
crypto/octeontx2: support
Adding UDP encapsulation support for IPsec in
lookaside protocol mode.
Signed-off-by: Tejasree Kondoj
Acked-by: Akhil Goyal
---
doc/guides/cryptodevs/octeontx2.rst | 1 +
doc/guides/rel_notes/release_21_05.rst| 2 +
drivers/crypto/octeontx2/otx2_cryptodev_sec.c | 59
Adding lookaside IPsec UDP encapsulation support
for NAT traversal.
Application has to add udp-encap option to sa config file
to enable UDP encapsulation on the SA.
Signed-off-by: Tejasree Kondoj
Acked-by: Akhil Goyal
---
doc/guides/rel_notes/release_21_05.rst | 5 +++
doc/guides
Adding support for IPv4 lookaside IPsec transport mode.
Signed-off-by: Tejasree Kondoj
Acked-by: Akhil Goyal
---
doc/guides/cryptodevs/octeontx2.rst | 1 +
doc/guides/rel_notes/release_21_05.rst| 2 +
drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 7 +-
drivers/crypto
-off-by: Tejasree Kondoj
---
lib/security/rte_security.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h
index 88d31de0a6..c67de78baf 100644
--- a/lib/security/rte_security.h
+++ b/lib/security/rte_security.h
@@ -55,6
://mails.dpdk.org/archives/dev/2021-July/213484.html
Signed-off-by: Tejasree Kondoj
---
doc/guides/rel_notes/deprecation.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index 9584d6bfd7..331b9d424a 100644
This series adds support for zuc, snow3g and
aes-ctr-cmac chained operations in cn9k PMD
and autotest application.
Tejasree Kondoj (4):
crypto/cnxk: fix CMAC IV
crypto/cnxk: support stream cipher chained operations
crypto/cnxk: support scatter gather mode
app/test: add additional stream
Fixing CMAC IV length to 16 bytes.
Fixes: 759b5e653580 ("crypto/cnxk: support AES-CMAC")
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_
Adding support for zuc, snow3g and aes-ctr-cmac
chained operations on cn9k using key and IV scheme
in microcode.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_se.c | 271 +--
drivers/common/cnxk/roc_se.h | 74 +--
drivers/crypto/cnxk
Adding scatter gather support for zuc, snow3g
and aes-ctr-cmac chained operations on cn9k.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 149 +-
1 file changed, 128 insertions(+), 21 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b
Adding zuc, snow3g and aes-ctr-cmac auth-cipher
test vectors with same auth and cipher offsets
and total digest data encrypted.
Also skipping other tests with different
cipher and auth offsets and partial or no digest
encrypted ones on cn9k platform.
Signed-off-by: Tejasree Kondoj
---
app/test
This series adds support for new full context
microcode in cn9k IPsec PMD.
Anoob Joseph (1):
crypto/cnxk: improvements to fastpath handling
Tejasree Kondoj (1):
crypto/cnxk: add anti-replay as per new firmware
Vidya Sagar Velumuri (1):
crypto/cnxk: move IPsec SA creation to common
From: Vidya Sagar Velumuri
Move the IPsec SA creation to common.
The code can be used by fastpath also to create the SAs
Add changes to support new full context microcode
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Archana Muniganti
---
drivers/common/cnxk/cnxk_security.c | 398 ++
From: Anoob Joseph
Remove SA & packet accesses in dequeue path by adjusting the headers in
the enqueue path for outbound packets. For inbound packets, add extra
esn_en flag in the SA to minimize cache line accesses in the datapath.
Also, use seq_lo for IPID. IPID just need to be unique. Instead
Adding anti-replay changes as per new FP-FC microcode.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_ie_on.h | 5 +-
drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 63 +
drivers/crypto/cnxk/cn9k_ipsec.c | 3 +
drivers/crypto/cnxk
This series adds support for zuc, snow3g and
aes-ctr-cmac chained operations in cn9k PMD.
v2:
* Split autotest patch into separate series
Tejasree Kondoj (3):
crypto/cnxk: fix CMAC IV
crypto/cnxk: support stream cipher chained operations
crypto/cnxk: support scatter gather mode
drivers
Fixing CMAC IV length to 16 bytes.
Fixes: 759b5e653580 ("crypto/cnxk: support AES-CMAC")
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_
Adding support for zuc, snow3g and aes-ctr-cmac
chained operations on cn9k using key and IV scheme
in microcode.
Signed-off-by: Tejasree Kondoj
---
drivers/common/cnxk/roc_se.c | 271 +--
drivers/common/cnxk/roc_se.h | 74 +--
drivers/crypto/cnxk
Adding scatter gather support for zuc, snow3g
and aes-ctr-cmac chained operations on cn9k.
Signed-off-by: Tejasree Kondoj
---
drivers/crypto/cnxk/cnxk_se.h | 149 +-
1 file changed, 128 insertions(+), 21 deletions(-)
diff --git a/drivers/crypto/cnxk/cnxk_se.h b
Adding zuc, snow3g and aes-ctr-cmac auth-cipher
test vectors with same auth and cipher offsets
and total digest data encrypted.
Existing tests have different cipher and
auth offsets and partial or no digest encrypted.
Signed-off-by: Tejasree Kondoj
---
v2:
* Removed cn9k PMD checks
app/test
Hi Ciara,
Thanks for pointing it out. Will rework test vectors and submit new version.
Thanks
Tejasree
> -Original Message-
> From: Power, Ciara
> Sent: Tuesday, June 21, 2022 7:58 PM
> To: Akhil Goyal ; Tejasree Kondoj
> ; Zhang, Roy Fan
> Cc: Anoob Joseph ; Ank
Adding zuc, snow3g and aes-ctr-cmac auth-cipher
test vectors with same auth and cipher offsets
and total digest data encrypted.
Existing tests have different cipher and
auth offsets and partial or no digest encrypted.
Signed-off-by: Tejasree Kondoj
---
v3:
* Modified IV of test vectors as per
Adding zuc, snow3g and aes-ctr-cmac auth-cipher
test vectors with same auth and cipher offsets
and total digest data encrypted.
Existing tests have different cipher and
auth offsets and partial or no digest encrypted.
Signed-off-by: Tejasree Kondoj
---
v4:
* Set last 3 bytes of IV to zero in
Acked-by: Tejasree Kondoj
> -Original Message-
> From: Ciara Power
> Sent: Thursday, June 23, 2022 8:13 PM
> To: Akhil Goyal ; Fan Zhang
>
> Cc: dev@dpdk.org; kai...@intel.com; pablo.de.lara.gua...@intel.com;
> Tejasree Kondoj ; Ciara Power
> ; arkadiusz
Acked-by: Tejasree Kondoj
> -Original Message-
> From: Ciara Power
> Sent: Thursday, June 23, 2022 8:13 PM
> To: Akhil Goyal ; Fan Zhang
>
> Cc: dev@dpdk.org; kai...@intel.com; pablo.de.lara.gua...@intel.com;
> Tejasree Kondoj ; Ciara Power
> ; deepak.k.j...@int
Tejasree Kondoj (4):
crypto/octeontx2: add UDP encapsulation support
mbuf: add packet type for UDP-ESP tunnel packets
examples/ipsec-secgw: add UDP encapsulation support
crypto/octeontx2: support lookaside IPv4 transport mode
doc/guides/cryptodevs/octeontx2.rst | 2 +
doc/guides
Adding UDP encapsulation support for IPsec in
lookaside protocol mode.
Signed-off-by: Tejasree Kondoj
---
doc/guides/cryptodevs/octeontx2.rst | 1 +
doc/guides/rel_notes/release_21_05.rst| 5 +++
drivers/crypto/octeontx2/otx2_cryptodev_sec.c | 40 ++-
3 files
Adding new mbuf packet type for UDP encapsulated
ESP packets.
Signed-off-by: Tejasree Kondoj
---
doc/guides/rel_notes/release_21_05.rst | 5 +
lib/librte_mbuf/rte_mbuf_ptype.h | 21 +
2 files changed, 26 insertions(+)
diff --git a/doc/guides/rel_notes
Adding lookaside IPsec UDP encapsulation support
for NAT traversal.
Application has to add udp-encap option to sa config file
to enable UDP encapsulation on the SA.
Signed-off-by: Tejasree Kondoj
---
doc/guides/rel_notes/release_21_05.rst | 5
doc/guides/sample_app_ug/ipsec_secgw.rst
Adding support for IPv4 lookaside IPsec transport mode.
Signed-off-by: Tejasree Kondoj
---
doc/guides/cryptodevs/octeontx2.rst | 1 +
doc/guides/rel_notes/release_21_05.rst| 2 +
drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 7 +-
drivers/crypto/octeontx2
Adding new mbuf packet type for UDP encapsulated
ESP packets.
Signed-off-by: Tejasree Kondoj
---
doc/guides/rel_notes/release_21_05.rst | 5 +
lib/librte_mbuf/rte_mbuf_ptype.h | 21 +
2 files changed, 26 insertions(+)
diff --git a/doc/guides/rel_notes
Adding support for IPv4 lookaside IPsec transport mode.
Signed-off-by: Tejasree Kondoj
---
doc/guides/cryptodevs/octeontx2.rst | 1 +
doc/guides/rel_notes/release_21_05.rst| 2 +
drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 7 +-
drivers/crypto/octeontx2
encapsulation in ipsec-secgw
* Added new packet type for UDP-ESP packets in mbuf
Tejasree Kondoj (4):
crypto/octeontx2: add UDP encapsulation support
mbuf: add packet type for UDP-ESP tunnel packets
examples/ipsec-secgw: add UDP encapsulation support
crypto/octeontx2: support lookaside IPv4 transport
Adding lookaside IPsec UDP encapsulation support
for NAT traversal.
Application has to add udp-encap option to sa config file
to enable UDP encapsulation on the SA.
Signed-off-by: Tejasree Kondoj
---
doc/guides/rel_notes/release_21_05.rst | 5 +++
doc/guides/sample_app_ug/ipsec_secgw.rst
Adding UDP encapsulation support for IPsec in
lookaside protocol mode.
Signed-off-by: Tejasree Kondoj
---
doc/guides/cryptodevs/octeontx2.rst | 1 +
doc/guides/rel_notes/release_21_05.rst| 2 +
drivers/crypto/octeontx2/otx2_cryptodev_sec.c | 59 ---
3 files
Hi Konstantin,
Please see inline.
Thanks
Tejasree
> -Original Message-
> From: Ananyev, Konstantin
> Sent: Tuesday, April 6, 2021 7:08 PM
> To: Tejasree Kondoj ; Akhil Goyal
> ; Nicolau, Radu
> Cc: Anoob Joseph ; Ankur Dwivedi
> ; Jerin Jacob Kollanukkaran ;
>
Hi Olivier, Andrew
Could you please review the patch?
Thanks
Tejasree
> -Original Message-
> From: Tejasree Kondoj
> Sent: Thursday, April 8, 2021 1:47 PM
> To: Akhil Goyal ; Radu Nicolau
> ; Konstantin Ananyev
>
> Cc: Tejasree Kondoj ; Anoob Joseph
> ; Ankur
1 - 100 of 510 matches
Mail list logo