From nobody Tue Nov 26 16:30:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+50615+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50615+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1573697885; cv=none; d=zoho.com; s=zohoarc; b=A3U6LFB4u0wZRxHRbSlw/6eKf9pa79ZW0ka23gqsC/VVlYll98ATkiVhb2LBl/bzw3rUPs3FjBppltGqdj4ujrHD9EUlTuHsEWBBvwy4PxVK+oklXMa/bY5pucSyYLV8I7LMXoXIWcECmj1T/wSSbumDys12RDkFFahhcWWQ6YY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573697885; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=TcBpwXgHNHTnq5kFVCYxN0TnaGFLd6sgoUcKXPgPmeQ=; b=loH09iWdHCU3B5+TsZf4LQHev91Z74S74wX1xuITP7CHt+VpyZn/sSFy9xo0y5TAzc4P5TTNTCjcO8zcmluowzM73o4HXg4W2IjLMBkAPWsZWDueTaFmA1M8VAiM74aS4HR2BP46BedzJ7NSUNkM9GNDvjJFB2jqwLUmqsFRGWY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+50615+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1573697885586936.1210950977829; Wed, 13 Nov 2019 18:18:05 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 24HtYY1788612xMTIq85Tdii; Wed, 13 Nov 2019 18:18:01 -0800 X-Received: from mga07.intel.com (mga07.intel.com []) by mx.groups.io with SMTP id smtpd.web10.830.1573697867801385708 for ; Wed, 13 Nov 2019 18:18:00 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2019 18:18:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,302,1569308400"; d="scan'208";a="235500585" X-Received: from shwdeopenpsi777.ccr.corp.intel.com ([10.239.158.59]) by fmsmga002.fm.intel.com with ESMTP; 13 Nov 2019 18:17:58 -0800 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Leif Lindholm , Laszlo Ersek , Ard Biesheuvel Subject: [edk2-devel] [PATCH 09/11] ArmVirtPkg/ArmVirt.dsc.inc: specify RngLib instances in dsc files Date: Thu, 14 Nov 2019 10:17:41 +0800 Message-Id: <20191114021743.3876-10-jian.j.wang@intel.com> In-Reply-To: <20191114021743.3876-1-jian.j.wang@intel.com> References: <20191114021743.3876-1-jian.j.wang@intel.com> 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,jian.j.wang@intel.com X-Gm-Message-State: 8q8aRPUMEfWXBwScCFVSDycjx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1573697881; bh=bOWMAELj+GXAP7mcKln/Z93eWcFSMQK8jiXRry4a0n4=; h=Cc:Date:From:Reply-To:Subject:To; b=wOoYmAluMJk1H/oZ3mMqQgFKF6pQR0bIrYObCvUMFv0N82zYpHgvhizU6J58VOZyyag 0d6kqhUv/PyKXz5rbprB9z0LoETdlheQPPC0e44vCViZ5ibMlcZC3CDFkwaYWxTNwOF1a OiEl06LlanT0RvLdjO9DGN2wuluji55flvc= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Per BZ1871, OpensslLib will depend on RngLib instead of TimerLib. Update ArmVirt.dsc.inc file to accommodate the coming changes. It's supposed that only TlsDxe needs random number. The RngDxeLib is added for it. For all other drivers, RngLibNull is used by default. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1871 Cc: Leif Lindholm Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Jian J Wang --- ArmVirtPkg/ArmVirt.dsc.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index 10037c938e..10e0890699 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -156,8 +156,10 @@ IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf !if $(NETWORK_TLS_ENABLE) =3D=3D TRUE OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + RngLib|SecurityPkg/RandomNumberGenerator/DxeRngLibRngProtocol/DxeRngLibR= ngProtocol.inf !else OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf + RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf !endif BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf =20 --=20 2.17.1.windows.2 -=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 (#50615): https://edk2.groups.io/g/devel/message/50615 Mute This Topic: https://groups.io/mt/56714162/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-