commit | 9e32bf936264b567dc8d6bcb0b348d4161719145 | [log] [tgz] |
---|---|---|
author | Masahisa Kojima <masahisa.kojima@linaro.org> | Tue Dec 07 14:15:32 2021 +0900 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Dec 09 11:43:25 2021 -0800 |
tree | 2afa4df036eaed13782cd0094f5862cdf14e7506 | |
parent | 54bec17f6b0326bbc22f993d28170d4c4df4ceed [diff] |
efi_loader: check tcg2 protocol installation outside the TCG protocol There are functions that calls tcg2_agile_log_append() outside of the TCG protocol invocation (e.g tcg2_measure_pe_image). These functions must to check that TCG2 protocol is installed. If not, measurement shall be skipped. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>