]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg: SecureBootVariableLib: Added newly supported interfaces
authorkuqin <kuqin@microsoft.com>
Fri, 15 Apr 2022 20:03:22 +0000 (13:03 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 7 Jul 2022 01:07:00 +0000 (01:07 +0000)
commit6eb407947592e084110a124be089bef167af1383
treedf045510340ca0e36918157a5f0bd2b74efcccc0
parent6de7c084dbb6d02f3b8cdb68dc4716df96c6758f
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>
SecurityPkg/Include/Library/SecureBootVariableLib.h
SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.c
SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf