From b5701a4c7a0fb185e0c5b9db9525939c78664bfd Mon Sep 17 00:00:00 2001 From: Matthew Carlson Date: Thu, 23 Jul 2020 14:59:23 -0700 Subject: CryptoPkg: OpensslLib: Use RngLib to generate entropy in rand_pool Ref: https://github.com/tianocore/edk2/pull/845 Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1871 Changes OpenSSL to no longer depend on TimerLib and instead use RngLib. This allows platforms to decide for themsevles what sort of entropy source they provide to OpenSSL and TlsLib. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jian J Wang Cc: Xiaoyu Lu Acked-by: Ard Biesheuvel Reviewed-by: Jiewen Yao Signed-off-by: Matthew Carlson --- CryptoPkg/CryptoPkg.ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CryptoPkg/CryptoPkg.ci.yaml') diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml index e2d190a90c..2ade777aad 100644 --- a/CryptoPkg/CryptoPkg.ci.yaml +++ b/CryptoPkg/CryptoPkg.ci.yaml @@ -18,7 +18,9 @@ ], ## Both file path and directory path are accepted. "IgnoreFiles": [ - "Library/OpensslLib/openssl" + "Library/OpensslLib/openssl", + # this has OpenSSL interfaces that aren't UEFI spec compliant + "Library/OpensslLib/rand_pool.c" ] }, "CompilerPlugin": { -- cgit v1.2.3