/external/tpm2/ |
H A D | CommandCodeAttributes_fp.h | 10 AUTH_ROLE CommandAuthRole(TPM_CC commandCode, // IN: command code 14 TPM_CC commandCode, // IN: start command code 18 BOOL CommandIsImplemented(TPM_CC commandCode // IN: command code 20 int DecryptSize(TPM_CC commandCode // IN: commandCode 22 int EncryptSize(TPM_CC commandCode // IN: commandCode 26 BOOL IsSessionAllowed(TPM_CC commandCode // IN: the command to be checked
|
H A D | PP.c | 45 TPM_CC commandCode // IN: command code 51 pAssert(CommandIsImplemented(commandCode)); 53 if(commandCode < TPM_CC_PP_FIRST || commandCode > TPM_CC_PP_LAST) 55 bitPos = commandCode - TPM_CC_PP_FIRST; 68 TPM_CC commandCode // IN: command code 74 pAssert(CommandIsImplemented(commandCode)); 76 if(commandCode < TPM_CC_PP_FIRST || commandCode > TPM_CC_PP_LAST) 79 if(commandCode 125 PhysicalPresenceCapGetCCList( TPM_CC commandCode, UINT32 count, TPML_CC *commandList ) argument [all...] |
H A D | CommandAudit_fp.h | 11 TPM_CC commandCode, // IN: start command code 15 BOOL CommandAuditClear(TPM_CC commandCode // IN: command code 19 BOOL CommandAuditIsRequired(TPM_CC commandCode // IN: command code 22 BOOL CommandAuditSet(TPM_CC commandCode // IN: command code
|
H A D | PP_fp.h | 11 TPM_CC commandCode, // IN: start command code 15 void PhysicalPresenceCommandClear(TPM_CC commandCode // IN: command code 17 void PhysicalPresenceCommandSet(TPM_CC commandCode // IN: command code 19 BOOL PhysicalPresenceIsRequired(TPM_CC commandCode // IN: command code
|
H A D | CommandCodeAttributes.c | 37 TPM_CC commandCode, // IN: command code 44 ATTRIBUTE_TYPE properties = s_commandAttributes[commandCode - TPM_CC_FIRST]; 50 if(s_commandAttributes[commandCode - TPM_CC_FIRST] & HANDLE_2_USER) 67 TPM_CC commandCode // IN: command code 70 if(commandCode < TPM_CC_FIRST || commandCode > TPM_CC_LAST) 72 if((s_commandAttributes[commandCode - TPM_CC_FIRST] & IS_IMPLEMENTED)) 85 TPM_CC commandCode // IN: command code 91 if(s_ccAttr[i].commandIndex == (UINT16) commandCode) 114 TPM_CC commandCode // I 36 CommandAuthRole( TPM_CC commandCode, UINT32 handleIndex ) argument 254 CommandCapGetCCList( TPM_CC commandCode, UINT32 count, TPML_CCA *commandList ) argument [all...] |
H A D | CommandAudit.c | 77 TPM_CC commandCode // IN: command code 82 if(CommandIsImplemented(commandCode)) 85 if(commandCode != TPM_CC_Shutdown) 87 bitPos = commandCode - TPM_CC_FIRST; 118 TPM_CC commandCode // IN: command code 123 if(CommandIsImplemented(commandCode)) 127 if(commandCode != TPM_CC_SetCommandCodeAuditStatus) 129 bitPos = commandCode - TPM_CC_FIRST; 154 TPM_CC commandCode // IN: command code 158 bitPos = commandCode 183 CommandAuditCapGetCCList( TPM_CC commandCode, UINT32 count, TPML_CC *commandList ) argument [all...] |
H A D | PolicyCommandCode.c | 14 // TPM_RC_VALUE commandCode of policySession previously set to a different value 22 TPM_CC commandCode = TPM_CC_PolicyCommandCode; local 30 if(session->commandCode != 0 && session->commandCode != in->code) 44 // add commandCode 45 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); 47 // add input commandCode 53 // update commandCode value in session context 54 session->commandCode = in->code;
|
H A D | SessionProcess_fp.h | 12 TPM_CC commandCode, // IN: commandCode 18 TPM_CC commandCode, // IN: Command Code 27 TPM_CC commandCode, // IN: Command code
|
H A D | PolicyPhysicalPresence.c | 16 TPM_CC commandCode = TPM_CC_PolicyPhysicalPresence; local 32 // add commandCode 33 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|
H A D | ExecCommand.c | 52 TPM_CC commandCode = 0; local 85 // the sizes do not include the tag, commandCode, requestSize, or the authorization 136 // Parse command header: tag, commandSize and commandCode. 159 result = TPM_CC_Unmarshal(&commandCode, &buffer, &size); 163 if(!CommandIsImplemented(commandCode)) 171 if(IsFieldUgradeMode() && (commandCode != TPM_CC_FieldUpgradeData)) 181 if(( !TPMIsStarted() && commandCode != TPM_CC_Startup) 182 || (TPMIsStarted() && commandCode == TPM_CC_Startup)) 189 result = ParseHandleBuffer(commandCode, &buffer, &size, handles, &handleNum); 199 result = EntityGetLoadStatus(&handles[i], commandCode); [all...] |
H A D | PolicyAuthValue.c | 17 TPM_CC commandCode = TPM_CC_PolicyAuthValue; local 33 // add commandCode 34 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|
H A D | PolicyPassword.c | 17 TPM_CC commandCode = TPM_CC_PolicyAuthValue; local 33 // add commandCode 34 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|
H A D | Entity_fp.h | 21 TPM_CC commandCode // IN: the commmandCode
|
H A D | PolicyDuplicationSelect.c | 14 // TPM_RC_COMMAND_CODE commandCode of 'policySession; is not empty 24 TPM_CC commandCode = TPM_CC_PolicyDuplicationSelect; local 35 // commandCode in session context must be empty 36 if(session->commandCode != 0) 63 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); 81 // set commandCode in session context 82 session->commandCode = TPM_CC_Duplicate;
|
H A D | PolicyTicket.c | 29 TPM_CC commandCode = TPM_CC_PolicySecret; local 75 commandCode = TPM_CC_PolicySigned; 77 commandCode = TPM_CC_PolicySecret; 84 PolicyContextUpdate(commandCode, &in->authName, &in->policyRef,
|
H A D | Policy_spt_fp.h | 11 TPM_CC commandCode, // IN: command code
|
H A D | PolicyCpHash.c | 24 TPM_CC commandCode = TPM_CC_PolicyCpHash; local 54 // add commandCode 55 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|
H A D | PolicyNameHash.c | 24 TPM_CC commandCode = TPM_CC_PolicyNameHash; local 51 // add commandCode 52 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|
H A D | PolicyNvWritten.c | 23 TPM_CC commandCode = TPM_CC_PolicyNvWritten; local 55 // add commandCode 56 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|
H A D | SessionProcess.c | 210 TPM_CC commandCode, // IN: command code 214 AUTH_ROLE role = CommandAuthRole(commandCode, sessionIndex); 261 TPM_CC commandCode, // IN: commandCode 269 pAssert(!IsPolicySessionRequired(commandCode, sessionIndex)); 316 || (CommandAuthRole(commandCode, sessionIndex) == AUTH_ADMIN 327 if(IsWriteOperation(commandCode)) 367 TPM_CC commandCode, // IN: commandCode 425 if(IsPolicySessionRequired(commandCode, sessionInde 209 IsPolicySessionRequired( TPM_CC commandCode, UINT32 sessionIndex ) argument 259 IsAuthValueAvailable( TPM_HANDLE handle, TPM_CC commandCode, UINT32 sessionIndex ) argument 365 IsAuthPolicyAvailable( TPM_HANDLE handle, TPM_CC commandCode, UINT32 sessionIndex ) argument 463 ComputeCpHash( TPMI_ALG_HASH hashAlg, TPM_CC commandCode, UINT32 handleNum, TPM_HANDLE handles[], UINT32 parmBufferSize, BYTE *parmBuffer, TPM2B_DIGEST *cpHash, TPM2B_DIGEST *nameHash ) argument 726 CheckPolicyAuthSession( UINT32 sessionIndex, TPM_CC commandCode, TPM2B_DIGEST *cpHash, TPM2B_DIGEST *nameHash ) argument 868 RetrieveSessionData( TPM_CC commandCode, UINT32 *sessionCount, BYTE *sessionBuffer, INT32 bufferSize ) argument 1099 CheckAuthSession( TPM_CC commandCode, UINT32 sessionIndex, TPM2B_DIGEST *cpHash, TPM2B_DIGEST *nameHash ) argument 1202 CheckCommandAudit( TPM_CC commandCode, UINT32 handleNum, TPM_HANDLE handles[], BYTE *parmBufferStart, UINT32 parmBufferSize ) argument 1246 ParseSessionBuffer( TPM_CC commandCode, UINT32 handleNum, TPM_HANDLE handles[], BYTE *sessionBufferStart, UINT32 sessionBufferSize, BYTE *parmBufferStart, UINT32 parmBufferSize ) argument 1414 CheckAuthNoSession( TPM_CC commandCode, UINT32 handleNum, TPM_HANDLE handles[], BYTE *parmBufferStart, UINT32 parmBufferSize ) argument 1454 ComputeRpHash( TPM_ALG_ID hashAlg, TPM_CC commandCode, UINT32 resParmBufferSize, BYTE *resParmBuffer, TPM2B_DIGEST *rpHash ) argument 1506 Audit( SESSION *auditSession, TPM_CC commandCode, UINT32 resParmBufferSize, BYTE *resParmBuffer ) argument 1541 CommandAudit( TPM_CC commandCode, UINT32 resParmBufferSize, BYTE *resParmBuffer ) argument 1606 UpdateAuditSessionStatus( TPM_CC commandCode, UINT32 resParmBufferSize, BYTE *resParmBuffer ) argument 1673 ComputeResponseHMAC( UINT32 sessionIndex, SESSION *session, TPM_CC commandCode, TPM2B_NONCE *nonceTPM, UINT32 resParmBufferSize, BYTE *resParmBuffer, TPM2B_DIGEST *hmac ) argument 1742 BuildSingleResponseAuth( UINT32 sessionIndex, TPM_CC commandCode, UINT32 resParmBufferSize, BYTE *resParmBuffer, TPM2B_AUTH *auth ) argument 1855 BuildResponseSession( TPM_ST tag, TPM_CC commandCode, UINT32 resHandleSize, UINT32 resParmSize, UINT32 *resSessionSize ) argument [all...] |
H A D | PolicyLocality.c | 29 TPM_CC commandCode = TPM_CC_PolicyLocality; local 95 // add commandCode 96 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|
H A D | PolicyOR.c | 41 TPM_CC commandCode = TPM_CC_PolicyOR; local 52 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|
H A D | PolicyPCR.c | 28 TPM_CC commandCode = TPM_CC_PolicyPCR; local 70 // add commandCode 71 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|
H A D | Policy_spt.c | 80 TPM_CC commandCode, // IN: command code 96 // add commandCode 97 CryptUpdateDigestInt(&hashState, sizeof(commandCode), &commandCode); 79 PolicyContextUpdate( TPM_CC commandCode, TPM2B_NAME *name, TPM2B_NONCE *ref, TPM2B_DIGEST *cpHash, UINT64 policyTimeout, SESSION *session ) argument
|
H A D | PolicyCounterTimer.c | 27 TPM_CC commandCode = TPM_CC_PolicyCounterTimer; local 164 // add commandCode 165 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode);
|