Message ID | 20201218141016.1834-1-ktejasree@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C4D66A09FD; Fri, 18 Dec 2020 14:14:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5D3CDCABF; Fri, 18 Dec 2020 14:14:23 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 0559FCAB9 for <dev@dpdk.org>; Fri, 18 Dec 2020 14:14:21 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0BIDCCSS006502; Fri, 18 Dec 2020 05:14:20 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=ho3+gLuLr3ws0yFtYKM2LtEd4lliHJkHJrQ0RU9GH5k=; b=SgPcoqMsnAMPZJcQzK3LOIUD8KPd8LBzRaal/P4OZUPIMcsbCReLToDuKTG635J3hn1j ewvBTdMnFpnI6pDWXxUH3AYbmNwn60+RT6yvZKZ6gpfDk040tZUP2ViRk8PZ9k6vNUh9 wvb9qawYrvs277cUhJCxkOXAyntZ02p0Afp5tQJfau2VKyPhP93Wynt98YFeHY7Lnq1t gU08n/Ld0jKUSLR8norsuZ+cKiNwRhv495EkpqtWIR3fRzqX2F9KZjoM3utiGCnJSEuW mIM19wBzcHWVkmmh6tp2vRqYgnuwbAvyGdNxLJoWv1RgSySkT+cldXCrNVlSlmV7bM8N 3A== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 35g4rp406d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 18 Dec 2020 05:14:20 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 18 Dec 2020 05:14:19 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 18 Dec 2020 05:14:19 -0800 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id E13793F7048; Fri, 18 Dec 2020 05:14:16 -0800 (PST) From: Tejasree Kondoj <ktejasree@marvell.com> To: Akhil Goyal <akhil.goyal@nxp.com>, Radu Nicolau <radu.nicolau@intel.com> CC: Tejasree Kondoj <ktejasree@marvell.com>, Anoob Joseph <anoobj@marvell.com>, Ankur Dwivedi <adwivedi@marvell.com>, <dev@dpdk.org> Date: Fri, 18 Dec 2020 19:40:14 +0530 Message-ID: <20201218141016.1834-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2020-12-18_09:2020-12-18, 2020-12-18 signatures=0 Subject: [dpdk-dev] [PATCH 0/2] support SSL/TLS way of cipher-auth operations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
support SSL/TLS way of cipher-auth operations
|
|
Message
Tejasree Kondoj
Dec. 18, 2020, 2:10 p.m. UTC
This series adds SSL/TLS way of cipher-auth operations support i.e. auth generation followed by encryption and decryption followed by auth verify in OCTEON TX, OCTEON TX2 PMDs and sample unit test application. Tejasree Kondoj (2): common/cpt: support SSL/TLS way of cipher-auth operations test/crypto: support SSL/TLS way of cipher-auth operations app/test/test_cryptodev_aes_test_vectors.h | 576 ++++++++++++++++++ app/test/test_cryptodev_blockcipher.c | 98 ++- app/test/test_cryptodev_blockcipher.h | 9 + doc/guides/rel_notes/release_21_02.rst | 12 + drivers/common/cpt/cpt_mcode_defines.h | 7 +- drivers/common/cpt/cpt_ucode.h | 42 +- drivers/crypto/octeontx/otx_cryptodev_ops.c | 8 +- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 8 +- 8 files changed, 736 insertions(+), 24 deletions(-)
Comments
> > This series adds SSL/TLS way of cipher-auth operations support i.e. auth > generation followed by encryption and decryption followed by auth verify in > OCTEON TX, OCTEON TX2 PMDs and sample unit test application. > > Tejasree Kondoj (2): > common/cpt: support SSL/TLS way of cipher-auth operations > test/crypto: support SSL/TLS way of cipher-auth operations > > app/test/test_cryptodev_aes_test_vectors.h | 576 > ++++++++++++++++++ > app/test/test_cryptodev_blockcipher.c | 98 ++- > app/test/test_cryptodev_blockcipher.h | 9 + > doc/guides/rel_notes/release_21_02.rst | 12 + > drivers/common/cpt/cpt_mcode_defines.h | 7 +- > drivers/common/cpt/cpt_ucode.h | 42 +- > drivers/crypto/octeontx/otx_cryptodev_ops.c | 8 +- > drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 8 +- > 8 files changed, 736 insertions(+), 24 deletions(-) > Series Acked-by: Anoob Joseph <anoobj@marvell.com>
Hi Akhil, I'm planning to add device feature flag(RTE_CRYPTODEV_FF_SSL_ORDER) along with SSL test cases movement to chain array in v2. Would that be fine? Feature flag is needed to skip SSL test cases if device doesn't support them. Thanks Tejasree > -----Original Message----- > From: Tejasree Kondoj <ktejasree@marvell.com> > Sent: Friday, December 18, 2020 7:40 PM > To: Akhil Goyal <akhil.goyal@nxp.com>; Radu Nicolau > <radu.nicolau@intel.com> > Cc: Tejasree Kondoj <ktejasree@marvell.com>; Anoob Joseph > <anoobj@marvell.com>; Ankur Dwivedi <adwivedi@marvell.com>; > dev@dpdk.org > Subject: [PATCH 0/2] support SSL/TLS way of cipher-auth operations > > This series adds SSL/TLS way of cipher-auth operations support i.e. auth > generation followed by encryption and decryption followed by auth verify in > OCTEON TX, OCTEON TX2 PMDs and sample unit test application. > > Tejasree Kondoj (2): > common/cpt: support SSL/TLS way of cipher-auth operations > test/crypto: support SSL/TLS way of cipher-auth operations > > app/test/test_cryptodev_aes_test_vectors.h | 576 ++++++++++++++++++ > app/test/test_cryptodev_blockcipher.c | 98 ++- > app/test/test_cryptodev_blockcipher.h | 9 + > doc/guides/rel_notes/release_21_02.rst | 12 + > drivers/common/cpt/cpt_mcode_defines.h | 7 +- > drivers/common/cpt/cpt_ucode.h | 42 +- > drivers/crypto/octeontx/otx_cryptodev_ops.c | 8 +- > drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 8 +- > 8 files changed, 736 insertions(+), 24 deletions(-) > > -- > 2.27.0
Hi Tejasree, Sorry I missed this mail earlier. I believe it is same as Digest encrypted case. > -----Original Message----- > From: Tejasree Kondoj <ktejasree@marvell.com> > Sent: Thursday, January 21, 2021 12:57 PM > To: Tejasree Kondoj <ktejasree@marvell.com>; Akhil Goyal > <akhil.goyal@nxp.com>; Radu Nicolau <radu.nicolau@intel.com> > Cc: Anoob Joseph <anoobj@marvell.com>; Ankur Dwivedi > <adwivedi@marvell.com>; dev@dpdk.org; Zhang, Roy Fan > <roy.fan.zhang@intel.com>; Trahe, Fiona <fiona.trahe@intel.com> > Subject: RE: [PATCH 0/2] support SSL/TLS way of cipher-auth operations > > Hi Akhil, > > I'm planning to add device feature flag(RTE_CRYPTODEV_FF_SSL_ORDER) > along with SSL test cases movement to chain array in v2. Would that be fine? > Feature flag is needed to skip SSL test cases if device doesn't support them. > > Thanks > Tejasree > > > -----Original Message----- > > From: Tejasree Kondoj <ktejasree@marvell.com> > > Sent: Friday, December 18, 2020 7:40 PM > > To: Akhil Goyal <akhil.goyal@nxp.com>; Radu Nicolau > > <radu.nicolau@intel.com> > > Cc: Tejasree Kondoj <ktejasree@marvell.com>; Anoob Joseph > > <anoobj@marvell.com>; Ankur Dwivedi <adwivedi@marvell.com>; > > dev@dpdk.org > > Subject: [PATCH 0/2] support SSL/TLS way of cipher-auth operations > > > > This series adds SSL/TLS way of cipher-auth operations support i.e. auth > > generation followed by encryption and decryption followed by auth verify in > > OCTEON TX, OCTEON TX2 PMDs and sample unit test application. > > > > Tejasree Kondoj (2): > > common/cpt: support SSL/TLS way of cipher-auth operations > > test/crypto: support SSL/TLS way of cipher-auth operations > > > > app/test/test_cryptodev_aes_test_vectors.h | 576 ++++++++++++++++++ > > app/test/test_cryptodev_blockcipher.c | 98 ++- > > app/test/test_cryptodev_blockcipher.h | 9 + > > doc/guides/rel_notes/release_21_02.rst | 12 + > > drivers/common/cpt/cpt_mcode_defines.h | 7 +- > > drivers/common/cpt/cpt_ucode.h | 42 +- > > drivers/crypto/octeontx/otx_cryptodev_ops.c | 8 +- > > drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 8 +- > > 8 files changed, 736 insertions(+), 24 deletions(-) > > > > -- > > 2.27.0
Hi Akhil, Okay. Will use FF_DIGEST_ENCRYPTED flag instead of FF_SSL_ORDER. Thanks Tejasree > -----Original Message----- > From: Akhil Goyal <akhil.goyal@nxp.com> > Sent: Monday, January 25, 2021 10:27 PM > To: Tejasree Kondoj <ktejasree@marvell.com>; Radu Nicolau > <radu.nicolau@intel.com> > Cc: Anoob Joseph <anoobj@marvell.com>; Ankur Dwivedi > <adwivedi@marvell.com>; dev@dpdk.org; Zhang, Roy Fan > <roy.fan.zhang@intel.com>; Trahe, Fiona <fiona.trahe@intel.com> > Subject: [EXT] RE: [PATCH 0/2] support SSL/TLS way of cipher-auth operations > > External Email > > ---------------------------------------------------------------------- > Hi Tejasree, > > Sorry I missed this mail earlier. I believe it is same as Digest encrypted case. > > > -----Original Message----- > > From: Tejasree Kondoj <ktejasree@marvell.com> > > Sent: Thursday, January 21, 2021 12:57 PM > > To: Tejasree Kondoj <ktejasree@marvell.com>; Akhil Goyal > > <akhil.goyal@nxp.com>; Radu Nicolau <radu.nicolau@intel.com> > > Cc: Anoob Joseph <anoobj@marvell.com>; Ankur Dwivedi > > <adwivedi@marvell.com>; dev@dpdk.org; Zhang, Roy Fan > > <roy.fan.zhang@intel.com>; Trahe, Fiona <fiona.trahe@intel.com> > > Subject: RE: [PATCH 0/2] support SSL/TLS way of cipher-auth operations > > > > Hi Akhil, > > > > I'm planning to add device feature flag(RTE_CRYPTODEV_FF_SSL_ORDER) > > along with SSL test cases movement to chain array in v2. Would that be > fine? > > Feature flag is needed to skip SSL test cases if device doesn't support them. > > > > Thanks > > Tejasree > > > > > -----Original Message----- > > > From: Tejasree Kondoj <ktejasree@marvell.com> > > > Sent: Friday, December 18, 2020 7:40 PM > > > To: Akhil Goyal <akhil.goyal@nxp.com>; Radu Nicolau > > > <radu.nicolau@intel.com> > > > Cc: Tejasree Kondoj <ktejasree@marvell.com>; Anoob Joseph > > > <anoobj@marvell.com>; Ankur Dwivedi <adwivedi@marvell.com>; > > > dev@dpdk.org > > > Subject: [PATCH 0/2] support SSL/TLS way of cipher-auth operations > > > > > > This series adds SSL/TLS way of cipher-auth operations support i.e. > > > auth generation followed by encryption and decryption followed by > > > auth verify in OCTEON TX, OCTEON TX2 PMDs and sample unit test > application. > > > > > > Tejasree Kondoj (2): > > > common/cpt: support SSL/TLS way of cipher-auth operations > > > test/crypto: support SSL/TLS way of cipher-auth operations > > > > > > app/test/test_cryptodev_aes_test_vectors.h | 576 > ++++++++++++++++++ > > > app/test/test_cryptodev_blockcipher.c | 98 ++- > > > app/test/test_cryptodev_blockcipher.h | 9 + > > > doc/guides/rel_notes/release_21_02.rst | 12 + > > > drivers/common/cpt/cpt_mcode_defines.h | 7 +- > > > drivers/common/cpt/cpt_ucode.h | 42 +- > > > drivers/crypto/octeontx/otx_cryptodev_ops.c | 8 +- > > > drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 8 +- > > > 8 files changed, 736 insertions(+), 24 deletions(-) > > > > > > -- > > > 2.27.0