]> git.sur5r.net Git - u-boot/commit
arm: am33xx: security: Fix size calculation on header
authorMadan Srinivas <madans@ti.com>
Tue, 9 Jan 2018 20:32:41 +0000 (14:32 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2018 20:49:30 +0000 (15:49 -0500)
commitfbd23b9b94e848f715b8b5d34793fadc60190b35
tree42e215919601c196787ed1668d89cd4d36695fa9
parent0d8c1df8d8b2cb7b3d5fe900422c727ea15c24a2
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: 0830d72bb9f8 ("arm: am33xx: security: adds auth support for encrypted images")
Signed-off-by: Madan Srinivas <madans@ti.com>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-omap2/sec-common.c