[v2,0/2] crypto/qat: add sm3 and sm4 algorithms
Message ID | 20220930094108.6406-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 999F6A00C4; Fri, 30 Sep 2022 12:50:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 794A740E5A; Fri, 30 Sep 2022 12:50:16 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 3EAE040684 for <dev@dpdk.org>; Fri, 30 Sep 2022 12:50:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664535015; x=1696071015; h=from:to:cc:subject:date:message-id; bh=ZNXo4CJrWFWF1SLlXE61WMS4lyeC3jVvaj7BOUFpp70=; b=Tl4azZeXLd7eGA4lXv4veBYsPEXFYaSTT9o5rW/uqgzoEQz4uv4cxFnv 6NCs714jS+CLh0a9Ayi7nTlCtlILbCdDQoPKiTocWUGI6OByuBrN3sWxl UkWL1gJYpKKeTP6Ogyfi+PCVRfzC45KgVR6zOjb8FUQEI2mFOoMyRM6Mz foWC24uIkUxkaV+fKutJX5hK2qVnuBhy79CQ6G+Qv+yZThtDdB//BbTkG 5Aebuhw0Tmjirip6TJw5/iXWtsbxz46dpjk8EpQu+kdaBBqBcGLTvNUIu 6VPam5hTfXHckRfH+8wsox/BR9yuK40CkTRq2x0d4Vj0LDB/ZWjUR3QSP Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="388441583" X-IronPort-AV: E=Sophos;i="5.93,358,1654585200"; d="scan'208";a="388441583" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2022 03:50:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="685244890" X-IronPort-AV: E=Sophos;i="5.93,358,1654585200"; d="scan'208";a="685244890" Received: from silpixa00399302.ir.intel.com ([10.237.214.136]) by fmsmga008.fm.intel.com with ESMTP; 30 Sep 2022 03:50:12 -0700 From: Arek Kusztal <arkadiuszx.kusztal@intel.com> To: dev@dpdk.org Cc: gakhil@marvell.com, kai.ji@intel.com, Arek Kusztal <arkadiuszx.kusztal@intel.com> Subject: [PATCH v2 0/2] crypto/qat: add sm3 and sm4 algorithms Date: Fri, 30 Sep 2022 10:41:06 +0100 Message-Id: <20220930094108.6406-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.13.6 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
Sept. 30, 2022, 9:41 a.m. UTC
ShangMi 4 (SM4) is a block cipher used in the Chinese National Standard for Wireless LAN WAPI and also used with Transport Layer Security. ShangMi 3 (SM3) is a cryptographic hash function used in the Chinese National Standard. This patcheset adds both to the Intel QuickAssist Technology PMD. Depends-on: series-24882 ("cryptodev: add SM3 and SM4 algorithms") v2: - Fixed hardcoded number. Arek Kusztal (2): crypto/qat: add SM4 encryption algorithm crypto/qat : add SM3 hash algorithm doc/guides/cryptodevs/features/qat.ini | 4 +++ doc/guides/rel_notes/release_22_11.rst | 7 ++++++ drivers/common/qat/qat_adf/icp_qat_hw.h | 4 ++- drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 9 +++++++ drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 9 +++++++ drivers/crypto/qat/qat_sym_session.c | 37 +++++++++++++++++++++++++--- 6 files changed, 65 insertions(+), 5 deletions(-)