From patchwork Wed Mar 13 10:58:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakash Sasidharan X-Patchwork-Id: 773 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9C66E43C9E; Wed, 13 Mar 2024 11:59:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 06B5040DF6; Wed, 13 Mar 2024 11:59:08 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 1841140A84 for ; Wed, 13 Mar 2024 11:59:06 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42D87Nmr025859 for ; Wed, 13 Mar 2024 03:59:06 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= pfpt0220; bh=IAgk9IIew1fu0Ks0tIw3wJiyTXSqrSvbxzSDy1M43Dk=; b=gdk aDFfjMRfEqB+/epPsjvyGbWVNkTGa2N+NLdkaQYWK+X3Cny6X8xG/8jf+Swezmk3 XVNsGbzVCVryOK5wHRAmIrdmEzmBVHXBP5KWqV1Z4xDqvtGmZSRTUQsVV8HYJYZp YuvXNjusrMxB3SlLnHT+/NUHrLSTS+IM+0PrpR+oiaiYgNjsNgzsETkd/TjaD+IJ MPIv4MFVoBlu5QHKV4d7auKvV6sIpbT1RTfW+ik8lKTmn5cQmXQrUsVHhyCcuGZr wPZNzNG4Q4szsNPYcYTuZbXBVAqilA4wyTxS/3nGiBzrE5Wd/sX+kKn7QuC7iPdg uw+TQ/9kiSFyqyPqkEg== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3wswdd1erm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Mar 2024 03:59:06 -0700 (PDT) Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.12; Wed, 13 Mar 2024 03:59:05 -0700 Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 13 Mar 2024 03:59:04 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Wed, 13 Mar 2024 03:59:04 -0700 Received: from localhost.localdomain (unknown [10.28.36.177]) by maili.marvell.com (Postfix) with ESMTP id DA2113F7080; Wed, 13 Mar 2024 03:59:02 -0700 (PDT) From: Aakash Sasidharan To: CC: , , , , , Subject: [PATCH v5 00/21] Improvements and new test cases Date: Wed, 13 Mar 2024 16:28:40 +0530 Message-ID: <20240313105901.1959675-1-asasidharan@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240313055030.1685039-1-asasidharan@marvell.com> References: <20240313055030.1685039-1-asasidharan@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: HSjfcOZs-_q6QtVlz4lenGyFZK0xSgzh X-Proofpoint-GUID: HSjfcOZs-_q6QtVlz4lenGyFZK0xSgzh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-13_07,2024-03-12_01,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org v5: * Define TEST_SEC_CIPHERTEXT_MAX_LEN based on existing MBUF_DATAPAYLOAD_SIZE macro. v4: * Set max ciphertext length for data walkthrough tests to 4k. v3: * Set max packet length for data walkthrough tests to 8k. v2: * Rebased. Aakash Sasidharan (7): test/security: enable AES-GCM in combined mode TLS test/security: add TLS 1.2 data walkthrough test test/security: add DTLS 1.2 data walkthrough test test/security: add TLS SG data walkthrough test test/security: add DTLS 1.2 anti-replay tests test/security: add more DTLS anti-replay window sz test/security: add out of place sgl test case for TLS 1.2 Akhil Goyal (2): test/security: add TLS/DTLS 1.2 AES-256-SHA384 vectors test/crypto: add TLS 1.3 vectors Anoob Joseph (1): test/cryptodev: allow zero packet length buffers Vidya Sagar Velumuri (11): test/security: unit test for TLS packet corruption test/security: unit test for custom content verification test/security: unit test to verify zero TLS records test/security: add unit tests for DTLS-1.2 test/crypto: update verification of header test/crypto: update framework to verify tls-1.3 test/crypto: test to verify hdr corruption in TLS test/crypto: test to verify custom content type in TLS test/crypto: test to verify zero len record in TLS test/crypto: unit tests to verify padding in TLS test/crypto: unit tests for padding in DTLS-1.2 app/test/test_cryptodev.c | 975 ++++++++++++++++-- app/test/test_cryptodev.h | 20 +- app/test/test_cryptodev_security_tls_record.c | 203 ++-- app/test/test_cryptodev_security_tls_record.h | 77 +- ...yptodev_security_tls_record_test_vectors.h | 405 ++++++++ app/test/test_security_proto.c | 17 + app/test/test_security_proto.h | 11 + 7 files changed, 1530 insertions(+), 178 deletions(-)