From patchwork Wed Apr 13 14:03:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Kusztal X-Patchwork-Id: 109700 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 79F47A050C; Wed, 13 Apr 2022 16:26:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1BFA04069F; Wed, 13 Apr 2022 16:26:00 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 19BFC4068B for ; Wed, 13 Apr 2022 16:25:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649859958; x=1681395958; h=from:to:cc:subject:date:message-id; bh=vdsYQvNTpkBgZ5nF63kWNJK13CGt/+Pt20VaY0hko0Q=; b=HRODzTtyYnfXiAXRgNX9ovs5dEGmkPoTM2rg1+RKIVpiDSEBeKGcrSro sft5zCHCLZ8oFztkCl9N07hqWHVDaxSJzq0bW3RRohMVwwaMhQzk9C2uo +b3uwE0n2g0plQ2UPJCGxHaoh64M9wE2O6fT+QQ91TbPy4eWf0E4WOQpW yqn2wVlg9UrrP90roMLMj+8RCYflMI6vxOKBqxAzUrNukFdTW6HXAuD41 YJ6PfWVv+bO6uWkQ73DqadXgKgUVtGRJUIR4zaVi7MjsmhjyOFClQj/xF XNYXruQ9tkOKUTXjveGnkimzBfNrY8GdAWZZTXt/bmNdTNzSqFl4lT31U g==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="262857166" X-IronPort-AV: E=Sophos;i="5.90,257,1643702400"; d="scan'208";a="262857166" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 07:03:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,257,1643702400"; d="scan'208";a="526950917" Received: from silpixa00400308.ir.intel.com ([10.237.214.95]) by orsmga006.jf.intel.com with ESMTP; 13 Apr 2022 07:03:28 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, Arek Kusztal Subject: [PATCH v2 0/2] cryptodev: add dh verify option Date: Wed, 13 Apr 2022 15:03:25 +0100 Message-Id: <20220413140327.12915-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.17.1 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 adds verify and padding option to Cryptodev Diffie-Hellman op. Verify - obligatory in all mainstream protocols, in Cryptodev only Weierstrass Elliptic-Curve point verification was included. FFDH or curves 448/25519 verification is easy enough to be done by the user. Padding - different approach may be found in different protocols, but it is very often that protocol requires zero-byte left padding. Depends-on: patch-109409 ("cryptodev: add elliptic curve diffie hellman") Arek Kusztal (2): cryptodev: add dh verify option cryptodev: add dh padding options lib/cryptodev/rte_crypto_asym.h | 27 +++++++++++++++++++++++++++ lib/cryptodev/rte_cryptodev.c | 1 + 2 files changed, 28 insertions(+)