From: "Matthew Carlson" <matthewfcarlson@gmail.com>
To: devel@edk2.groups.io
Subject: [Patch v2 0/2] Use RngLib instead of TimerLib for OpensslLib
Date: Thu, 30 Jul 2020 10:21:15 -0700 [thread overview]
Message-ID: <20200730172117.1558-1-matthewfcarlson@gmail.com> (raw)
From: Matthew Carlson <macarl@microsoft.com>
This fixes bugzilla 1871.
See PR here: https://github.com/tianocore/edk2/pull/831
Matthew Carlson (2):
CryptoPkg: OpensslLib: Use RngLib to generate entropy in rand_pool
MdePkg: TimerRngLib: Added RngLib that uses TimerLib
CryptoPkg/Library/OpensslLib/rand_pool.c | 202 ++------------------
CryptoPkg/Library/OpensslLib/rand_pool_noise.c | 29 ---
CryptoPkg/Library/OpensslLib/rand_pool_noise_tsc.c | 43 -----
MdePkg/Library/BaseRngLibTimer/RngLibTimer.c | 153 +++++++++++++++
CryptoPkg/CryptoPkg.dsc | 2 +
CryptoPkg/Library/OpensslLib/OpensslLib.inf | 15 +-
CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 15 +-
CryptoPkg/Library/OpensslLib/rand_pool_noise.h | 29 ---
MdePkg/Library/BaseRngLibTimer/BaseRngLibTimer.inf | 37 ++++
MdePkg/Library/BaseRngLibTimer/BaseRngLibTimer.uni | 17 ++
MdePkg/MdePkg.dsc | 1 +
11 files changed, 230 insertions(+), 313 deletions(-)
delete mode 100644 CryptoPkg/Library/OpensslLib/rand_pool_noise.c
delete mode 100644 CryptoPkg/Library/OpensslLib/rand_pool_noise_tsc.c
create mode 100644 MdePkg/Library/BaseRngLibTimer/RngLibTimer.c
delete mode 100644 CryptoPkg/Library/OpensslLib/rand_pool_noise.h
create mode 100644 MdePkg/Library/BaseRngLibTimer/BaseRngLibTimer.inf
create mode 100644 MdePkg/Library/BaseRngLibTimer/BaseRngLibTimer.uni
--
2.27.0.windows.1
next reply other threads:[~2020-07-30 17:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-30 17:21 Matthew Carlson [this message]
2020-07-30 17:21 ` [Patch v2 1/2] CryptoPkg: OpensslLib: Use RngLib to generate entropy in rand_pool Matthew Carlson
2020-07-30 17:21 ` [Patch v2 2/2] MdePkg: TimerRngLib: Added RngLib that uses TimerLib Matthew Carlson
2020-07-30 22:25 ` [edk2-devel] [Patch v2 0/2] Use RngLib instead of TimerLib for OpensslLib Michael D Kinney
2020-07-31 20:15 ` Matthew Carlson
2020-07-31 20:39 ` Michael D Kinney
2020-07-31 22:24 ` 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=20200730172117.1558-1-matthewfcarlson@gmail.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