From patchwork Tue Mar 12 17:51:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakash Sasidharan X-Patchwork-Id: 770 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 253B543C94; Tue, 12 Mar 2024 18:51:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E736D40ED9; Tue, 12 Mar 2024 18:51:48 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 1A56140E40 for ; Tue, 12 Mar 2024 18:51:48 +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 42CEHVlk025266 for ; Tue, 12 Mar 2024 10:51:47 -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=/ovqZ2ApRKltTsDtXlUfdLJIY4qdZFeEf1m75nYzk2Q=; b=EKc mvEKat6bS+1WHQ9lQNssPM9B67Xwwg6Uor3pOrOSKNRRL7dxzVwhzvUde9KZUNjC yDcK8MU1ePbJU/Bxw+3Acq6dRweONUaF5DKXPsuOEVPQ7JPK5ZMZ+JcZlW0Tja7o 22l3aTlrl8rmEpy4y0fp/YXxdvRBvfaiO6Mxb/rdHwbY2HRAobNRoOyGJ3oMVbwd ibqoh4vQmj2YoHXw+kXDqHilZg/XJ5riM3KmEM8KYmiLpt8TM9epkdaFuPbkqIvN l6T/f/mhsaRQ1VNLSrwngc90xYcNZ9z7dESp13Q0uxBIyaPnvCmJTxmg+KmOuv8V YrchaJTQYcAVkA0qD4w== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3wswdcxfbs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 12 Mar 2024 10:51:47 -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 10:51:46 -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 10:51:46 -0700 Received: from localhost.localdomain (unknown [10.28.36.177]) by maili.marvell.com (Postfix) with ESMTP id 63E333F70A4; Tue, 12 Mar 2024 10:51:44 -0700 (PDT) From: Aakash Sasidharan To: CC: , , , , , Subject: [PATCH v3 00/21] Improvements and new test cases Date: Tue, 12 Mar 2024 23:21:22 +0530 Message-ID: <20240312175143.1664699-1-asasidharan@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312071805.1354530-1-asasidharan@marvell.com> References: <20240312071805.1354530-1-asasidharan@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: HYN_QmK3oRZ7dpkTSr0Hsm_Qv_xwqWR8 X-Proofpoint-GUID: HYN_QmK3oRZ7dpkTSr0Hsm_Qv_xwqWR8 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-12_11,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 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(-)