commit | 086ae65ff77cfd08bb853472e140fb7113a0487c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 18 11:44:01 2020 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Apr 01 07:45:09 2020 -0600 |
tree | 97c9dcc4cc92180ad1743ad38d2f04afe6dc997b | |
parent | a0ba39dffdafd9e3e9b9705bbe71928d1ee2077a [diff] |
image: Check hash-nodes when checking configurations It is currently possible to use a different configuration's signature and thus bypass the configuration check. Make sure that the configuration node that was hashed matches the one being checked, to catch this problem. Also add a proper function comment to fit_config_check_sig() and make it static. Signed-off-by: Simon Glass <sjg@chromium.org>