Re-exports§
pub use teec_api_types as raw;
Modules§
Structs§
- Error
- TEE 操作错误类型。
Enums§
- Error
Kind - 指定 TEE 客户端错误通用类别及其在 OP-TEE 客户端库中对应代码的列表。
- Error
Origin
Constants§
Functions§
- TEEC_
Allocate Shared Memory - TEEC_AllocateSharedMemory() - 为 TEE 分配共享内存。
- TEEC_
Close Session - TEEC_CloseSession() - 关闭已与受信任应用打开的会话。
- TEEC_
Finalize Context - TEEC_FinalizeContext() - 销毁保存连接信息的上下文。
- TEEC_
Initialize Context - TEEC_InitializeContext() - 初始化一个上下文,保存与指定 TEE 的连接信息。
- TEEC_
Invoke Command - TEEC_InvokeCommand() - 在指定的受信任应用中执行命令。
- TEEC_
Open Session - TEEC_OpenSession() - 与指定的受信任应用打开一个新会话。
- TEEC_
Register Shared Memory - TEEC_RegisterSharedMemory() - 将现有内存块注册为在指定上下文作用域内的 共享内存块。
- TEEC_
Release Shared Memory - TEEC_ReleaseSharedMemory() - 释放或取消注册共享内存。
- TEEC_
Request Cancellation - TEEC_RequestCancellation() - 请求取消正在等待的打开会话或命令调用。
- dump_
buffer - dump_buffer 的空实现,用于未启用调试特性时
- rust_
dprintf - 格式化输出日志信息到标准输出,格式为: 级别 [线程ID] 前缀:函数名:行号: 消息
Type Aliases§
- Result
- TEE Result 类型。