From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mx.groups.io with SMTP id smtpd.web12.6877.1597198894282577020 for ; Tue, 11 Aug 2020 19:21:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=USp/IeKp; spf=pass (domain: gmail.com, ip: 209.85.215.182, mailfrom: matthewfcarlson@gmail.com) Received: by mail-pg1-f182.google.com with SMTP id p8so232066pgn.13 for ; Tue, 11 Aug 2020 19:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xli0167XzCijRAJStr+ULBefFJZXzRy4Scwj4OJYjE8=; b=USp/IeKp+9x/lCVABbP5R53kvWpVpxdPNyYaGbumuPDSCJD7K7loifPS1TeYKnrm/1 F/Lr9QlWMzfr+6WmDt2McyW7bf1ES/iDyllRza296cBzQ7tkFMgJV5o9I9VJsv7xuH8S yE6hsxp4cDpKWGnuAygpXiLDo2gFPVK+inm0v2RxXhBjrWs+JWSfZBbNx6M5wV8T52HC JNXNWnJ77NM0tix2o2ZuvfNY3HkPMD2Gu5EQZfxbLx32SDT7c54thRIdGbHyk4WYO6GF wcwdd8L1YUtABrQJ2hYt28NZjgU6QnArQ/HXrQJmVdB68C1Z3YrnEMcRT8N34puQyvHc kwZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xli0167XzCijRAJStr+ULBefFJZXzRy4Scwj4OJYjE8=; b=tlYFLkzW/a+9TMwLKCpj/H4+nDKjYpYSShxZLNd9QRLMLSgL4Bl0urWzVNJ50gt7kj 0FPttQfgrvfYqmzUg5EZacRWtkRWPBumiljgMZER2kdYTjOeGi5QZVV0HdpCQpq0pVCh D9gR0Epc/nkwwjY1+wllv+OzzdNMSwGQzABSSHcoqFOzvuZ47fTkdkMgZPpw6X2He3qW Nu80OJmYouMZtA/rWsb7Gfho1cU2fy+63Kw6Em/4Oh59JppvTw/QYh4FUqQ4VF7MGOeP Dfq5C2BDy4N8xtuaTxQlKQLO88CONl7JKDsb1D1qOeGo/uaGfqN4t5xs+GWu48qiqGms 6yjw== X-Gm-Message-State: AOAM530iBiSYUeyfdeTxPFTkkX2VGuaj+2xnHXWYF8dF1Bh3uqikLDjL qpcIK3U7uvRqnXnR5mSL9rT8bXGeZmb6pQ== X-Google-Smtp-Source: ABdhPJzACcKwIXpDcNOJAp5bx+Iydj+hUObvbEsRSpcScU/lmHetsl2mx0FvdqrgGSoOmhKvUDFYAA== X-Received: by 2002:a63:925d:: with SMTP id s29mr3190962pgn.423.1597198893672; Tue, 11 Aug 2020 19:21:33 -0700 (PDT) Return-Path: Received: from tvis-name-05.localdomain ([50.34.40.129]) by smtp.gmail.com with ESMTPSA id q17sm415952pfh.32.2020.08.11.19.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2020 19:21:33 -0700 (PDT) From: "Matthew Carlson" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Leif Lindholm , Matthew Carlson Subject: [PATCH v5 4/5] ArmVirtPkg: Add RngLib based on TimerLib for CryptoPkg Date: Tue, 11 Aug 2020 19:21:26 -0700 Message-Id: <20200812022127.1205-5-matthewfcarlson@gmail.com> X-Mailer: git-send-email 2.27.0.windows.1 In-Reply-To: <20200812022127.1205-1-matthewfcarlson@gmail.com> References: <20200812022127.1205-1-matthewfcarlson@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Matthew Carlson Updates the DSC for the ArmVirtPkg platform to add a RngLib that uses the TimerLib. This is due to a later change that adds TimerLib as a dependency for OpenSSL. The TimerLib based RngLib mimics the behavior of OpenSSL previously and it is recommended to switch to a better source of entropy than the system's performance counter. Ref: https://github.com/tianocore/edk2/pull/845 Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1871 Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Leif Lindholm Signed-off-by: Matthew Carlson --- ArmVirtPkg/ArmVirt.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index cf44fc73890b..ddfcd0cf9eee 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -42,6 +42,7 @@ DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf=0D =0D BaseLib|MdePkg/Library/BaseLib/BaseLib.inf=0D + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf=0D SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf=0D BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.i= nf=0D SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniza= tionLib.inf=0D --=20 2.27.0.windows.1