Skip to content
Commit 27a61454 authored by Raef Coles's avatar Raef Coles Committed by Tamas Ban
Browse files

Boot: Mitigate TOCTOU attack when RAM loading



First load the image into RAM, and then perform hash and signature
checks on the RAM image. Replaces verify then copy that was susceptible
to the image being replaced between the operations. Use RAM image to
generate boot record.

Change-Id: I519cf0d5e2757791e9706008caf4098bfe5884c9
Signed-off-by: default avatarRaef Coles <raef.coles@arm.com>
parent dd871731
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment