commit | 7dc11f70433a95874cc65c56b672fb37c8d5deb9 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Thu Aug 31 16:57:24 2023 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Mon Oct 16 16:25:09 2023 +0200 |
tree | b33d6af49969f370e1d7c829e2f8de5c523c08ee | |
parent | 3759c0a874e5dba23413328940ef9dfa58d135c6 [diff] |
imx: hab: Use size parameter The current code works by sheer coincidence, because (see HABv4 API documentation, section 3.4) the RVT authenticate_image call updates the size that is passed in with the actual size ROM code pulls from IVT/CSF . So if the input size is larger, that is "fine" . Pass in size instead to make this really correct. Signed-off-by: Marek Vasut <marex@denx.de>