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 X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB042C433F5 for ; Thu, 9 Sep 2021 13:59:01 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D77CE6124D for ; Thu, 9 Sep 2021 13:59:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D77CE6124D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 81BA8832EC; Thu, 9 Sep 2021 15:58:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.b="A5webVQw"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="r7cBmbKd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6B9438348B; Thu, 9 Sep 2021 15:58:56 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6564783215 for ; Thu, 9 Sep 2021 15:58:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=schwab@suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 1E90E222E4; Thu, 9 Sep 2021 13:58:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1631195933; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NPpkkxDmHcwU3KsexDfQJ2wsmOlnkbLH7CxgkCLC28I=; b=A5webVQwuYE5ySVxdjFggubj2simCSPIEok6cjXx0Bxpk7BCRxNtXIQl5bHLC9mdBU8+IO jdGwq8940emNuPDmo5S/Fdzx0XLButYOw2Dxr/I5RuQqgwQPWsL1HDzcb6+BXVxUsMTBvK VLDra6S1V1+/ItZXyQPcjdVa3q+9Yn0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1631195933; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NPpkkxDmHcwU3KsexDfQJ2wsmOlnkbLH7CxgkCLC28I=; b=r7cBmbKdBhMMp7WG2FTj24YuiXtfTui3tD3NIcGi5O5V8QDIBZG6CzZtm3QYzU0VzHsfIq ECjqGXAFDASjotCQ== Received: from hawking.suse.de (hawking.suse.de [10.160.4.0]) by relay2.suse.de (Postfix) with ESMTP id 12117A3E47; Thu, 9 Sep 2021 13:58:53 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 05B7C446BF0; Thu, 9 Sep 2021 15:58:52 +0200 (CEST) From: Andreas Schwab To: Alexandru Gagniuc Cc: trini@konsulko.com, u-boot@lists.denx.de, sjg@chromium.org Subject: Re: [PATCH v2 2/6] lib: Drop SHA512_ALGO in lieu of SHA512 References: <20210903005422.1336362-1-mr.nuke.me@gmail.com> <20210903005422.1336362-3-mr.nuke.me@gmail.com> X-Yow: Now my EMOTIONAL RESOURCES are heavily committed to 23% of the SMELTING and REFINING industry of the state of NEVADA!! Date: Thu, 09 Sep 2021 15:58:52 +0200 In-Reply-To: <20210903005422.1336362-3-mr.nuke.me@gmail.com> (Alexandru Gagniuc's message of "Thu, 2 Sep 2021 19:54:18 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Sep 02 2021, Alexandru Gagniuc wrote: > diff --git a/lib/crypt/Kconfig b/lib/crypt/Kconfig > index 5495ae8d4c..6a50029642 100644 > --- a/lib/crypt/Kconfig > +++ b/lib/crypt/Kconfig > @@ -20,7 +20,7 @@ config CRYPT_PW_SHA256 > config CRYPT_PW_SHA512 > bool "Provide sha512crypt" > select SHA512 > - select SHA512_ALGO > + select SHA512 SHA512 is now selected twice. > diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig > index dacc3b5881..08463251cd 100644 > --- a/lib/efi_loader/Kconfig > +++ b/lib/efi_loader/Kconfig > @@ -323,7 +323,7 @@ config EFI_TCG2_PROTOCOL > depends on TPM_V2 > select SHA1 > select SHA256 > - select SHA512_ALGO > + select SHA512 > select SHA384 > select SHA512 > select HASH Likewise. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."