From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0C56CA0032; Wed, 17 Aug 2022 09:17:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 928CC40DDA; Wed, 17 Aug 2022 09:17:47 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 231B740691 for ; Wed, 17 Aug 2022 09:17:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660720666; x=1692256666; h=from:to:cc:subject:date:message-id; bh=GIrTtpERwXY18WVqZ4wxSyLlYQ44xKr8UxxyWi7BWqM=; b=AsjKOi9kZfRKpY8n41j40fveeWqwuPDcU/XjuQ8G9J6r1TGrFzC1p8NV qHAyKFdbpgStrIUbopIbQi5KpkOa6G6WI0Ge5VQMVuBhcLmOlfy33+B3U 0u8tT7cnNbgSBT2QW1UJ3MI0+/ACc7NiE38zPgbIQUC6cJFyCMB5IMEFL 4cY48Pde/dZ5U4C/fIRX5NruhDbq3zvz4qTeuTS0CMHVu9q8cKHM/iWQA nHhSMhuFCmbKaj+8prsQ1J22PYtldEnY5LEt2qIrTEk8N86iMVFldHYm+ N53YWgo4Uzvr/rGPRKuuf+CnhnIilsb85HvRx+3vCftjnBVAEv0dkzYkt A==; X-IronPort-AV: E=McAfee;i="6400,9594,10441"; a="356421120" X-IronPort-AV: E=Sophos;i="5.93,242,1654585200"; d="scan'208";a="356421120" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2022 00:17:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,242,1654585200"; d="scan'208";a="667485762" Received: from silpixa00399302.ir.intel.com ([10.237.214.136]) by fmsmga008.fm.intel.com with ESMTP; 17 Aug 2022 00:17:43 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, kai.ji@intel.com, Arek Kusztal Subject: [PATCH 0/4] cryptodev: add SM3 and SM4 algorithms Date: Wed, 17 Aug 2022 07:08:52 +0100 Message-Id: <20220817060856.78582-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 Cryptodev. Arek Kusztal (4): cryptodev: add SM4 encryption algorithm cryptodev: add SM3 hash algorithm crypto/qat: add SM4 encryption algorithm crypto/qat : add SM3 hash algorithm doc/guides/cryptodevs/features/default.ini | 4 ++++ doc/guides/cryptodevs/features/qat.ini | 4 ++++ doc/guides/rel_notes/release_22_11.rst | 16 ++++++++++++++ drivers/common/qat/qat_adf/icp_qat_hw.h | 2 +- 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 | 32 +++++++++++++++++++++++++++- lib/cryptodev/rte_crypto_sym.h | 13 +++++++++-- lib/cryptodev/rte_cryptodev.c | 8 +++++-- 9 files changed, 91 insertions(+), 6 deletions(-) -- 2.13.6