From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web10.3327.1597347887655206876 for ; Thu, 13 Aug 2020 12:44:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BX6gz4k1; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: matthewfcarlson@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id m8so3352853pfh.3 for ; Thu, 13 Aug 2020 12:44:47 -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=cs7GOgVbO9UYKFiDHtQEDoRynBHOvIiNOREo6bUcFl8=; b=BX6gz4k1UncCvT5Vd60ZDmD+6/D2aX0uq1RMQaS6ym2KETc3ZoMwDHRoIpbq1peC/2 5IO3Bd40WuFTfljT7TaiYv/sVtVV7MJTSOYKe6s2x+ujc9kiCbLVrHE1T10lLWqugNdC g+ITGQHcRBJ1uZKm+w7O5yFA7V8JhS9kFwcbjyFPStLLj1SAnP34dz4iz6HUuAHFTP2i daaS76znva2sdDPhzqgmJRHFfVD4t7NxudNRRRiUrix0zxtcAS5NVC0ohwGzTniUWo8t AO2a4A9xx70wHUdkvELvwCo/OVnGxhoNGzdawzmUoR4RZQqas4qnrZQvTyLOM0GwRe1M 6LFg== 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=cs7GOgVbO9UYKFiDHtQEDoRynBHOvIiNOREo6bUcFl8=; b=CKVamYLSsRKqgP790grVTJdb+f5Rcm1UG6Eiwz7NwobY4GlfYULInx3qA/kVWOHOCl V6GZIp1wLNwVU+kmFIO8WjfPru8n22Kd48qeTKeBAPbHA6ULhYTo4PFH4bNPMoX1O1HY vC7spRs2RyXSBAARkZ29LOdpm+aP2UtXvEm7/5V2e63If+ocpkddwonInpvFc2pbcxmB HuJbs8RFlgV4+GDXc+O6Sogk6pyzpey2gFhahgaTHQZxT+ACJ3PNRUvrnebegU0CI9SH 9NT0zLnxB+G9Dl63d/MmcE/XXE2vOKAZXDp25FdT+GL8tGBQV/v4VqLk8yA+X0nSjEH0 W2ZA== X-Gm-Message-State: AOAM530T8yiQJ7GR+PznJ2vHUI/23k7qVXvOpVVo4whZepFKEyoKGEpg XnbaHMhm0NRTPquXm/psRHPMHlTYW17KBw== X-Google-Smtp-Source: ABdhPJz3EZ0nadYAUxVxeW9NaBFQCYD/tNxSSamKycnjc8eNyZGGnpYa4JJIQtdkqdGxfFFo3//I6Q== X-Received: by 2002:aa7:8f0d:: with SMTP id x13mr5749862pfr.193.1597347886995; Thu, 13 Aug 2020 12:44:46 -0700 (PDT) Return-Path: Received: from tvis-name-05.localdomain ([50.34.40.129]) by smtp.gmail.com with ESMTPSA id c15sm6708851pfo.115.2020.08.13.12.44.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Aug 2020 12:44:46 -0700 (PDT) From: "Matthew Carlson" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Leif Lindholm , Matthew Carlson Subject: [PATCH v7 4/5] ArmVirtPkg: Add RngLib based on TimerLib for CryptoPkg Date: Thu, 13 Aug 2020 12:44:40 -0700 Message-Id: <20200813194441.892-5-matthewfcarlson@gmail.com> X-Mailer: git-send-email 2.27.0.windows.1 In-Reply-To: <20200813194441.892-1-matthewfcarlson@gmail.com> References: <20200813194441.892-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 Reviewed-by: Laszlo Ersek 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..cb3845d2bd37 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -160,6 +160,7 @@ OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf=0D !endif=0D BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf=0D + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf=0D =0D #=0D # Secure Boot dependencies=0D --=20 2.27.0.windows.1