/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/ |
D | CommandAudit.c | 107 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 …]
|
D | PP.c | 81 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/ |
D | sysapi_util.c | 42 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 …]
|
D | sysapi_util.h | 26 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/ |
D | CommandCodeAttributes.c | 96 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/ |
D | PolicyCommandCode.c | 53 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()
|
D | PolicyDuplicationSelect.c | 54 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()
|
D | PolicyTicket.c | 61 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()
|
D | PolicyPhysicalPresence.c | 50 TPM_CC commandCode = TPM_CC_PolicyPhysicalPresence; in TPM2_PolicyPhysicalPresence() local 67 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyPhysicalPresence()
|
D | PolicyPassword.c | 52 TPM_CC commandCode = TPM_CC_PolicyAuthValue; in TPM2_PolicyPassword() local 69 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyPassword()
|
D | PolicyAuthValue.c | 52 TPM_CC commandCode = TPM_CC_PolicyAuthValue; in TPM2_PolicyAuthValue() local 69 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyAuthValue()
|
D | PolicyNvWritten.c | 51 TPM_CC commandCode = TPM_CC_PolicyNvWritten; in TPM2_PolicyNvWritten() local 84 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyNvWritten()
|
D | PolicyNameHash.c | 53 TPM_CC commandCode = TPM_CC_PolicyNameHash; in TPM2_PolicyNameHash() local 85 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyNameHash()
|
D | PolicyCpHash.c | 55 TPM_CC commandCode = TPM_CC_PolicyCpHash; in TPM2_PolicyCpHash() local 88 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyCpHash()
|
D | PolicyTemplate.c | 55 TPM_CC commandCode = TPM_CC_PolicyTemplate; in TPM2_PolicyTemplate() local 88 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyTemplate()
|
D | PolicyOR.c | 70 TPM_CC commandCode = TPM_CC_PolicyOR; in TPM2_PolicyOR() local 81 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyOR()
|
D | PolicyLocality.c | 55 TPM_CC commandCode = TPM_CC_PolicyLocality; in TPM2_PolicyLocality() local 121 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyLocality()
|
D | PolicyPCR.c | 58 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/ |
D | Tss2_Sys_GetCommandCode.c | 19 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/ |
D | PP_fp.h | 63 TPM_CC commandCode // IN: command code 71 TPM_CC commandCode // IN: command code 93 TPM_CC commandCode, // IN: start command code
|
D | CommandAudit_fp.h | 78 TPM_CC commandCode // IN: command code 94 TPM_CC commandCode // IN: command code 116 TPM_CC commandCode, // IN: start command code
|
D | CommandCodeAttributes_fp.h | 51 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/ |
D | Policy_AC_SendSelect.c | 53 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/ |
D | SyntheticFieldsTest.java | 62 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()
|
D | SyntheticMethodsTest.java | 62 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()
|