From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 08 Nov 2024 15:06:39 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1t9PdG-006Lle-1h for lore@lore.pengutronix.de; Fri, 08 Nov 2024 15:06:39 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1t9PdG-0003Lq-PJ; Fri, 08 Nov 2024 15:06:38 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t9PdF-0003LY-4u; Fri, 08 Nov 2024 15:06:37 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1t9PdE-002dO0-34; Fri, 08 Nov 2024 15:06:36 +0100 Received: from rsc by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1t9PdE-000BG2-2n; Fri, 08 Nov 2024 15:06:36 +0100 Date: Fri, 8 Nov 2024 15:06:36 +0100 From: Robert Schwebel To: Bastian Krause Message-ID: References: <20241108135752.1341526-1-bst@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241108135752.1341526-1-bst@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] [PATCH] v7a_noneon: barebox-at91: use ARM-optimized SHA1 implementation X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: distrokit@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false applied to next On Fri, Nov 08, 2024 at 02:57:52PM +0100, Bastian Krause wrote: > Enable the SHA1 acceleration for barebox-at91, which so far had only the > generic SHA1 implementation enabled. > > Signed-off-by: Bastian Krause > --- > configs/platform-v7a_noneon/barebox-at91.config | 2 +- > configs/platform-v7a_noneon/barebox-at91.config.diff | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config > index 53d40be12..cdf0b1af6 100644 > --- a/configs/platform-v7a_noneon/barebox-at91.config > +++ b/configs/platform-v7a_noneon/barebox-at91.config > @@ -1055,7 +1055,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y > # CONFIG_DIGEST_SHA384_GENERIC is not set > # CONFIG_DIGEST_SHA512_GENERIC is not set > # CONFIG_DIGEST_HMAC_GENERIC is not set > -# CONFIG_DIGEST_SHA1_ARM is not set > +CONFIG_DIGEST_SHA1_ARM=y > # CONFIG_DIGEST_SHA256_ARM is not set > # CONFIG_CRYPTO_KEYSTORE is not set > # end of Crypto support > diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff > index 378ae1ba6..872555226 100644 > --- a/configs/platform-v7a_noneon/barebox-at91.config.diff > +++ b/configs/platform-v7a_noneon/barebox-at91.config.diff > @@ -55,6 +55,7 @@ CONFIG_CONSOLE_ACTIVATE_NONE=y > CONFIG_DEBUG_AT91_UART_BASE=0xffffee00 > # CONFIG_DEBUG_PBL is not set > # CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU is undefined > +CONFIG_DIGEST_SHA1_ARM=y > # CONFIG_DRIVER_NET_DSA_REALTEK is not set > # CONFIG_DRIVER_NET_KSZ8873 is not set > CONFIG_DRIVER_NET_KSZ9477=y > -- > 2.39.5 > > > -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |