mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
SecurityPkg/Test: use BaseRngLibNull for AARCH64 host tests
BaseRngLib's AARCH64 backend uses an RNDR instruction path that does not link in the host environment. Map RngLib to BaseRngLibNull for AARCH64 host builds (IA32/X64 keep BaseRngLib) and hoist the common RngLib mapping so the per-component override can be dropped. Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
This commit is contained in:
parent
158c70987b
commit
10732648fb
1 changed files with 4 additions and 1 deletions
|
|
@ -20,6 +20,10 @@
|
|||
|
||||
[LibraryClasses]
|
||||
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
||||
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
|
||||
|
||||
[LibraryClasses.AARCH64]
|
||||
RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
|
||||
|
||||
[Components]
|
||||
SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
|
||||
|
|
@ -54,7 +58,6 @@
|
|||
DxeImageVerificationLib|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
|
||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf
|
||||
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
|
||||
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
|
||||
UefiLib|MdePkg/Test/Mock/Library/GoogleTest/MockUefiLib/MockUefiLib.inf
|
||||
DevicePathLib|MdePkg/Test/Mock/Library/GoogleTest/MockDevicePathLib/MockDevicePathLib.inf
|
||||
SecurityManagementLib|MdeModulePkg/Test/Mock/Library/GoogleTest/MockSecurityManagementLib/MockSecurityManagementLib.inf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue