From: "Laszlo Ersek" <lersek@redhat.com>
To: matthewfcarlson@gmail.com, devel@edk2.groups.io
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>,
Leif Lindholm <leif@nuviainc.com>
Subject: Re: [PATCH v5 4/5] ArmVirtPkg: Add RngLib based on TimerLib for CryptoPkg
Date: Wed, 12 Aug 2020 13:01:47 +0200 [thread overview]
Message-ID: <987e2f19-d1e3-cc04-a176-c031be630540@redhat.com> (raw)
In-Reply-To: <20200812022127.1205-5-matthewfcarlson@gmail.com>
Hi Matthew,
On 08/12/20 04:21, matthewfcarlson@gmail.com wrote:
> From: Matthew Carlson <macarl@microsoft.com>
>
> 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=1871
>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Signed-off-by: Matthew Carlson <matthewfcarlson@gmail.com>
> ---
> 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/BaseDebugPrintErrorLevelLib.inf
>
> BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
> + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
>
I think you must have missed my feedback on the ArmVirtPkg patch here:
https://edk2.groups.io/g/devel/message/63997
http://mid.mail-archive.com/c5470af9-68a3-1d74-5cef-d88f9c54b476@redhat.com
Basically, please move the RngLib class resolution just below the
OpensslLib class resolution(s) in "ArmVirtPkg/ArmVirt.dsc.inc" as well,
not just in the OVMF DSC files.
Thank you!
Laszlo
next prev parent reply other threads:[~2020-08-12 11:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-12 2:21 [PATCH v5 0/5] Use RngLib instead of TimerLib for OpensslLib Matthew Carlson
2020-08-12 2:21 ` [PATCH v5 1/5] MdePkg: TimerRngLib: Added RngLib that uses TimerLib Matthew Carlson
2020-08-12 2:21 ` [PATCH v5 2/5] MdePkg: BaseRngLibDxe: Add RngLib that uses RngDxe Matthew Carlson
2020-08-12 2:21 ` [PATCH v5 3/5] OvmfPkg: Add RngLib based on TimerLib for Crypto Matthew Carlson
2020-08-12 10:59 ` Laszlo Ersek
2020-08-12 21:21 ` [edk2-devel] " Matthew Carlson
2020-08-12 2:21 ` [PATCH v5 4/5] ArmVirtPkg: Add RngLib based on TimerLib for CryptoPkg Matthew Carlson
2020-08-12 11:01 ` Laszlo Ersek [this message]
2020-08-12 21:22 ` [edk2-devel] " Matthew Carlson
2020-08-12 2:21 ` [PATCH v5 5/5] CryptoPkg: OpensslLib: Use RngLib to generate entropy in rand_pool Matthew Carlson
2020-08-12 7:54 ` [PATCH v5 0/5] Use RngLib instead of TimerLib for OpensslLib Ard Biesheuvel
2020-08-12 11:02 ` Laszlo Ersek
2020-08-12 21:22 ` [edk2-devel] " Matthew Carlson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=987e2f19-d1e3-cc04-a176-c031be630540@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox