arm: am33xx: security: Fix size calculation on header
Fix the size calculation in the verify boot. The header size should be subtracted from the image size, not be assigned to the image size. Fixes: 0830d72b ("arm: am33xx: security: adds auth support for encrypted images") Signed-off-by: NMadan Srinivas <madans@ti.com> Signed-off-by: NDan Murphy <dmurphy@ti.com> Signed-off-by: NAndrew F. Davis <afd@ti.com> Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
Showing
想要评论请 注册 或 登录