]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg: SecureBootVariableProvisionLib: Updated implementation
authorKun Qin <kuqin@microsoft.com>
Sun, 10 Apr 2022 22:36:53 +0000 (15:36 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 7 Jul 2022 01:07:00 +0000 (01:07 +0000)
commitfe73e9cd8952083a23b26b2eeb705fc2c2758f32
treef3da2193cac194694bb5b868401c5fdac8d9d71c
parent6eb407947592e084110a124be089bef167af1383
SecurityPkg: SecureBootVariableProvisionLib: Updated implementation

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

This change is in pair with the previous SecureBootVariableLib, which
removes the explicit invocation of `CreateTimeBasedPayload` and used new
interface `EnrollFromInput` instead.

The original `SecureBootFetchData` is also moved to this library and
incorporated with the newly defined `SecureBootCreateDataFromInput` to
keep the original code flow.

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/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c