HomeSort by relevance Sort by last modified time
    Searched full:policydigest (Results 1 - 25 of 29) sorted by null

1 2

  /external/tpm2/
PolicyOR.c 15 // TPM_RC_VALUE no digest in pHashList matched the current value of policyDigest for
35 || (Memory2BEqual(&session->u2.policyDigest.b,
44 session->u2.policyDigest.t.size = CryptStartHash(session->authHashAlg,
46 // Set policyDigest to 0 string and add it to hash
47 MemorySet(session->u2.policyDigest.t.buffer, 0,
48 session->u2.policyDigest.t.size);
49 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
57 // Extend policyDigest
61 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
66 // None of the values in the list matched the current policyDigest
    [all...]
PolicyGetDigest.c 23 out->policyDigest = session->u2.policyDigest;
PolicyAuthorize.c 17 // TPM_RC_VALUE the current policyDigest of policySession does not match
53 // policyDigest in policy session
54 if(!Memory2BEqual(&session->u2.policyDigest.b,
84 // Set policyDigest to zero digest
85 MemorySet(session->u2.policyDigest.t.buffer, 0,
86 session->u2.policyDigest.t.size);
88 // Update policyDigest
PolicyDuplicationSelect.c 54 // Old policyDigest size should be the same as the new policyDigest size since
56 session->u2.policyDigest.t.size
60 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
76 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyAuthValue.c 31 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
37 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyPassword.c 31 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
37 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyPhysicalPresence.c 30 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
36 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
Policy_spt.c 61 if(cpHashA->t.size != session->u2.policyDigest.t.size)
75 // Update policy hash Update the policyDigest in policy session by extending policyRef and objectName to
92 // policyDigest size should always be the digest size of session hash algorithm.
93 pAssert(session->u2.policyDigest.t.size == policyDigestSize);
95 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
102 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
105 // add policyDigest
106 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
111 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyCommandCode.c 42 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
51 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyNvWritten.c 53 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
62 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyCpHash.c 52 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
61 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyNameHash.c 49 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
58 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyLocality.c 93 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
102 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyPCR.c 68 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
83 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PCR_SetAuthPolicy.c 14 // TPM_RC_SIZE size of authPolicy is not the size of a digest produced by policyDigest
PolicyGetDigest_fp.h 14 typedef struct { TPM2B_DIGEST policyDigest; } PolicyGetDigest_Out;
Marshal_PolicyGetDigest.c 27 total_size += TPM2B_DIGEST_Marshal(&source->policyDigest, buffer, size);
PolicyCounterTimer.c 157 // update policyDigest
162 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
171 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
PolicyNV.c 168 // Update policyDigest
173 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b);
186 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b);
Session.c 646 // Initialize policyDigest. policyDigest is initialized with a string of 0 of
649 session->u2.policyDigest.t.size = CryptGetHashDigestSize(session->authHashAlg);
673 MemorySet(&session->u2.policyDigest.t.buffer, 0,
674 session->u2.policyDigest.t.size);
    [all...]
SessionProcess.c 705 // a) compare policyDigest in session with authPolicy associated with the entity to be authorized;
754 if(!Memory2BEqual(&session->u2.policyDigest.b, &authPolicy.b))
    [all...]
Global.h 349 TPM2B_DIGEST policyDigest; // policyHash
    [all...]
  /system/tpm/trunks/
policy_session.h 56 // This method is used to get the current PolicyDigest of the PolicySession.
  /external/tpm2/generator/
commands.txt     [all...]
raw_commands.txt     [all...]

Completed in 713 milliseconds

1 2