From patchwork Tue Jun 20 10:32:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Kusztal X-Patchwork-Id: 128845 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 262EF42D07; Tue, 20 Jun 2023 12:32:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 156B142D10; Tue, 20 Jun 2023 12:32:44 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 1B9A3410F6 for ; Tue, 20 Jun 2023 12:32:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687257163; x=1718793163; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=NGy48TXeK3eBJgYiWliLFyVfnO7uhmXLtCD/ztCLb2Y=; b=DwkY1U+EnFSaj5u7yT2sWgQZicbBw9/XA9kpZ+wSLLJcbzSqnxXOddjK XwySaXkIDUDqpQ7g4yY3ZYHwibRi/6GGwkZ2NPJLcjbILXEmODiAAI7I5 ErvYNU+W4mgZxYroyHWkoMWXiGDCHuuqiJuy+mmH41Ksvey19pm0/reAs gxGZXuhRur8lrhVi7AHfmQVBSQxQ+Ye+LUgmXYWzIEwqf7D+eCykRBDZo RuC+iVR3gKYDs3KY8Xi3QpIECkuHBZ8rEWWslt7+Cq9J/KIih6up8xEDN YnfcExKIwVNy2k/E+ebMYPYrzgGpdK9wCD7ssx6Uta1bsC1nkgJ/xCEb3 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10746"; a="423489031" X-IronPort-AV: E=Sophos;i="6.00,256,1681196400"; d="scan'208";a="423489031" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2023 03:32:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10746"; a="888204758" X-IronPort-AV: E=Sophos;i="6.00,256,1681196400"; d="scan'208";a="888204758" Received: from silpixa00401012.ir.intel.com ([10.243.23.125]) by orsmga005.jf.intel.com with ESMTP; 20 Jun 2023 03:32:39 -0700 From: Arkadiusz Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, kai.ji@intel.com, ciara.power@intel.com, Arkadiusz Kusztal Subject: [PATCH v4 0/3] Replace obsolote test cases. Date: Tue, 20 Jun 2023 10:32:32 +0000 Message-Id: <20230620103235.539282-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 This patchset removes obsolete test cases for RSA, MOD EXP, MOD INV. Doing that, new way of handling ut_setup and ut_teardown was proposed. Now both behave like constructor/desctuctor in the unit tests. It frees particular alghorithm functions from any kind of responsibility to free resources for the new functions. v2: - fixed build problem with non compile-time constant v3: - rebased - left old pwct tests intact v4: - fixed mailmap mismatch - rebased Arkadiusz Kusztal (3): app/test: remove obsolete test function app/test: add modexp and modinv functions app/test: add rsa none padding tests app/test/test_cryptodev_asym.c | 775 +++++++++----------- app/test/test_cryptodev_mod_test_vectors.h | 814 +-------------------- app/test/test_cryptodev_rsa_test_vectors.h | 322 ++++---- 3 files changed, 510 insertions(+), 1401 deletions(-) Acked-by: Gowrishankar Muthukrishnan