Skip to content
  • Masahisa Kojima's avatar
    efi_loader: add boot variable measurement · 8fc4e0b4
    Masahisa Kojima authored and Heinrich Schuchardt's avatar Heinrich Schuchardt committed
    
    
    TCG PC Client PFP spec requires to measure "Boot####"
    and "BootOrder" variables, EV_SEPARATOR event prior
    to the Ready to Boot invocation.
    Since u-boot does not implement Ready to Boot event,
    these measurements are performed when efi_start_image() is called.
    
    TCG spec also requires to measure "Calling EFI Application from
    Boot Option" for each boot attempt, and "Returning from EFI
    Application from Boot Option" if a boot device returns control
    back to the Boot Manager.
    
    Signed-off-by: default avatarMasahisa Kojima <masahisa.kojima@linaro.org>
    8fc4e0b4