TA-REF
tee-internal-api-machine.c File Reference
#include "eapp_utils.h"
#include "tee-ta-internal.h"
+ Include dependency graph for tee-internal-api-machine.c:

Functions

void __attribute__ ((noreturn))
 

Function Documentation

◆ __attribute__()

void __attribute__ ( (noreturn)  )

TEE_Panic() - Raises a panic in the Trusted Application instance.

When a Trusted Application calls the TEE_Panic function, the current instance shall be destroyed and all the resources opened by the instance shall be reclaimed. All sessions opened from the panicking instance on another TA shall be gracefully closed and all cryptographic objects and operations shall be closed properly.

Parameters
codeAn informative panic code defined by the TA.
Returns
panic code will be returned.