Home
last modified time | relevance | path

Searched refs:commandCode (Results 1 – 25 of 37) sorted by relevance

12

/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DCommandAudit.c107 TPM_CC commandCode // IN: command code in CommandAuditSet() argument
110 COMMAND_INDEX commandIndex = CommandCodeToCommandIndex(commandCode); in CommandAuditSet()
116 if(commandCode != TPM_CC_Shutdown) in CommandAuditSet()
143 TPM_CC commandCode // IN: command code in CommandAuditClear() argument
146 COMMAND_INDEX commandIndex = CommandCodeToCommandIndex(commandCode); in CommandAuditClear()
153 if(commandCode != TPM_CC_SetCommandCodeAuditStatus) in CommandAuditClear()
190 TPM_CC commandCode, // IN: start command code in CommandAuditCapGetCCList() argument
207 for(commandIndex = GetClosestCommandIndex(commandCode); in CommandAuditCapGetCCList()
247 TPM_CC commandCode; in CommandAuditGetDigest() local
259 commandCode = GetCommandCode(commandIndex); in CommandAuditGetDigest()
[all …]
DPP.c81 TPM_CC commandCode // IN: command code in PhysicalPresenceCommandSet() argument
84 COMMAND_INDEX commandIndex = CommandCodeToCommandIndex(commandCode); in PhysicalPresenceCommandSet()
101 TPM_CC commandCode // IN: command code in PhysicalPresenceCommandClear() argument
104 COMMAND_INDEX commandIndex = CommandCodeToCommandIndex(commandCode); in PhysicalPresenceCommandClear()
140 TPM_CC commandCode, // IN: start command code in PhysicalPresenceCapGetCCList() argument
155 for(commandIndex = GetClosestCommandIndex(commandCode); in PhysicalPresenceCapGetCCList()
/external/tpm2-tss/src/tss2-sys/
Dsysapi_util.c42 TSS2_RC CopyCommandHeader(_TSS2_SYS_CONTEXT_BLOB *ctx, TPM2_CC commandCode) in CopyCommandHeader() argument
57 req_header_from_cxt(ctx)->commandCode = HOST_TO_BE_32(commandCode); in CopyCommandHeader()
62 static int GetNumCommandHandles(TPM2_CC commandCode);
63 static int GetNumResponseHandles(TPM2_CC commandCode);
67 TPM2_CC commandCode) in CommonPreparePrologue() argument
83 rval = CopyCommandHeader(ctx, commandCode); in CommonPreparePrologue()
87 ctx->commandCode = commandCode; in CommonPreparePrologue()
88 ctx->numResponseHandles = GetNumResponseHandles(commandCode); in CommonPreparePrologue()
90 (GetNumResponseHandles(commandCode) * sizeof(UINT32))); in CommonPreparePrologue()
92 numCommandHandles = GetNumCommandHandles(commandCode); in CommonPreparePrologue()
[all …]
Dsysapi_util.h26 UINT32 commandCode; member
43 TPM2_CC commandCode; /* In host endian */ member
82 TPM2_CC commandCode; member
91 TSS2_RC CopyCommandHeader(_TSS2_SYS_CONTEXT_BLOB *ctx, TPM2_CC commandCode);
105 TPM2_CC commandCode);
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DCommandCodeAttributes.c96 TPM_CC commandCode // IN: the command code to start at in GetClosestCommandIndex() argument
99 BOOL vendor = (commandCode & CC_VEND) != 0; in GetClosestCommandIndex()
100 COMMAND_INDEX searchIndex = (COMMAND_INDEX)commandCode; in GetClosestCommandIndex()
107 if((commandCode & ~CC_VEND) != searchIndex) in GetClosestCommandIndex()
257 TPM_CC commandCode // IN: the command code to look up in CommandCodeToCommandIndex() argument
261 COMMAND_INDEX searchIndex = (COMMAND_INDEX)commandCode; in CommandCodeToCommandIndex()
262 BOOL vendor = (commandCode & CC_VEND) != 0; in CommandCodeToCommandIndex()
280 commandIndex = GetClosestCommandIndex(commandCode); in CommandCodeToCommandIndex()
321 TPM_CC commandCode = GET_ATTRIBUTE(s_ccAttr[commandIndex], in GetCommandCode() local
324 commandCode += CC_VEND; in GetCommandCode()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicyCommandCode.c53 TPM_CC commandCode = TPM_CC_PolicyCommandCode; in TPM2_PolicyCommandCode() local
61 if(session->commandCode != 0 && session->commandCode != in->code) in TPM2_PolicyCommandCode()
76 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyCommandCode()
85 session->commandCode = in->code; in TPM2_PolicyCommandCode()
DPolicyDuplicationSelect.c54 TPM_CC commandCode = TPM_CC_PolicyDuplicationSelect; in TPM2_PolicyDuplicationSelect() local
66 if(session->commandCode != 0) in TPM2_PolicyDuplicationSelect()
92 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyDuplicationSelect()
108 session->commandCode = TPM_CC_Duplicate; in TPM2_PolicyDuplicationSelect()
DPolicyTicket.c61 TPM_CC commandCode = TPM_CC_PolicySecret; in TPM2_PolicyTicket() local
113 commandCode = TPM_CC_PolicySigned; in TPM2_PolicyTicket()
115 commandCode = TPM_CC_PolicySecret; in TPM2_PolicyTicket()
122 PolicyContextUpdate(commandCode, &in->authName, &in->policyRef, in TPM2_PolicyTicket()
DPolicyPhysicalPresence.c50 TPM_CC commandCode = TPM_CC_PolicyPhysicalPresence; in TPM2_PolicyPhysicalPresence() local
67 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyPhysicalPresence()
DPolicyPassword.c52 TPM_CC commandCode = TPM_CC_PolicyAuthValue; in TPM2_PolicyPassword() local
69 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyPassword()
DPolicyAuthValue.c52 TPM_CC commandCode = TPM_CC_PolicyAuthValue; in TPM2_PolicyAuthValue() local
69 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyAuthValue()
DPolicyNvWritten.c51 TPM_CC commandCode = TPM_CC_PolicyNvWritten; in TPM2_PolicyNvWritten() local
84 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyNvWritten()
DPolicyNameHash.c53 TPM_CC commandCode = TPM_CC_PolicyNameHash; in TPM2_PolicyNameHash() local
85 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyNameHash()
DPolicyCpHash.c55 TPM_CC commandCode = TPM_CC_PolicyCpHash; in TPM2_PolicyCpHash() local
88 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyCpHash()
DPolicyTemplate.c55 TPM_CC commandCode = TPM_CC_PolicyTemplate; in TPM2_PolicyTemplate() local
88 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyTemplate()
DPolicyOR.c70 TPM_CC commandCode = TPM_CC_PolicyOR; in TPM2_PolicyOR() local
81 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyOR()
DPolicyLocality.c55 TPM_CC commandCode = TPM_CC_PolicyLocality; in TPM2_PolicyLocality() local
121 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyLocality()
DPolicyPCR.c58 TPM_CC commandCode = TPM_CC_PolicyPCR; in TPM2_PolicyPCR() local
103 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyPCR()
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_GetCommandCode.c19 UINT8 *commandCode) in Tss2_Sys_GetCommandCode() argument
23 if (!ctx || !commandCode) in Tss2_Sys_GetCommandCode()
29 TPM2_CC tmp = HOST_TO_BE_32(ctx->commandCode); in Tss2_Sys_GetCommandCode()
30 memcpy(commandCode, (void *)&tmp, sizeof(tmp)); in Tss2_Sys_GetCommandCode()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DPP_fp.h63 TPM_CC commandCode // IN: command code
71 TPM_CC commandCode // IN: command code
93 TPM_CC commandCode, // IN: start command code
DCommandAudit_fp.h78 TPM_CC commandCode // IN: command code
94 TPM_CC commandCode // IN: command code
116 TPM_CC commandCode, // IN: start command code
DCommandCodeAttributes_fp.h51 TPM_CC commandCode // IN: the command code to start at
62 TPM_CC commandCode // IN: the command code to look up
166 TPM_CC commandCode, // IN: start command code
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/AttachedComponent/
DPolicy_AC_SendSelect.c53 TPM_CC commandCode = TPM_CC_Policy_AC_SendSelect; in TPM2_Policy_AC_SendSelect() local
64 if(session->commandCode != 0) in TPM2_Policy_AC_SendSelect()
91 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_Policy_AC_SendSelect()
110 session->commandCode = TPM_CC_AC_Send; in TPM2_Policy_AC_SendSelect()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DSyntheticFieldsTest.java62 final byte commandCode; in runTestSyntheticFields()
65 commandCode = JDWPCommands.ReferenceTypeCommandSet.FieldsWithGenericCommand; in runTestSyntheticFields()
68 commandCode = JDWPCommands.ReferenceTypeCommandSet.FieldsCommand; in runTestSyntheticFields()
81 JDWPCommands.ReferenceTypeCommandSet.CommandSetID, commandCode); in runTestSyntheticFields()
DSyntheticMethodsTest.java62 final byte commandCode; in runTestSyntheticMethods()
65 commandCode = JDWPCommands.ReferenceTypeCommandSet.MethodsWithGenericCommand; in runTestSyntheticMethods()
68 commandCode = JDWPCommands.ReferenceTypeCommandSet.MethodsCommand; in runTestSyntheticMethods()
82 JDWPCommands.ReferenceTypeCommandSet.CommandSetID, commandCode); in runTestSyntheticMethods()

12