]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.c
SecurityPkg: SecureBootVariableLib: Updated signature list creator
authorkuqin <kuqin@microsoft.com>
Fri, 15 Apr 2022 20:38:11 +0000 (13:38 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 7 Jul 2022 01:07:00 +0000 (01:07 +0000)
commit6de7c084dbb6d02f3b8cdb68dc4716df96c6758f
tree98f705659b9da105c92db95852b6477308953ecc
parent56c717aafa037f8d1fa3ef8c7cf7f4de91c2575e
SecurityPkg: SecureBootVariableLib: Updated signature list creator

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

This change removes the interface of SecureBootFetchData, and replaced
it with `SecureBootCreateDataFromInput`, which will require caller to
prepare available certificates in defined structures.

This improvement will eliminate the dependency of reading from FV,
extending the availability of this library instance.

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