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 56B95C74A44 for ; Sat, 11 Mar 2023 08:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229923AbjCKIRc (ORCPT ); Sat, 11 Mar 2023 03:17:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjCKIRc (ORCPT ); Sat, 11 Mar 2023 03:17:32 -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 90EB113F6AE for ; Sat, 11 Mar 2023 00:17:30 -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 1pauPt-002x1K-LA; Sat, 11 Mar 2023 16:17:26 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Sat, 11 Mar 2023 16:17:25 +0800 Date: Sat, 11 Mar 2023 16:17:25 +0800 From: Herbert Xu To: Ard Biesheuvel Cc: linux-crypto@vger.kernel.org, ebiggers@kernel.org, James Bottomley Subject: Re: [PATCH v2] crypto: lib - implement library version of AES in CFB mode Message-ID: References: <20230217144348.1537615-1-ardb@kernel.org> 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 Sat, Mar 11, 2023 at 09:15:42AM +0100, Ard Biesheuvel wrote: > > Doesn't that depend on the implementation? It might have a >0 size > request context size, no? Or do we just allocate that on the stack? Do you have a concrete example of something that needs this? Is this a temporary scratch buffer used only during computation? Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt