From patchwork Mon Feb 7 11:35:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Kusztal X-Patchwork-Id: 106961 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 8F7FFA034F; Mon, 7 Feb 2022 12:36:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3734A410F3; Mon, 7 Feb 2022 12:36:09 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id F0998410EA for ; Mon, 7 Feb 2022 12:36:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644233768; x=1675769768; h=from:to:cc:subject:date:message-id; bh=/n2BA5FNExaBwxFEnjbCB0D1gfTkIk1n5XV85k0hUaI=; b=gvF+qU7pANvBez5im4zzgf+JDSPs/mZH/JN95/TDmQMSqRFmU/nVPmHR emtyC9/ZyJfHDm1eFKmp+gNaC9VoLpoRhnKhIVx5XYcRIIsAuT8ZqF7pk g4cZiQLTtHVlcu7x/UTyo9IelRetRv1tUJO2GaIRA1dV4VG7g8ObU9QFz qjwcM6WFWAbb8SRYozny/1yVRc8OcJhBsf4kQualdnX4fAC0XgVuvYWOm LawkoE7WLZqEazOvQrQbnSCV5NQbPAQJ1F4tAjLhRpjBiJ8VFjHgPu/jJ VSihVzkFWgX4I9qLBzocJSy3ApOvUUCnp/kdjPK9f6n4x8POK0K8dN/87 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10250"; a="248647168" X-IronPort-AV: E=Sophos;i="5.88,349,1635231600"; d="scan'208";a="248647168" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2022 03:36:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,349,1635231600"; d="scan'208";a="677731286" Received: from silpixa00400308.ir.intel.com ([10.237.214.95]) by fmsmga001.fm.intel.com with ESMTP; 07 Feb 2022 03:36:05 -0800 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, rbalu@marvell.com, Arek Kusztal Subject: [PATCH v2 0/4] Clarify asymmetric random, add 'k' and crypto uint Date: Mon, 7 Feb 2022 11:35:51 +0000 Message-Id: <20220207113555.8431-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 introduces following changes: 1) DSA 'k' was added that devices withouth random support can work. 2) Clarified usage of random numbers in asym, as per discussion from December. 3) Added typedef for crypto_uint to remove some repeating comments making code more readable. Additionally some rearrangement were made to improve readibility. v2: - added patches justification to each commit Arek Kusztal (4): crypto: add dsa random number k crypto: clarify usage of random numbers in asym crypto: use rte macro instead of direct attribute crypto: reorganize endianness comments, add crypto uint lib/cryptodev/rte_crypto_asym.h | 363 ++++++++++++++++------------------------ 1 file changed, 141 insertions(+), 222 deletions(-)