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 C4C9EC74A44 for ; Sat, 11 Mar 2023 09:00:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230171AbjCKJAu (ORCPT ); Sat, 11 Mar 2023 04:00:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbjCKJAs (ORCPT ); Sat, 11 Mar 2023 04:00:48 -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 13ED613482C for ; Sat, 11 Mar 2023 01:00:47 -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 1pav5m-002xUu-3G; Sat, 11 Mar 2023 17:00:43 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Sat, 11 Mar 2023 17:00:42 +0800 Date: Sat, 11 Mar 2023 17:00:42 +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: 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:55:15AM +0100, Ard Biesheuvel wrote: > > That way, the implementations can remain the same, That's like doing a house renovation and keeping the scaffold around forever :) Yes I agree that it would save a little bit of work for now but all the implementations would have to carry this unnecessary walking code with them forever. With a setup like ahash/shash the walking code disappears totally from the underlying implementations. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt