Home
last modified time | relevance | path

Searched refs:policyDigest (Results 1 – 21 of 21) sorted by relevance

/external/tpm2/
DPolicyOR.c35 || (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()
DPolicy_spt.c61 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()
DPolicyDuplicationSelect.c56 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()
DPolicyAuthorize.c54 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()
DPolicyGetDigest.c23 out->policyDigest = session->u2.policyDigest; in TPM2_PolicyGetDigest()
DPolicyPhysicalPresence.c30 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPhysicalPresence()
36 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPhysicalPresence()
DPolicyAuthValue.c31 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyAuthValue()
37 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyAuthValue()
DPolicyPassword.c31 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPassword()
37 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPassword()
DPolicyCommandCode.c42 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCommandCode()
51 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCommandCode()
DPolicyNvWritten.c53 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNvWritten()
62 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNvWritten()
DPolicyNameHash.c49 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNameHash()
58 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNameHash()
DPolicyCpHash.c52 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCpHash()
61 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCpHash()
DPolicyLocality.c93 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyLocality()
102 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyLocality()
DPolicyPCR.c68 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPCR()
83 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyPCR()
DPolicyCounterTimer.c162 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCounterTimer()
171 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCounterTimer()
DPolicyNV.c173 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNV()
186 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNV()
DPolicyGetDigest_fp.h14 typedef struct { TPM2B_DIGEST policyDigest; } PolicyGetDigest_Out; member
DSession.c649 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()
DMarshal_PolicyGetDigest.c27 total_size += TPM2B_DIGEST_Marshal(&source->policyDigest, buffer, size); in PolicyGetDigest_Out_Marshal()
DGlobal.h355 TPM2B_DIGEST policyDigest; // policyHash member
DSessionProcess.c754 if(!Memory2BEqual(&session->u2.policyDigest.b, &authPolicy.b)) in CheckPolicyAuthSession()