Skip to content
Snippets Groups Projects
Commit ddf67daa authored by Ilias Apalodimas's avatar Ilias Apalodimas Committed by Heinrich Schuchardt
Browse files

efi_capsule: Move signature from DTB to .rodata


The capsule signature is now part of our DTB.  This is problematic when a
user is allowed to change/fixup that DTB from U-Boots command line since he
can overwrite the signature as well.
So Instead of adding the key on the DTB, embed it in the u-boot binary it
self as part of it's .rodata.  This assumes that the U-Boot binary we load
is authenticated by a previous boot stage loader.

Reviewed-by: default avatarMasami Hiramatsu <masami.hiramatsu@linaro.org>
Tested-by: default avatarMasami Hiramatsu <masami.hiramatsu@linaro.org>
Tested-by: default avatarSughosh Ganu <sughosh.ganu@linaro.org>
Signed-off-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent d934ed57
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment