[0/4] Replace obsolote test cases.
Message ID | 20230517211900.926163-1-arkadiuszx.kusztal@intel.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 mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EF6BB42B2F; Wed, 17 May 2023 23:19:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79E9340EE1; Wed, 17 May 2023 23:19:16 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 167E9406B7 for <dev@dpdk.org>; Wed, 17 May 2023 23:19:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684358355; x=1715894355; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=bYC/gdh11eWyqQdBBcKfWF6SfG28+6l9yR/m1qj/3gc=; b=U32jIKxKOYdJflxiZw80v07obkMNz/0usItSnckANn/FLJTCbhFsgXZp fIO2dISn+nwN0FhgJoC5LSQbxL5qOG+xFw8LTCqYI6drGBGYCCrU2++8k KSaMofEDAInik6FUtVKQcaXi7oO9ggv95custn7trzECQK55+1DIAP4Nl DsDG05PDCGtalQ+mDwJKGSwY3MXw8WL6X1pgBPen1OSYg3TsKotMOXCcE LzgDIgXzthef+V/o7T1mkdLzxwJtlsDBqzaZrNOKHMAjqoGicDvQPuRkA JteeYVtAqDDC6nIcRyRZerHsIrGe53oj9qLc3BLOdrvbljI7s+rVsUGD6 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10713"; a="415297010" X-IronPort-AV: E=Sophos;i="5.99,283,1677571200"; d="scan'208";a="415297010" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2023 14:19:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10713"; a="1031892739" X-IronPort-AV: E=Sophos;i="5.99,283,1677571200"; d="scan'208";a="1031892739" Received: from silpixa00401012.ir.intel.com ([10.243.22.82]) by fmsmga005.fm.intel.com with ESMTP; 17 May 2023 14:19:12 -0700 From: Arek Kusztal <arkadiuszx.kusztal@intel.com> To: dev@dpdk.org Cc: gakhil@marvell.com, kai.ji@intel.com, ciara.power@intel.com, Arek Kusztal <arkadiuszx.kusztal@intel.com> Subject: [PATCH 0/4] Replace obsolote test cases. Date: Wed, 17 May 2023 21:18:56 +0000 Message-Id: <20230517211900.926163-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 |
Message
Kusztal, ArkadiuszX
May 17, 2023, 9:18 p.m. UTC
This patchset removes obsolete test cases for RSA, MOD EXP, MOD INV. Doing that, new way of handling of ut_setup, ut_teardown was proposed. Now both behave like constructor/desctuctor to the unit tests. It frees particular alghoritrm function from any kind of responsability to free resource. Functionality of the tests was extended, but number of lines of code was reduced by ~700. Arkadiusz Kusztal (4): app/test: remove testsuite calls from ut setup app/test: refactor mod exp test case app/test: refactor mod inv tests app/test: add rsa kat and pwct tests app/test/test_cryptodev_asym.c | 1563 +++++++------------- app/test/test_cryptodev_asym_util.h | 28 - app/test/test_cryptodev_mod_test_vectors.h | 631 +------- app/test/test_cryptodev_rsa_test_vectors.h | 600 ++++---- 4 files changed, 806 insertions(+), 2016 deletions(-)