]> git.baikalelectronics.ru Git - uboot.git/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)
commit620c96a319651d02612152a80b5ccf5d72f495d4
tree42e215919601c196787ed1668d89cd4d36695fa9
parente3823e0aba2fd60bcfb8ba2e755ba8b341a12d33
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: 1ec693e2e3cc ("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