commit | cbd2802cd17c82cf07f4a3d423851af3e0eb2569 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Sep 09 08:22:58 2021 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Oct 25 21:13:06 2021 +0200 |
tree | 866b9979ae4ad4e6082054be2cdb821185027afa | |
parent | 1ad2f0d3dabd451a0a50996658bd7858b1e0ec24 [diff] |
efi_loader: function to get GUID for variable name In multiple places we need the default GUID matching a variable name. The patch provides a library function. For secure boot related variables like 'PK', 'KEK', 'db' a lookup table is used. For all other variable names EFI_GLOBAL_VARIABLE is returned. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>