Trusted Execution Environment Property Migration for RISC-V Compliance
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing trusted execution environments face challenges in migrating to new instruction sets like RISC-V while satisfying regulatory requirements, leading to inefficiencies in construction and reusability due to lack of security function migration and completeness detection.
Innovation Solution
A method and apparatus for constructing a trusted execution environment that involves obtaining regulatory requirement information, parsing it to obtain atomized security function information, performing formal parsing to generate a security solution, and using a property migration mechanism to construct an environment that satisfies regulatory requirements in a target scenario, leveraging formal semantics and axiomatic transformations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If existing trusted execution environment instances (SGX or TrustZone) are migrated to RISC-V instruction set, then the adaptability to new platforms is improved, but the difficulty of satisfying regulatory requirements increases
Solution Approach 1:
The regulatory requirement information is parsed into atomized security function information, dividing complex regulatory requirements into discrete, manageable security functions that can be independently verified and mapped to specific implementation components
Solution Approach 2:
The property migration mechanism creates a universal framework that can migrate trusted execution environments across different instruction sets (x86, ARM, RISC-V) while maintaining consistent regulatory compliance verification, making the solution applicable to multiple platforms simultaneously
2Reliability
If formal parsing processing is performed on security function information, then the reliability of security solution verification is improved, but the time consumption increases
Solution Approach 1:
Test cases are generated in advance based on axioms of the security solution during the formal parsing phase, so that when the trusted execution environment is constructed, verification can proceed efficiently without time-consuming ad-hoc test case creation
Solution Approach 2:
The property migration mechanism copies verified security properties from the formal security solution to the constructed trusted execution environment, avoiding the need to re-verify all properties from scratch and significantly reducing construction time while maintaining verification reliability
3Reliability
If comprehensive security function information is obtained from regulatory requirements, then the completeness of security coverage is improved, but the device complexity increases
Solution Approach 1:
The construction process is divided into distinct modular steps: obtaining regulatory requirements, parsing to atomized security functions, formal parsing to security solutions, generating test cases, and constructing the environment. Each module handles a specific aspect, making the overall complex process manageable and maintainable
Solution Approach 2:
The property migration mechanism acts as an intermediary that translates and maps security properties from the formal security solution to the constructed trusted execution environment, ensuring comprehensive security coverage while simplifying the construction process through automated property transfer
Data Source
AI summary
Trusted execution environment construction is described and includes obtaining regulatory requirement information of a trusted execution environment. The regulatory requirement information is parsed to obtain atomized security function information applied to the trusted execution environment. Formal parsing processing is performed on the security function information to obtain a security solution of the trusted execution environment to prove that it satisfies the regulatory requirement information and generating a test case corresponding to the security solution based on an axiom of the security solution. Using a predetermined property migration mechanism based on the security solution and the test case corresponding to the security solution, a trusted execution environment is constructed that has same property information as the security solution and the test case with respect to a predetermined property item in a target scenario.


