Method for handling trusted execution environment operating system crash and electronic device

    公开(公告)号:US11874743B2

    公开(公告)日:2024-01-16

    申请号:US17866196

    申请日:2022-07-15

    CPC classification number: G06F11/1438 G06F11/142 G06F21/57

    Abstract: A method for handling a trusted execution environment operating system crash is provided. The method includes: when it is detected, in a running process of a security service, that a TEE OS crashes, an electronic device stores a hardware status parameter of a TEE and a security context of an REE that are obtained when the TEE OS crashes, and suspends the security service; the electronic device restarts the TEE OS; the electronic device sets, based on the stored hardware status parameter of the TEE, a hardware status parameter of the TEE obtained after the TEE OS is restarted; the electronic device sets, based on the stored security context of the REE, a security context of the REE obtained after the TEE OS is restarted and a context of the TEE obtained after the TEE OS is restarted; and the electronic device restores the security service.

Patent Agency Ranking