From mboxrd@z Thu Jan 1 00:00:00 1970 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 F2ECBC4332F for ; Wed, 2 Nov 2022 09:49:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229547AbiKBJtP (ORCPT ); Wed, 2 Nov 2022 05:49:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiKBJtO (ORCPT ); Wed, 2 Nov 2022 05:49:14 -0400 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D06D01F2D9; Wed, 2 Nov 2022 02:49:11 -0700 (PDT) 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 1oqAMF-009C47-Fu; Wed, 02 Nov 2022 17:49:05 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Wed, 02 Nov 2022 17:49:03 +0800 Date: Wed, 2 Nov 2022 17:49:03 +0800 From: Herbert Xu To: Linus Torvalds Cc: "David S. Miller" , Linux Kernel Mailing List , Linux Crypto Mailing List Subject: Re: [GIT PULL] Crypto Fixes for 6.1 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Oct 28, 2022 at 10:00:34AM -0700, Linus Torvalds wrote: > > I'm surprised that there isn't a cra_ctxalignment field. Instead there > is crypto_tfm_ctx_alignment(), but that is just an odd way to write > CRYPTO_MINALIGN. It's a micro-optimisation to elide the align operaton because most algorithms don't need it. I've been meaning to add a helper for it though: https://lore.kernel.org/all/E1noNhu-00BzV4-4N@fornost.hmeau.com/ But I got side tracked by the vacillating DMA discussion. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt