commit | c428ca80c298df55db242571d868dae7b475ccb5 | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Thu Mar 25 17:30:06 2021 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Thu Apr 08 09:18:29 2021 +0200 |
tree | 849e573fdac9c6ea89a56edb7c80f3ced0aae03d | |
parent | 55086e196eaca9403a636ea7079e7135bddbbece [diff] |
imx: hab: Add function to authenticate kernel image When loading kernel image, the image size is parsed from header, so it does not include the CSF and IVT. Add back the authenticate_image function to wrap the imx_hab_authenticate_image with calculating IVT offset and full image size. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>