Home
last modified time | relevance | path

Searched hist:"7446 af61c49a70a53c6d131963569ea3f394c939" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtee_ree_fs.c7446af61c49a70a53c6d131963569ea3f394c939 Tue Jul 21 15:39:43 UTC 2020 Jerome Forissier <jerome@forissier.org> core: log message when secure storage corruption is detected

When CFG_REE_FS and CFG_RPMB_FS are both 'y', the data stored by OP-TEE
in the REE filesystem (typically, under /data/tee) are protected by
hashes stored in the RPMB. Any modifications to the REE files via
external means are therefore detected and TEE_ERROR_SECURITY is
returned. However, no error or debug message is printed to the secure
console which makes troubleshooting more difficult than needed. This
commit adds a debug message.

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>