mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
CryptoPkg/BaseCryptLib: add AARCH64 host unit test Rand source
The host-based BaseCryptLib instance (UnitTestHostBaseCryptLib.inf) built Rand/CryptRandTsc.c only for IA32/X64. Add Rand/CryptRand.c for AARCH64 so the openssl-backed RandomSeed() is available when linking AARCH64 host tests, and advertise AARCH64 in VALID_ARCHITECTURES. Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
This commit is contained in:
parent
2da91c23b9
commit
158c70987b
1 changed files with 4 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64
|
||||
# VALID_ARCHITECTURES = IA32 X64 AARCH64
|
||||
#
|
||||
|
||||
[Sources]
|
||||
|
|
@ -63,6 +63,9 @@
|
|||
[Sources.X64]
|
||||
Rand/CryptRandTsc.c
|
||||
|
||||
[Sources.AARCH64]
|
||||
Rand/CryptRand.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
CryptoPkg/CryptoPkg.dec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue