SecurityPkg: SecureBootVariableLib: Added newly supported interfaces

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3911

This change updated the interfaces provided by SecureBootVariableLib.

The new additions provided interfaces to enroll single authenticated
variable from input, a helper function to query secure boot status,
enroll all secure boot variables from UefiSecureBoot.h defined data
structures, a as well as a routine that deletes all secure boot related
variables.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Min Xu <min.m.xu@intel.com>

Signed-off-by: Kun Qin <kun.qin@microsoft.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Acked-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
kuqin
2022-04-15 13:03:22 -07:00
committed by mergify[bot]
parent 6de7c084db
commit 6eb4079475
3 changed files with 437 additions and 0 deletions

View File

@@ -38,6 +38,9 @@
BaseMemoryLib
DebugLib
MemoryAllocationLib
PlatformPKProtectionLib
UefiLib
UefiRuntimeServicesTableLib
[Guids]
## CONSUMES ## Variable:L"SetupMode"