MLK-12500-1 HAB: Add kernel image authentication in image loading
authorYe Li <ye.li@nxp.com>
Tue, 8 Mar 2016 14:03:47 +0000 (22:03 +0800)
committerYe Li <ye.li@nxp.com>
Wed, 5 Apr 2017 06:04:41 +0000 (14:04 +0800)
commitfd9a9759ed9b3a9fc26b18aff00880382213b1ca
tree9736960f4a23b27b1c75c683c7a03cd770146b4c
parent8f8699a8845c3f1a838d0e8a258ceebcc60f5622
MLK-12500-1 HAB: Add kernel image authentication in image loading

To support the trust boot chain, we integrate the authentication
into the kernel image loading process. The kernel image will be verified
at its load address. So when signing the kernel image, we need to
use this load address which may change on different platforms.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 3c118b8d6bbe1a25ca8c8bafeb528309f16fc73d)
cmd/bootm.c
cmd/bootz.c