/security_itrustee_ree_lite

OpenHarmony LibTee drivers

Primary LanguageCApache License 2.0Apache-2.0

itrustee_ree_lite

Introduction

The itrustee_ree_lite module provides a set of rich execution environment (REE) API components for interacting with iTrustee-developed TEEOS, including tzdriver (driver), libteec (API library), and teecd (agent service). libteec meets the GlobalPlatform (GP) standards and provides ClientApp (CA) APIs.

Architecture

The following figure shows the itrustee_ree_lite architecture.

  • tzdriver: enables switching and communication between the REE and trusted execution environment (TEE) and provides device nodes that can be accessed from the application layer.

  • libteec: provides CA GP APIs for accessing device nodes and establishing communication sessions with the TEE.

  • teecd: provides agent services for TEEOS, such as file operations.

Directory Structure

Table 1 Directory structure of itrustee_ree_lite

Name

Description

device/hisilicon/itrustee/itrustee_ree_lite/frameworks/libteec

Implementation code of libteec

device/hisilicon/itrustee/itrustee_ree_lite/interfaces/innerkits/libteec

APIs of libteec

device/hisilicon/itrustee/itrustee_ree_lite/services/teecd

Implementation code of teecd

drivers/liteos/tzdriver/

Implementation code of tzdriver