Expand description
TEE internal core API.
§Feature flags
default— enables nothing.std— enables the ability to use the standard library.no_panic_handler— disables the default panic handler (which callsTEE_Panic), allowing TA developers to provide a custom#[panic_handler].unwind_stubs— provides linker stubs for_Unwind_Resumeandrust_eh_personality. These are required by the precompiled sysroot when not using-Z build-std, even thoughpanic=abortguarantees they are never called at runtime.doc— used for docs.rs to generate docs.
Re-exports§
pub use self::identity::Identity;pub use self::identity::LoginType;pub use self::arithmetical::*;pub use self::crypto_op::*;pub use self::extension::*;pub use self::object::*;pub use self::time::*;pub use self::uuid::*;
Modules§
Macros§
- trace_
print - Macro for printing to the trace output, without a newline.
- trace_
println - Macro for printing to the trace output, with a newline.
Use the
format!syntax to write data to the standard output. Seestd::fmtfor more information.
Structs§
- Error
- Param
Types - Parameter
- Parameters
- TaSession
- TaSession
Builder - TeeParams
- The TeeParams struct is used to manage the parameters for TEE commands.
Enums§
- Error
Kind - A list specifying general categories of TEE error and its corresponding code in OP-TEE OS.
- Param
Index - Param
Type
Type Aliases§
- RawParam
Type - RawParam
Types - RawParams
- Result
- A specialized
Resulttype for TEE operations.
Attribute Macros§
- ta_
close_ session - Attribute to declare the entry point of closing a session. Session context
raw pointer (
*mut T) can be defined as an optional parameter. - ta_
create - Attribute to declare the entry point of creating TA.
- ta_
destroy - Attribute to declare the entry point of destroying TA.
- ta_
invoke_ command - Attribute to declare the entry point of invoking commands. Session context
reference (
&mut T) can be defined as an optional parameter. - ta_
open_ session - Attribute to declare the entry point of opening a session. Pointer to session context pointer (*mut *mut T) can be defined as an optional parameter.