Home
last modified time | relevance | path

Searched refs:cpHash (Results 1 – 8 of 8) sorted by relevance

/external/tpm2/
DPolicy_spt.c65 if( session->u1.cpHash.b.size != 0 in PolicyParameterChecks()
66 && !Memory2BEqual(&cpHashA->b, &session->u1.cpHash.b)) in PolicyParameterChecks()
83 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional) in PolicyContextUpdate() argument
116 if(cpHash != NULL && cpHash->t.size != 0) in PolicyContextUpdate()
118 session->u1.cpHash = *cpHash; in PolicyContextUpdate()
DPolicyCpHash.c35 && session->u1.cpHash.t.size != 0 in TPM2_PolicyCpHash()
36 && !Memory2BEqual(&in->cpHashA.b, &session->u1.cpHash.b) in TPM2_PolicyCpHash()
64 session->u1.cpHash = in->cpHashA; in TPM2_PolicyCpHash()
DSessionProcess.c470 TPM2B_DIGEST *cpHash, // OUT: cpHash in ComputeCpHash() argument
485 cpHash->t.size = CryptStartHash(hashAlg, &hashState); in ComputeCpHash()
497 CryptCompleteHash2B(&hashState, &cpHash->b); in ComputeCpHash()
558 TPM2B_DIGEST *cpHash, // IN: cpHash in ComputeCommandHMAC() argument
644 CryptUpdateDigest2B(&hmacState, &cpHash->b); in ComputeCommandHMAC()
683 TPM2B_DIGEST *cpHash // IN: cpHash of the command in CheckSessionHMAC() argument
688 ComputeCommandHMAC(sessionIndex, cpHash, &hmac); in CheckSessionHMAC()
729 TPM2B_DIGEST *cpHash, // IN: cpHash using the algorithm of this in CheckPolicyAuthSession() argument
823 if(session->u1.cpHash.b.size != 0) in CheckPolicyAuthSession()
828 if(!Memory2BEqual(&session->u1.cpHash.b, &cpHash->b)) in CheckPolicyAuthSession()
[all …]
DPolicyDuplicationSelect.c32 if(session->u1.cpHash.t.size != 0) in TPM2_PolicyDuplicationSelect()
42 session->u1.cpHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyDuplicationSelect()
51 CryptCompleteHash2B(&hashState, &session->u1.cpHash.b); in TPM2_PolicyDuplicationSelect()
DPolicyNameHash.c34 if(in->nameHash.t.size != 0 && session->u1.cpHash.t.size != 0) in TPM2_PolicyNameHash()
64 session->u1.cpHash = in->nameHash; in TPM2_PolicyNameHash()
DPolicy_spt_fp.h14 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional)
DGlobal.h348 TPM2B_DIGEST cpHash; // the required cpHash value for the member
DSession.c667 session->u1.cpHash.b.size = 0; in SessionResetPolicyData()