Searched defs:cpHash (Results 1 - 3 of 3) sorted by relevance
/external/tpm2/ |
H A D | Policy_spt.c | 57 // If the cpHash is present, then check it 60 // The cpHash input has to have the correct size 63 // If the cpHash has already been set, then this input value 65 if( session->u1.cpHash.b.size != 0 66 && !Memory2BEqual(&cpHashA->b, &session->u1.cpHash.b)) 76 // it. This will also update the cpHash if it is present. 83 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional) 112 // Deal with the cpHash. If the cpHash valu 79 PolicyContextUpdate( TPM_CC commandCode, TPM2B_NAME *name, TPM2B_NONCE *ref, TPM2B_DIGEST *cpHash, UINT64 policyTimeout, SESSION *session ) argument [all...] |
H A D | SessionProcess.c | 460 // This function computes the cpHash as defined in Part 2 and described in Part 1. 470 TPM2B_DIGEST *cpHash, // OUT: cpHash 478 // cpHash = hash(commandCode [ || authName1 482 // A cpHash can contain just a commandCode only if the lone session is 484 // Start cpHash. 485 cpHash->t.size = CryptStartHash(hashAlg, &hashState); 497 CryptCompleteHash2B(&hashState, &cpHash->b); 558 TPM2B_DIGEST *cpHash, // IN: cpHash 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 556 ComputeCommandHMAC( UINT32 sessionIndex, TPM2B_DIGEST *cpHash, TPM2B_DIGEST *hmac ) argument 726 CheckPolicyAuthSession( UINT32 sessionIndex, TPM_CC commandCode, TPM2B_DIGEST *cpHash, TPM2B_DIGEST *nameHash ) argument 1099 CheckAuthSession( TPM_CC commandCode, UINT32 sessionIndex, TPM2B_DIGEST *cpHash, TPM2B_DIGEST *nameHash ) argument 1262 TPM2B_DIGEST cpHash; local [all...] |
H A D | Global.h | 263 unsigned iscpHashDefined : 1;//4) SET if the cpHash has been defined 342 TPM2B_DIGEST cpHash; // the required cpHash value for the member in union:__anon18147::__anon18148 344 } u1; // 'boundEntity' and 'cpHash' may 893 // TPM will extend the cpHash and rpHash for the command to this value. If this 894 // digest was the Zero Digest before the cpHash was extended, the audit counter 998 // The cpHash for an audit session 1002 // The cpHash for command audit
|
Completed in 68 milliseconds