From patchwork Wed Mar 13 05:50:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakash Sasidharan X-Patchwork-Id: 772 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 7718443C9A; Wed, 13 Mar 2024 06:50:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F75A40633; Wed, 13 Mar 2024 06:50:39 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id A37314027F for ; Wed, 13 Mar 2024 06:50:36 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42D3LdFV014956 for ; Tue, 12 Mar 2024 22:50:35 -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=V6ggtJGxce/5MAJs4YhkowKSuephKMFwMwYl/N1RQ/4=; b=Gv3 FfKcz6gAOD/Zl4UADy2+rliTKQEc4y37GXs3IETAZuhh9sFr2nh+tbqvURxoFiDf s0LTcH4kucP/38tIAoZzdeZCsdss7jYhdVxSNlhcjv0wQVilcx2mqNnMoZRm6bM7 nzdqXbMQU79qIbWv9kPLHiZvAtEvMW1cJiT2Q4a2cD4DLfc+/+/YqAltfVH2h1rM d3GCCOFwCybJ/An6bGaj5TerRmU0eW7zXO6iZzmbyRq7Ea+qfFwtja1NZlxU5eCs PGHBP5ISPl3XrnZJap1Nmrt8FW28nTpb0stD08Wh7ajbN5EBmHl3uyw6Wff0AQh5 tczHl6mpLNJCTAOvkUg== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3wtt8htkqh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 12 Mar 2024 22:50:35 -0700 (PDT) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Tue, 12 Mar 2024 22:50:34 -0700 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Tue, 12 Mar 2024 22:50:34 -0700 Received: from localhost.localdomain (unknown [10.28.36.177]) by maili.marvell.com (Postfix) with ESMTP id C3B8C3F7082; Tue, 12 Mar 2024 22:50:31 -0700 (PDT) From: Aakash Sasidharan To: CC: , , , , , Subject: [PATCH v4 00/21] Improvements and new test cases Date: Wed, 13 Mar 2024 11:20:09 +0530 Message-ID: <20240313055030.1685039-1-asasidharan@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312175143.1664699-1-asasidharan@marvell.com> References: <20240312175143.1664699-1-asasidharan@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 02geosrGfaxKq2j1JZ6tFSUxYTJK7geg X-Proofpoint-GUID: 02geosrGfaxKq2j1JZ6tFSUxYTJK7geg 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_05,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 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 | 32 +- 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 | 9 + 7 files changed, 1539 insertions(+), 179 deletions(-)