Home
last modified time | relevance | path

Searched hist:"03131 c85ada8a0956f91bb2fc6851666e3996797" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/bl1/
H A Dbl1_fwu.c03131c85ada8a0956f91bb2fc6851666e3996797 Mon Dec 14 16:26:43 UTC 2015 Dan Handley <dan.handley@arm.com> FWU: Fix secure memory check in image auth

The implementation of FWU_SMC_IMAGE_AUTH performs a number of
pre-condition checks before authenticating the image. One of
these checks calls `bl1_plat_mem_check()` to ensure the image
source is mapped in when authenticating an image in place.
The framework incorrectly passes the security state of the
caller into this function instead of the security state of
the source image.

This patch corrects the defect. The defect would only
manifest itself for secure world callers authenticating
non-secure images in place, which is not done by current
upstream platforms.

Change-Id: I617c7b43e02ac7149f266aeaf3874316e62f3003