efi_loader: simplify tcg2_measure_secure_boot_variable()
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Tue, 26 Oct 2021 08:27:26 +0000 (17:27 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 26 Oct 2021 19:33:19 +0000 (21:33 +0200)
commit96485d2f3f30c1f482bd138752188cbbc64fb307
tree760c946bf837aad52cd4116350e96c1c16602a88
parentce3dbc5d080de8045dd5e2b512cad75434ba4cf5
efi_loader: simplify tcg2_measure_secure_boot_variable()

This commit simplifies tcg2_measure_secure_boot_variable()
using secure_variables table.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
lib/efi_loader/efi_tcg2.c