tpm2-tss
master
TPM Software stack 2.0 TCG spec compliant implementation
|
#include <ifapi_policy_execute.h>
Data Fields | |
enum IFAPI_STATE_POLICY_EXCECUTE | state |
TPML_DIGEST | digest_list |
IFAPI_POLICY_EXEC_CTX * | next |
IFAPI_POLICY_EXEC_CTX * | prev |
ESYS_TR | session |
TPMS_POLICY * | policy |
ESYS_TR | policySessionSav |
ESYS_TR * | enc_session |
ESYS_TR | object_handle |
ESYS_TR | nv_index |
ESYS_TR | auth_handle |
IFAPI_OBJECT | auth_objectNV |
IFAPI_OBJECT * | auth_object |
ESYS_TR | auth_session |
TPMI_ALG_HASH | hash_alg |
void * | app_data |
NODE_OBJECT_T * | policy_elements |
TPM2B_DIGEST * | nonceTPM |
uint8_t * | buffer |
size_t | buffer_size |
TPM2B_NAME | name |
char * | pem_key |
struct POLICY_LIST * | policy_list |
bool | flush_handle |
TSS2_POLICY_EXEC_CALLBACKS | callbacks |
The context of the policy execution
void* app_data |
Application data for policy execution callbacks
IFAPI_OBJECT* auth_object |
Object to be authorized
IFAPI_OBJECT auth_objectNV |
Object used for NV authentication
TSS2_POLICY_EXEC_CALLBACKS callbacks |
callbacks used for execution of sub policies and actions which require access to the FAPI context.
ESYS_TR* enc_session |
ession used for encryption if policy is used
bool flush_handle |
Handle to be flushed after policy execution
IFAPI_POLICY_EXEC_CTX* next |
The digest list of policy or Pointer to next policy
char* pem_key |
Pem key recreated during policy execution
NODE_OBJECT_T* policy_elements |
The policy elements to be executed
struct POLICY_LIST* policy_list |
List of policies for authorization selection
ESYS_TR policySessionSav |
Backup policy session
IFAPI_POLICY_EXEC_CTX* prev |
Pointer to previous policy
ESYS_TR session |
The current policy session
enum IFAPI_STATE_POLICY_EXCECUTE state |
The execution state of the current policy command