From nobody Thu May 9 18:18:57 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+65870+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+65870+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1601821365; cv=none; d=zohomail.com; s=zohoarc; b=TE460ftu0/15l5iaNvmiDL5dEsImTA9tIwWNNtJyHpKtykQtolvqHLSnbnrpdh4jfgasv4k/yO6GgMPrN3PDUGjoBiPuG/CVYoI1f2Cot0CCf6ua7alZVh24rkBp3d7xTWrKu3UQJNChwmELDGTkG9DnznZjnIVzE3GVU7IaedU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601821365; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=6VeqNIiaPEJM35ELdUOMX1Ei3ymz6cVnUgqTumidtdE=; b=l6CXt443QlW9mENAzLqnMUxtBAu9ShMHnwE2vXgIJWxRSed/LU/dutx1sbN7PPnfAo0itNcvNXpb1qAlZkaQz5a7Ydwt4hyY9ejvaxBu1mpNbV9uQP7PfChuoSFy137/C8UKFxNs2ALegOkiei98z/iDDBmDG+3GOxHM92BXuYE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+65870+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1601821365916468.81304746280887; Sun, 4 Oct 2020 07:22:45 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id jLL3YY1788612xGLxT7dP67Z; Sun, 04 Oct 2020 07:22:45 -0700 X-Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by mx.groups.io with SMTP id smtpd.web11.11663.1601821364002862365 for ; Sun, 04 Oct 2020 07:22:44 -0700 X-Received: by mail-lj1-f195.google.com with SMTP id k25so4999561ljg.9 for ; Sun, 04 Oct 2020 07:22:43 -0700 (PDT) X-Gm-Message-State: rrC1MeE2iNntQXec4Fd8P3m0x1787277AA= X-Google-Smtp-Source: ABdhPJw2bXR1dWlT5RSD9uGqxum3XeSJs6B4UvVgOynUm+Iw6hvJE3oZ7Viox8fXgE0LEZdlIZzIGg== X-Received: by 2002:a2e:b0d6:: with SMTP id g22mr2764288ljl.350.1601821361683; Sun, 04 Oct 2020 07:22:41 -0700 (PDT) X-Received: from gilgamesh.semihalf.com (193-106-246-138.noc.fibertech.net.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id 131sm2382072lff.198.2020.10.04.07.22.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Oct 2020 07:22:40 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ard.biesheuvel@arm.com, mw@semihalf.com, jsd@semihalf.com Subject: [edk2-devel] [platforms: PATCH] Silicon/Marvell: Fix RngLib build error Date: Sun, 4 Oct 2020 16:22:23 +0200 Message-Id: <20201004142223.12272-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1601821365; bh=PjF2TURxeshZDWqVLZToJ1wajkXCDCVeiwF6JyMR3T8=; h=Cc:Date:From:Reply-To:Subject:To; b=h7ZjQIyVmbJQ4rDhfHzMSMqzU8DeqmcDquIe1MSDayIp6LG5iKIG2PnzP5n5/SVCbj1 mcNmfYxQoIdid0IsHHnIBcFnycEOwcTWMGclUnYalrFenqjy/GBQChaSqJuKYshN4CYs3 EuEN8OPIOGMnZRkP2lkx9c44Ses0d4PfTyw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Commit b5701a4c7a0f ("CryptoPkg: OpensslLib: Use RngLib to generate entropy in rand_pool") introduced RngLib dependency for OpensslLib and caused Marvell platforms build to break for lack of an RngLib instance. This patch adds RngLib using the DxeRngLib flavor, which is a wrapper around the the EFI_RNG_PROTOCOL that the platform already produces. Signed-off-by: Marcin Wojtas Reviewed-by: Ard Biesheuvel --- Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc b/Silicon/Marvel= l/Armada7k8k/Armada7k8k.dsc.inc index 42f8bbba92..ce8e120ea4 100644 --- a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc +++ b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc @@ -27,6 +27,7 @@ FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAu= thenticationLibPkcs7.inf IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf PlatformFlashAccessLib|Silicon/Marvell/Armada7k8k/Feature/Capsule/Platfo= rmFlashAccessLib/PlatformFlashAccessLib.inf + RngLib|MdePkg/Library/DxeRngLib/DxeRngLib.inf !endif =20 !if $(NETWORK_TLS_ENABLE) --=20 2.28.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#65870): https://edk2.groups.io/g/devel/message/65870 Mute This Topic: https://groups.io/mt/77298525/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-