summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/libstub/efistub.h
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2022-09-16 10:14:34 +0200
committerArd Biesheuvel <ardb@kernel.org>2022-09-27 13:26:16 +0200
commit566331696329c2f9ca0fe2a55a5dd029ac43d2d2 (patch)
tree5816c1342a48e9c9714e733e03d66857e938b343 /drivers/firmware/efi/libstub/efistub.h
parentMerge tag 'efi-loongarch-for-v6.1-2' into HEAD (diff)
downloadlinux-566331696329c2f9ca0fe2a55a5dd029ac43d2d2.tar.xz
linux-566331696329c2f9ca0fe2a55a5dd029ac43d2d2.zip
efi/libstub: refactor the initrd measuring functions
Currently, from the efi-stub, we are only measuring the loaded initrd, using the TCG2 measured boot protocols. A following patch is introducing measurements of additional components, such as the kernel command line. On top of that, we will shortly have to support other types of measured boot that don't expose the TCG2 protocols. So let's prepare for that, by rejigging the efi_measure_initrd() routine into something that we should be able to reuse for measuring other assets, and which can be extended later to support other measured boot protocols. Co-developed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/efistub.h')
0 files changed, 0 insertions, 0 deletions