Home
last modified time | relevance | path

Searched refs:_TSS2_SYS_CONTEXT_BLOB (Results 1 – 25 of 135) sorted by relevance

123456

/external/tpm2-tss/src/tss2-sys/
Dsysapi_util.h61 } _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 …]
Dsysapi_util.c20 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/
DCommonPreparePrologue.c42 _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()
DCopyCommandHeader.c28 _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/
DTss2_Sys_ReadClock.c18 _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()
DTss2_Sys_Startup.c19 _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()
DTss2_Sys_FlushContext.c19 _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()
DTss2_Sys_ChangeEPS.c19 _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()
DTss2_Sys_PCR_Reset.c19 _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()
DTss2_Sys_Shutdown.c19 _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()
DTss2_Sys_PolicyAuthValue.c19 _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()
DTss2_Sys_SelfTest.c19 _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()
DTss2_Sys_PolicyPhysicalPresence.c19 _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()
DTss2_Sys_DictionaryAttackLockReset.c19 _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()
DTss2_Sys_NV_GlobalWriteLock.c19 _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()
DTss2_Sys_PolicyPassword.c19 _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()
DTss2_Sys_Clear.c19 _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()
DTss2_Sys_PolicyRestart.c19 _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()
DTss2_Sys_TestParms.c19 _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()
DTss2_Sys_StirRandom.c19 _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()
DTss2_Sys_ContextSave.c19 _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()
DTss2_Sys_PolicyOR.c20 _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()
DTss2_Sys_PolicyNvWritten.c20 _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()
DTss2_Sys_NV_Increment.c20 _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()
DTss2_Sys_NV_ReadLock.c20 _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()

123456