From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web12.95489.1597865839685475329 for ; Wed, 19 Aug 2020 12:37:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jVRewZkK; spf=pass (domain: gmail.com, ip: 209.85.210.172, mailfrom: matthewfcarlson@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id k18so12181394pfp.7 for ; Wed, 19 Aug 2020 12:37:19 -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=rwe+QrFcEeTLHv4lzLnjMdZM7Yt3QuXsWM7OA5+nPFw=; b=jVRewZkKWgatxkSCQRVJ4JCXBbsk9Jld2A9DNazamY5uLS2mvoigP6yGTtiHfm11Ka 4I+DnSELcE0mtBF8W9rMH08cDUH5VkNyCyuPTbGPlUPIMF52hyDqteEuhrt/MUzKhGYy LOl4MMzdZwo6JGTqH5AGYrqnhcbXIchBrPge/Ndvtux3jKYlcGFUnSoHpUzxuf1ixU0K grJjKKC8dzBUGXa8GHNSaoM03SJkmzAr0N6Z48K1d/EAG8Z7UtLYE5xkrX5oKKmYIdtv B4KmxVAeNaYsMMm3w7U9mg4kqrQD136iB55IqP0hyW1QjFmGa6m4I5zAyUBln7vv8HZg dCrw== 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=rwe+QrFcEeTLHv4lzLnjMdZM7Yt3QuXsWM7OA5+nPFw=; b=st1zW/Vagn1zRhHnE4DtriyVKFKYJM9B3mf/TmCr9mZkSTqLzFLIkojyE1tPVkUHN6 NFSqt0q/MynZdw3A+FRcAszfFen/9AtUM84yIbsW/ddWUyZcm3AIWsTJdsUxBqzppEFx KptafvOPrVeAM8Fre0HVioNyqxcDOgBw03HlBUe4WIQApH8RrRa2beTeA7Ded2SqwWoH c8BureFsVdvRE7043ZNLdYGDXW5Ax/iRwm9zjRHnGS3ELFuUs1ui1qOBN3TK9T7OsK4R gu/nNNrHXWVEjc208EAzNnyakp7eE0phYtbBKwr0vwHNsTshJyPf7MBqdORy+Pw4Lj67 bDjg== X-Gm-Message-State: AOAM532Q9enJ70hbDFd4Jdl7BEUfDaYLkTMyS7ppMZhilu1F+HfspTDG HOCX9DTM9nFvUIsQRwQt3PblwbVzprWwMXow X-Google-Smtp-Source: ABdhPJxJZbYz9ucIUQxldGGAyst6y6MjvzC9Ih7OCleRNBdGRkyeUYijiLRNunEbvfNnuomCOmTKSA== X-Received: by 2002:a62:9254:: with SMTP id o81mr19918200pfd.73.1597865839022; Wed, 19 Aug 2020 12:37:19 -0700 (PDT) Return-Path: Received: from tvis-name-05.localdomain ([50.34.40.129]) by smtp.gmail.com with ESMTPSA id u191sm24480265pgu.56.2020.08.19.12.37.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 12:37:18 -0700 (PDT) From: "Matthew Carlson" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Leif Lindholm , Matthew Carlson Subject: [PATCH v8 4/5] ArmVirtPkg: Add RngLib based on TimerLib for CryptoPkg Date: Wed, 19 Aug 2020 12:37:11 -0700 Message-Id: <20200819193712.1629-5-matthewfcarlson@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200819193712.1629-1-matthewfcarlson@gmail.com> References: <20200819193712.1629-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.28.0.windows.1