Skip to content
Commit 1c97f941 authored by Imre Kis's avatar Imre Kis
Browse files

Allowing zeroes in trusted OS SMC return values



Trusted OSes should preserve or fill by zeroes the values of x1-x3
registers across an SMC call in order to prevent data leakage. The
behaviour of OP-TEE regarding to this has changed recently from
preserving values to filling them by zeroes. This patch utilitizes the
newly added allow_zeros[] parameter of the smc_check_match function to
make the tests compatible with OP-TEE commit 6e558fa94ab0 or later.

Signed-off-by: Imre Kis's avatarImre Kis <imre.kis@arm.com>
Change-Id: I52ddfb69261833a3fba76c5f89d27d1ea13043b0
parent 2676b99a
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