Searched refs:cpHash (Results 1 – 8 of 8) sorted by relevance
/external/tpm2/ |
D | Policy_spt.c | 65 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()
|
D | PolicyCpHash.c | 35 && 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()
|
D | SessionProcess.c | 470 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 …]
|
D | PolicyDuplicationSelect.c | 32 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()
|
D | PolicyNameHash.c | 34 if(in->nameHash.t.size != 0 && session->u1.cpHash.t.size != 0) in TPM2_PolicyNameHash() 64 session->u1.cpHash = in->nameHash; in TPM2_PolicyNameHash()
|
D | Policy_spt_fp.h | 14 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional)
|
D | Global.h | 348 TPM2B_DIGEST cpHash; // the required cpHash value for the member
|
D | Session.c | 667 session->u1.cpHash.b.size = 0; in SessionResetPolicyData()
|