/external/tpm2/ |
D | PolicyOR.c | 35 || (Memory2BEqual(&session->u2.policyDigest.b, in TPM2_PolicyOR() 44 session->u2.policyDigest.t.size = CryptStartHash(session->authHashAlg, in TPM2_PolicyOR() 47 MemorySet(session->u2.policyDigest.t.buffer, 0, in TPM2_PolicyOR() 48 session->u2.policyDigest.t.size); in TPM2_PolicyOR() 49 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyOR() 61 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyOR()
|
D | Policy_spt.c | 61 if(cpHashA->t.size != session->u2.policyDigest.t.size) in PolicyParameterChecks() 93 pAssert(session->u2.policyDigest.t.size == policyDigestSize); in PolicyContextUpdate() 95 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in PolicyContextUpdate() 102 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in PolicyContextUpdate() 106 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in PolicyContextUpdate() 111 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in PolicyContextUpdate()
|
D | PolicyDuplicationSelect.c | 56 session->u2.policyDigest.t.size in TPM2_PolicyDuplicationSelect() 60 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyDuplicationSelect() 76 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyDuplicationSelect()
|
D | PolicyAuthorize.c | 54 if(!Memory2BEqual(&session->u2.policyDigest.b, in TPM2_PolicyAuthorize() 85 MemorySet(session->u2.policyDigest.t.buffer, 0, in TPM2_PolicyAuthorize() 86 session->u2.policyDigest.t.size); in TPM2_PolicyAuthorize()
|
D | PolicyGetDigest.c | 23 out->policyDigest = session->u2.policyDigest; in TPM2_PolicyGetDigest()
|
D | PolicyPhysicalPresence.c | 30 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPhysicalPresence() 36 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPhysicalPresence()
|
D | PolicyAuthValue.c | 31 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyAuthValue() 37 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyAuthValue()
|
D | PolicyPassword.c | 31 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPassword() 37 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPassword()
|
D | PolicyCommandCode.c | 42 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCommandCode() 51 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCommandCode()
|
D | PolicyNvWritten.c | 53 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNvWritten() 62 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNvWritten()
|
D | PolicyNameHash.c | 49 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNameHash() 58 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNameHash()
|
D | PolicyCpHash.c | 52 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCpHash() 61 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCpHash()
|
D | PolicyLocality.c | 93 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyLocality() 102 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyLocality()
|
D | PolicyPCR.c | 68 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPCR() 83 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPCR()
|
D | PolicyCounterTimer.c | 162 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCounterTimer() 171 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCounterTimer()
|
D | PolicyNV.c | 173 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNV() 186 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNV()
|
D | PolicyGetDigest_fp.h | 14 typedef struct { TPM2B_DIGEST policyDigest; } PolicyGetDigest_Out; member
|
D | Session.c | 649 session->u2.policyDigest.t.size = CryptGetHashDigestSize(session->authHashAlg); in SessionInitPolicyData() 673 MemorySet(&session->u2.policyDigest.t.buffer, 0, in SessionResetPolicyData() 674 session->u2.policyDigest.t.size); in SessionResetPolicyData()
|
D | Marshal_PolicyGetDigest.c | 27 total_size += TPM2B_DIGEST_Marshal(&source->policyDigest, buffer, size); in PolicyGetDigest_Out_Marshal()
|
D | Global.h | 355 TPM2B_DIGEST policyDigest; // policyHash member
|
D | SessionProcess.c | 754 if(!Memory2BEqual(&session->u2.policyDigest.b, &authPolicy.b)) in CheckPolicyAuthSession()
|