diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2024-08-29 16:31:45 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-13 14:34:21 +0000 |
commit | bc02b255a83dbad98aa63a86b2cee82f1205e2e0 (patch) | |
tree | 81ee3390dedbb196e3b170f3c90d528098161b80 /NetworkPkg | |
parent | 5c8bdb190f6dd79f38ef6191754c9a26892f8d26 (diff) | |
download | edk2-bc02b255a83dbad98aa63a86b2cee82f1205e2e0.tar.gz edk2-bc02b255a83dbad98aa63a86b2cee82f1205e2e0.tar.bz2 edk2-bc02b255a83dbad98aa63a86b2cee82f1205e2e0.zip |
MdePkg: Move PcdEnforceSecureRngAlgorithms from NetworkPkg
The PcdEnforceSecureRngAlgorithms Pcd enforces the use of RNG
algorithms defined by the UEFI spec. To re-use the Pcd in other
packages and have a generic mean to control the usage of unsecure
algorithms, move the Pcd to the MdePkg.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'NetworkPkg')
-rw-r--r-- | NetworkPkg/Library/DxeNetLib/DxeNetLib.inf | 2 | ||||
-rw-r--r-- | NetworkPkg/NetworkPkg.dec | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/NetworkPkg/Library/DxeNetLib/DxeNetLib.inf b/NetworkPkg/Library/DxeNetLib/DxeNetLib.inf index a8f534a293..54dcb97e57 100644 --- a/NetworkPkg/Library/DxeNetLib/DxeNetLib.inf +++ b/NetworkPkg/Library/DxeNetLib/DxeNetLib.inf @@ -67,7 +67,7 @@ gEfiRngProtocolGuid ## CONSUMES
[FixedPcd]
- gEfiNetworkPkgTokenSpaceGuid.PcdEnforceSecureRngAlgorithms ## CONSUMES
+ gEfiMdePkgTokenSpaceGuid.PcdEnforceSecureRngAlgorithms ## CONSUMES
[Depex]
gEfiRngProtocolGuid
diff --git a/NetworkPkg/NetworkPkg.dec b/NetworkPkg/NetworkPkg.dec index 29fc0c046c..5db7aa137a 100644 --- a/NetworkPkg/NetworkPkg.dec +++ b/NetworkPkg/NetworkPkg.dec @@ -141,12 +141,6 @@ # @Prompt Indicates whether SnpDxe creates event for ExitBootServices() call.
gEfiNetworkPkgTokenSpaceGuid.PcdSnpCreateExitBootServicesEvent|TRUE|BOOLEAN|0x1000000C
- ## Enforces the use of Secure UEFI spec defined RNG algorithms for all network connections.
- # TRUE - Enforce the use of Secure UEFI spec defined RNG algorithms.
- # FALSE - Do not enforce and depend on the default implementation of RNG algorithm from the provider.
- # @Prompt Enforce the use of Secure UEFI spec defined RNG algorithms.
- gEfiNetworkPkgTokenSpaceGuid.PcdEnforceSecureRngAlgorithms|TRUE|BOOLEAN|0x1000000D
-
[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
## IPv6 DHCP Unique Identifier (DUID) Type configuration (From RFCs 3315 and 6355).
# 01 = DUID Based on Link-layer Address Plus Time [DUID-LLT]
|