commit | 67acad3db71bb372458fbb8a77749f5eb88aa324 | [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 | 1b090032029b35080a5a87c9f1047882d894ab37 [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>