]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg: SecureBootVariableLib: Updated time based payload creator
authorKun Qin <kuqin@microsoft.com>
Sun, 10 Apr 2022 22:35:59 +0000 (15:35 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 7 Jul 2022 01:07:00 +0000 (01:07 +0000)
commit56c717aafa037f8d1fa3ef8c7cf7f4de91c2575e
tree47d3d4f5f153967c42685da4000370af33841e61
parentd6bee54c45b32546f19209f571d2ce59ed42bc23
SecurityPkg: SecureBootVariableLib: Updated time based payload creator

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

This change updated the interface of 'CreateTimeBasedPayload' by
requiring the caller to provide a timestamp, instead of relying on time
protocol to be ready during runtime. It intends to extend the library
availability during boot environment.

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