Bootloader must fill some information about the kernel (address, size).
Those pieces of information are not constant. To keep hash values
independent of memory layout, those variables are moved to a separate
section out of SL (but still inside SLB). Length in SL header is no
longer set to maximum possible value, it points to the end of constant
data instead.
GRUB2 code must be changed accordingly.
Util for calculating initial PCR values after SKINIT is included
(calc_skinit_lz_sums.sh).
Bootloader must fill some information about the kernel (address, size). Those pieces of information are not constant. To keep hash values independent of memory layout, those variables are moved to a separate section out of SL (but still inside SLB). Length in SL header is no longer set to maximum possible value, it points to the end of constant data instead.
GRUB2 code must be changed accordingly.
Util for calculating initial PCR values after SKINIT is included (calc_skinit_lz_sums.sh).
Signed-off-by: Krystian Hebel krystian.hebel@3mdeb.com