tpm2-tss
3.2.1
TPM Software stack 2.0 TCG spec compliant implementation
|
#include <fapi_int.h>
Data Fields | |
char * | nvPath |
char * | policyPath |
TPM2B_NV_PUBLIC | public |
ESYS_TR | esys_auth_handle |
ESYS_TR | esys_handle |
TPM2_HANDLE | tpm_handle |
size_t | numBytes |
UINT16 | bytesRequested |
UINT16 | offset |
size_t | data_idx |
const uint8_t * | data |
uint8_t * | rdata |
size_t | size |
IFAPI_OBJECT | auth_object |
IFAPI_OBJECT | nv_object |
TPM2B_AUTH | auth |
IFAPI_NV | nv_obj |
ESYS_TR | auth_index |
uint64_t | bitmap |
IFAPI_NV_TEMPLATE | public_templ |
enum _FAPI_STATE_NV_READ | nv_read_state |
enum _FAPI_STATE_NV_WRITE | nv_write_state |
uint8_t * | write_data |
char * | logData |
json_object * | jso_event_log |
TPMI_RH_NV_INDEX | maxNvIndex |
IFAPI_EVENT | pcr_event |
TPML_DIGEST_VALUES | digests |
bool | skip_policy_computation |
The data structure holding internal state of Fapi NV commands.
TPM2B_AUTH auth |
The Password
ESYS_TR auth_index |
The ESAPI handle of the authorization object
IFAPI_OBJECT auth_object |
Object used for authentication
uint64_t bitmap |
The bitmask for the SetBits command
UINT16 bytesRequested |
Bytes currently requested from TPM
const uint8_t* data |
Buffer for data to be written
size_t data_idx |
Offset in the read buffer
TPML_DIGEST_VALUES digests |
Digest for the event data of an extend
ESYS_TR esys_auth_handle |
The ESAPI handle for the NV auth object
ESYS_TR esys_handle |
The ESAPI handle for the NV object
json_object* jso_event_log |
logData in JSON format
char* logData |
The event log for NV objects of type pcr
TPMI_RH_NV_INDEX maxNvIndex |
Max index for search for free index
size_t numBytes |
The number of bytes of a ESYS request
IFAPI_NV nv_obj |
The NV Object
IFAPI_OBJECT nv_object |
Deserialized NV object
enum _FAPI_STATE_NV_READ nv_read_state |
The current state of NV read
enum _FAPI_STATE_NV_WRITE nv_write_state |
The current state of NV write
char* nvPath |
The name of the file for object serialization
UINT16 offset |
Offset in TPM memory TPM
IFAPI_EVENT pcr_event |
Event to be added to log
char* policyPath |
The name of the policy file
TPM2B_NV_PUBLIC public |
The public info of the NV object.
IFAPI_NV_TEMPLATE public_templ |
The template for nv creation, adjusted appropriate by the passed flags
uint8_t* rdata |
Buffer for data to be read
size_t size |
size of rdata
bool skip_policy_computation |
switch whether policy needs to be computed
TPM2_HANDLE tpm_handle |
The TPM nv index