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 7A918C43334 for ; Tue, 26 Jul 2022 00:51:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231156AbiGZAvY (ORCPT ); Mon, 25 Jul 2022 20:51:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230247AbiGZAvY (ORCPT ); Mon, 25 Jul 2022 20:51:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 514F424976; Mon, 25 Jul 2022 17:51:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DD2C061349; Tue, 26 Jul 2022 00:51:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D5E7C341C6; Tue, 26 Jul 2022 00:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658796682; bh=NLFzRaZSFroN3x3eXTNUEZ8NB31bA3KC4PRbcNi93mg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rD99RVPaAFYi2cHLkD6Ukf2YBXaHmJ7zF0lpfdoQd/6YMHgqIN3vP7YRn3KNFfIRs JaKyTLLIKlEHPZfIUIhJqa0kcKDxKwDIvgjxImfplNC3iQnfL/EnqkbdX1KT2a4vSt DF8Sh1qpvatH5KHOxrnSpeEaJOm0WOpHr98ttHeRSPumTfd/vpJli7SgP+2Br3EAMQ 5DNWzGGJAyomzQF+CpNG+cMUu/dWq4HzEcJvRmAcM2mxLijooFSuUqlcNyC8wAEBqb dJTOVMFMoXgqc9nq0zUD/d3MkoCl5wtTLKmgMAnDSZXiNOPY19i2KTvC30g0QQrbTc B6aTxKz3uDobQ== Date: Mon, 25 Jul 2022 17:51:20 -0700 From: Eric Biggers To: "Jason A. Donenfeld" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/3] crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQ Message-ID: References: <20220725183636.97326-1-ebiggers@kernel.org> <20220725183636.97326-4-ebiggers@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 Tue, Jul 26, 2022 at 12:07:06AM +0200, Jason A. Donenfeld wrote: > On Mon, Jul 25, 2022 at 11:36:36AM -0700, Eric Biggers wrote: > > From: Eric Biggers > > > > No architecture actually defines this, so it's unneeded. > > > > Signed-off-by: Eric Biggers > > Reviewed-by: Jason A. Donenfeld > > Aside: out of curiosity, I wonder what was originally intended with > this, which magic arch-specific instructions were thought to be > potentially of aid. The original commit (6bf37e5aa90f) says: Similarly to kernel library string functions, leave an option for future even further optimized architecture specific assembler implementations. But so far no one has bothered. It's already optimized to use 'long' accesses, so I wouldn't expect it to get much faster with assembly. - Eric