[edk2-devel] [PATCH v1 0/2] Use RngLib instead of TimerLib for OpensslLib

Matthew Carlson posted 2 patches 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/edk2 tags/patchew/20200728015312.1023-1-matthewfcarlson@gmail.com
CryptoPkg/Library/OpensslLib/rand_pool.c           | 200 ++------------------
CryptoPkg/Library/OpensslLib/rand_pool_noise.c     |  29 ---
CryptoPkg/Library/OpensslLib/rand_pool_noise_tsc.c |  43 -----
MdePkg/Library/TimerRngLib/TimerRng.c              | 153 +++++++++++++++
CryptoPkg/Library/OpensslLib/OpensslLib.inf        |  15 +-
CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf  |  15 +-
CryptoPkg/Library/OpensslLib/rand_pool_noise.h     |  29 ---
MdePkg/Library/TimerRngLib/TimerRngLib.inf         |  37 ++++
MdePkg/MdePkg.dsc                                  |   2 +
9 files changed, 212 insertions(+), 311 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/TimerRngLib/TimerRng.c
delete mode 100644 CryptoPkg/Library/OpensslLib/rand_pool_noise.h
create mode 100644 MdePkg/Library/TimerRngLib/TimerRngLib.inf

[edk2-devel] [PATCH v1 0/2] Use RngLib instead of TimerLib for OpensslLib

Posted by Matthew Carlson 2 weeks ago
From: Matthew Carlson <macarl@microsoft.com>

This fixes bugzilla 1871.

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           | 200 ++------------------
 CryptoPkg/Library/OpensslLib/rand_pool_noise.c     |  29 ---
 CryptoPkg/Library/OpensslLib/rand_pool_noise_tsc.c |  43 -----
 MdePkg/Library/TimerRngLib/TimerRng.c              | 153 +++++++++++++++
 CryptoPkg/Library/OpensslLib/OpensslLib.inf        |  15 +-
 CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf  |  15 +-
 CryptoPkg/Library/OpensslLib/rand_pool_noise.h     |  29 ---
 MdePkg/Library/TimerRngLib/TimerRngLib.inf         |  37 ++++
 MdePkg/MdePkg.dsc                                  |   2 +
 9 files changed, 212 insertions(+), 311 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/TimerRngLib/TimerRng.c
 delete mode 100644 CryptoPkg/Library/OpensslLib/rand_pool_noise.h
 create mode 100644 MdePkg/Library/TimerRngLib/TimerRngLib.inf

-- 
2.27.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#63371): https://edk2.groups.io/g/devel/message/63371
Mute This Topic: https://groups.io/mt/75836596/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-