Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB647C6FA99 for ; Fri, 10 Mar 2023 11:29:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230494AbjCJL3K (ORCPT ); Fri, 10 Mar 2023 06:29:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbjCJL2m (ORCPT ); Fri, 10 Mar 2023 06:28:42 -0500 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77BEA7E79B; Fri, 10 Mar 2023 03:28:39 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1paav9-002Xzf-8Z; Fri, 10 Mar 2023 19:28:24 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 10 Mar 2023 19:28:23 +0800 Date: Fri, 10 Mar 2023 19:28:23 +0800 From: Herbert Xu To: Danny Tsen Cc: linux-crypto@vger.kernel.org, leitao@debian.org, nayna@linux.ibm.com, appro@cryptogams.org, linux-kernel@vger.kernel.org, ltcgcw@linux.vnet.ibm.com, dtsen@us.ibm.com Subject: Re: [RESEND PATCH v4 0/6] crypto: Accelerated AES/GCM stitched implementation Message-ID: References: <20230221034021.15121-1-dtsen@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230221034021.15121-1-dtsen@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 20, 2023 at 10:40:15PM -0500, Danny Tsen wrote: > This patch series enable an accelerated AES/GCM stitched implementation > for Power10 or later CPU(ppc64le). This module supports AEAD algorithm. > The stitched implementation provides 3.5X+ better performance than the > baseline. > > This patch has been tested with the kernel crypto module tcrypt.ko and > has passed the selftest. The patch is also tested with > CONFIG_CRYPTO_MANAGER_EXTRA_TESTS enabled. > > Danny Tsen (6): > Glue code for AES/GCM stitched implementation. > An accelerated AES/GCM stitched implementation. > Supporting functions for AES. > Supporting functions for ghash. > A perl script to process PowerPC assembler source. > Update Kconfig and Makefile. > > arch/powerpc/crypto/aes-gcm-p10-glue.c | 345 ++++++ > arch/powerpc/crypto/aes-gcm-p10.S | 1521 ++++++++++++++++++++++++ > arch/powerpc/crypto/aesp8-ppc.pl | 585 +++++++++ > arch/powerpc/crypto/ghashp8-ppc.pl | 370 ++++++ > arch/powerpc/crypto/ppc-xlate.pl | 229 ++++ > arch/powerpc/crypto/Kconfig | 17 + > arch/powerpc/crypto/Makefile | 13 + > 7 files changed, 3080 insertions(+) > create mode 100644 arch/powerpc/crypto/aes-gcm-p10-glue.c > create mode 100644 arch/powerpc/crypto/aes-gcm-p10.S > create mode 100644 arch/powerpc/crypto/aesp8-ppc.pl > create mode 100644 arch/powerpc/crypto/ghashp8-ppc.pl > create mode 100644 arch/powerpc/crypto/ppc-xlate.pl > > -- > 2.31.1 All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt