HomeSort by relevance Sort by last modified time
    Searched refs:cpHashA (Results 1 - 16 of 16) sorted by null

  /external/tpm2/
PolicyCpHash.c 15 // TPM_RC_SIZE cpHashA is not the size of a digest produced by the hash algorithm
34 if( in->cpHashA.t.size != 0
36 && !Memory2BEqual(&in->cpHashA.b, &session->u1.cpHash.b)
41 if(in->cpHashA.t.size != CryptGetHashDigestSize(session->authHashAlg))
47 // policyDigestnew = hash(policyDigestold || TPM_CC_PolicyCpHash || cpHashA)
57 // add cpHashA
58 CryptUpdateDigest2B(&hashState, &in->cpHashA.b);
64 session->u1.cpHash = in->cpHashA;
Policy_spt_fp.h 19 TPM2B_DIGEST *cpHashA, TPM2B_NONCE *nonce,
PolicyCpHash_fp.h 14 TPM2B_DIGEST cpHashA;
PolicySigned.c 54 &in->cpHashA, &in->nonceTPM,
64 // aHash := hash ( nonceTPM | expiration | cpHashA | policyRef)
73 // cpHashA hash of the command parameters for the command being
90 // add cpHashA
91 CryptUpdateDigest2B(&hashState, &in->cpHashA.b);
112 &in->cpHashA, authTimeout, session);
135 authTimeout, &in->cpHashA, &in->policyRef, &entityName,
PolicySecret.c 16 // as cpHashA
19 // TPM_RC_SIZE cpHashA is not the size of a digest for the hash associated with
50 &in->cpHashA, &in->nonceTPM,
65 &in->cpHashA, authTimeout, session);
88 authTimeout, &in->cpHashA, &in->policyRef,
PolicyTicket.c 52 // Do the normal checks on the cpHashA and timeout values
54 &in->cpHashA, NULL,
63 TicketComputeAuth(in->ticket.tag, in->ticket.hierarchy, timeout, &in->cpHashA,
85 &in->cpHashA, timeout, session);
Policy_spt.c 18 // common parameters are nonceTPM, expiration, and cpHashA.
24 TPM2B_DIGEST *cpHashA,
58 if(cpHashA != NULL && cpHashA->t.size != 0)
61 if(cpHashA->t.size != session->u2.policyDigest.t.size)
66 && !Memory2BEqual(&cpHashA->b, &session->u1.cpHash.b))
PolicyTicket_fp.h 15 TPM2B_DIGEST cpHashA;
Ticket_fp.h 14 TPM2B_DIGEST *cpHashA, // IN: input cpHashA
PolicySecret_fp.h 16 TPM2B_DIGEST cpHashA;
PolicySigned_fp.h 16 TPM2B_DIGEST cpHashA;
Marshal_PolicyCpHash.c 18 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size);
Marshal_PolicyTicket.c 22 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size);
Ticket.c 90 TPM2B_DIGEST *cpHashA, // IN: input cpHashA
111 CryptUpdateDigest2B(&hmacState, &cpHashA->b);
Marshal_PolicySecret.c 51 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size);
Marshal_PolicySigned.c 51 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size);

Completed in 336 milliseconds