commit | 81adfffb80c9f68c16f328116682097b705f2db5 | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Sat Jan 29 00:20:32 2022 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Jan 29 10:23:40 2022 +0100 |
tree | 75cd9f3eb5899e9e1ed5a4936dbdaec48a46a66d | |
parent | 71eae98b7d254b95137ca7122165f2268edf0819 [diff] |
efi_loader: hash the image once before checking against db/dbx We don't have to recalculate the image hash every time we check against a new db/dbx entry. So let's add a flag forcing it to run once since we only support sha256 hashes Suggested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>