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

Boot: Add constant time memory equality function



Add boot_secure_memequal function which runs in constant time,
mitigating the risk of timing side channel attacks. Replace calls to
memcmp where applicable (where they test only equality).

Change-Id: I062a433a67a1a865d6e890ba06a75bfb6b13deb3
Signed-off-by: default avatarRaef Coles <raef.coles@arm.com>
parent 6bd5b813
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