VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseRngLib/BaseRngLib.inf

最後變更 在這個檔案是 105670,由 vboxsync 提交於 5 月 前

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.4 KB
 
1## @file
2# Instance of RNG (Random Number Generator) Library.
3#
4# BaseRng Library that uses CPU RNG instructions (e.g. RdRand) to
5# provide random numbers.
6#
7# Copyright (c) 2023, Arm Limited. All rights reserved.<BR>
8# Copyright (c) 2021, NUVIA Inc. All rights reserved.<BR>
9# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
10#
11# SPDX-License-Identifier: BSD-2-Clause-Patent
12#
13#
14##
15
16[Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = BaseRngLib
19 MODULE_UNI_FILE = BaseRngLib.uni
20 FILE_GUID = 626440D8-1971-41D9-9AB2-FB25F4AE79BC
21 MODULE_TYPE = BASE
22 VERSION_STRING = 1.0
23 LIBRARY_CLASS = RngLib
24 CONSTRUCTOR = BaseRngLibConstructor
25
26#
27# VALID_ARCHITECTURES = IA32 X64 AARCH64
28#
29
30[Sources]
31 BaseRng.c
32 BaseRngLibInternals.h
33
34[Sources.Ia32, Sources.X64]
35 Rand/RdRand.c
36
37[Sources.AARCH64]
38 AArch64/Rndr.c
39 AArch64/ArmRng.h
40
41 AArch64/ArmReadIdIsar0.S | GCC
42 AArch64/ArmRng.S | GCC
43
44 AArch64/ArmReadIdIsar0.asm | MSFT
45 AArch64/ArmRng.asm | MSFT
46
47[Guids.AARCH64]
48 gEfiRngAlgorithmArmRndr
49
50[Guids.Ia32, Guids.X64]
51 gEfiRngAlgorithmSp80090Ctr256Guid
52
53[Packages]
54 MdePkg/MdePkg.dec
55
56[Pcd.AARCH64]
57 gEfiMdePkgTokenSpaceGuid.PcdCpuRngSupportedAlgorithm
58
59[LibraryClasses]
60 BaseLib
61 DebugLib
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette