/external/tpm2-tss/src/tss2-sys/ |
D | sysapi_util.h | 61 } _TSS2_SYS_CONTEXT_BLOB; typedef 63 static inline _TSS2_SYS_CONTEXT_BLOB * 66 return (_TSS2_SYS_CONTEXT_BLOB*) ctx; in syscontext_cast() 70 resp_header_from_cxt(_TSS2_SYS_CONTEXT_BLOB *ctx) in resp_header_from_cxt() 76 req_header_from_cxt(_TSS2_SYS_CONTEXT_BLOB *ctx) in req_header_from_cxt() 91 TSS2_RC CopyCommandHeader(_TSS2_SYS_CONTEXT_BLOB *ctx, TPM2_CC commandCode); 92 UINT32 GetCommandSize(_TSS2_SYS_CONTEXT_BLOB *ctx); 93 void InitSysContextFields(_TSS2_SYS_CONTEXT_BLOB *ctx); 94 void InitSysContextPtrs(_TSS2_SYS_CONTEXT_BLOB *ctx, size_t contextSize); 95 TSS2_RC CompleteChecks(_TSS2_SYS_CONTEXT_BLOB *ctx); [all …]
|
D | sysapi_util.c | 20 void InitSysContextFields(_TSS2_SYS_CONTEXT_BLOB *ctx) in InitSysContextFields() 30 _TSS2_SYS_CONTEXT_BLOB *ctx, in InitSysContextPtrs() 33 ctx->cmdBuffer = (UINT8 *)ctx + sizeof(_TSS2_SYS_CONTEXT_BLOB); in InitSysContextPtrs() 34 ctx->maxCmdSize = contextSize - sizeof(_TSS2_SYS_CONTEXT_BLOB); in InitSysContextPtrs() 37 UINT32 GetCommandSize(_TSS2_SYS_CONTEXT_BLOB *ctx) in GetCommandSize() 42 TSS2_RC CopyCommandHeader(_TSS2_SYS_CONTEXT_BLOB *ctx, TPM2_CC commandCode) in CopyCommandHeader() 66 _TSS2_SYS_CONTEXT_BLOB *ctx, in CommonPreparePrologue() 98 TSS2_RC CommonPrepareEpilogue(_TSS2_SYS_CONTEXT_BLOB *ctx) in CommonPrepareEpilogue() 107 TSS2_RC CommonComplete(_TSS2_SYS_CONTEXT_BLOB *ctx) in CommonComplete() 145 _TSS2_SYS_CONTEXT_BLOB *ctx, in CommonOneCall()
|
/external/tpm2-tss/test/unit/ |
D | CommonPreparePrologue.c | 42 _TSS2_SYS_CONTEXT_BLOB *sys_ctx; in CommonPreparePrologue_sys_setup() 56 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB*)*state; in CommonPreparePrologue_sys_teardown() 72 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB*)*state; in CommonPreparePrologue_previous_stage_initialize() 82 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB*)*state; in CommonPreparePrologue_previous_stage_prepare() 92 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB*)*state; in CommonPreparePrologue_previous_stage_response()
|
D | CopyCommandHeader.c | 28 _TSS2_SYS_CONTEXT_BLOB *sys_ctx; in CopyCommandHeader_sys_setup() 39 sys_ctx->cmdBuffer = (UINT8*) (sys_ctx + sizeof (_TSS2_SYS_CONTEXT_BLOB)); in CopyCommandHeader_sys_setup() 67 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB *)*state; in CopyCommandHeader_nextData_unit() 82 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB*)*state; in CopyCommandHeader_tag_unit() 102 _TSS2_SYS_CONTEXT_BLOB *sys_ctx = (_TSS2_SYS_CONTEXT_BLOB*)*state; in CopyCommandHeader_commandcode_unit()
|
/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_ReadClock.c | 18 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_ReadClock_Prepare() 39 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_ReadClock_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_ReadClock()
|
D | Tss2_Sys_Startup.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_Startup_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_Startup_Complete() 57 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_Startup()
|
D | Tss2_Sys_FlushContext.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_FlushContext_Prepare() 44 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_FlushContext_Complete() 56 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_FlushContext()
|
D | Tss2_Sys_ChangeEPS.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_ChangeEPS_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_ChangeEPS_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_ChangeEPS()
|
D | Tss2_Sys_PCR_Reset.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PCR_Reset_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PCR_Reset_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PCR_Reset()
|
D | Tss2_Sys_Shutdown.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_Shutdown_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_Shutdown_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_Shutdown()
|
D | Tss2_Sys_PolicyAuthValue.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyAuthValue_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyAuthValue_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyAuthValue()
|
D | Tss2_Sys_SelfTest.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_SelfTest_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_SelfTest_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_SelfTest()
|
D | Tss2_Sys_PolicyPhysicalPresence.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyPhysicalPresence_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyPhysicalPresence_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyPhysicalPresence()
|
D | Tss2_Sys_DictionaryAttackLockReset.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_DictionaryAttackLockReset_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_DictionaryAttackLockReset_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_DictionaryAttackLockReset()
|
D | Tss2_Sys_NV_GlobalWriteLock.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_NV_GlobalWriteLock_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_NV_GlobalWriteLock_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_NV_GlobalWriteLock()
|
D | Tss2_Sys_PolicyPassword.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyPassword_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyPassword_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyPassword()
|
D | Tss2_Sys_Clear.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_Clear_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_Clear_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_Clear()
|
D | Tss2_Sys_PolicyRestart.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyRestart_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyRestart_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyRestart()
|
D | Tss2_Sys_TestParms.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_TestParms_Prepare() 45 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_TestParms_Complete() 59 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_TestParms()
|
D | Tss2_Sys_StirRandom.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_StirRandom_Prepare() 54 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_StirRandom_Complete() 68 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_StirRandom()
|
D | Tss2_Sys_ContextSave.c | 19 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_ContextSave_Prepare() 46 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_ContextSave_Complete() 67 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_ContextSave()
|
D | Tss2_Sys_PolicyOR.c | 20 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyOR_Prepare() 52 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyOR_Complete() 67 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyOR()
|
D | Tss2_Sys_PolicyNvWritten.c | 20 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyNvWritten_Prepare() 52 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyNvWritten_Complete() 67 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_PolicyNvWritten()
|
D | Tss2_Sys_NV_Increment.c | 20 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_NV_Increment_Prepare() 52 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_NV_Increment_Complete() 67 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_NV_Increment()
|
D | Tss2_Sys_NV_ReadLock.c | 20 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_NV_ReadLock_Prepare() 52 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_NV_ReadLock_Complete() 67 _TSS2_SYS_CONTEXT_BLOB *ctx = syscontext_cast(sysContext); in Tss2_Sys_NV_ReadLock()
|