mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
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>
This commit is contained in:
parent
5c8bdb190f
commit
bc02b255a8
@ -2266,6 +2266,12 @@
|
|||||||
## This PCD specifies the interrupt vector for stack cookie check failures
|
## This PCD specifies the interrupt vector for stack cookie check failures
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdStackCookieExceptionVector|0x42|UINT8|0x30001019
|
gEfiMdePkgTokenSpaceGuid.PcdStackCookieExceptionVector|0x42|UINT8|0x30001019
|
||||||
|
|
||||||
|
## Enforces the use of Secure UEFI spec defined RNG algorithms.
|
||||||
|
# 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.
|
||||||
|
gEfiMdePkgTokenSpaceGuid.PcdEnforceSecureRngAlgorithms|TRUE|BOOLEAN|0x1000000D
|
||||||
|
|
||||||
[PcdsFixedAtBuild,PcdsPatchableInModule]
|
[PcdsFixedAtBuild,PcdsPatchableInModule]
|
||||||
## Indicates the maximum length of unicode string used in the following
|
## Indicates the maximum length of unicode string used in the following
|
||||||
# BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>
|
# BaseLib functions: StrLen(), StrSize(), StrCmp(), StrnCmp(), StrCpy(), StrnCpy()<BR><BR>
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
gEfiRngProtocolGuid ## CONSUMES
|
gEfiRngProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[FixedPcd]
|
[FixedPcd]
|
||||||
gEfiNetworkPkgTokenSpaceGuid.PcdEnforceSecureRngAlgorithms ## CONSUMES
|
gEfiMdePkgTokenSpaceGuid.PcdEnforceSecureRngAlgorithms ## CONSUMES
|
||||||
|
|
||||||
[Depex]
|
[Depex]
|
||||||
gEfiRngProtocolGuid
|
gEfiRngProtocolGuid
|
||||||
|
@ -141,12 +141,6 @@
|
|||||||
# @Prompt Indicates whether SnpDxe creates event for ExitBootServices() call.
|
# @Prompt Indicates whether SnpDxe creates event for ExitBootServices() call.
|
||||||
gEfiNetworkPkgTokenSpaceGuid.PcdSnpCreateExitBootServicesEvent|TRUE|BOOLEAN|0x1000000C
|
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]
|
[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
|
||||||
## IPv6 DHCP Unique Identifier (DUID) Type configuration (From RFCs 3315 and 6355).
|
## IPv6 DHCP Unique Identifier (DUID) Type configuration (From RFCs 3315 and 6355).
|
||||||
# 01 = DUID Based on Link-layer Address Plus Time [DUID-LLT]
|
# 01 = DUID Based on Link-layer Address Plus Time [DUID-LLT]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user