Home
last modified time | relevance | path

Searched refs:cpHashA (Results 1 – 16 of 16) sorted by relevance

/external/tpm2/
DPolicyCpHash.c34 if( in->cpHashA.t.size != 0 in TPM2_PolicyCpHash()
36 && !Memory2BEqual(&in->cpHashA.b, &session->u1.cpHash.b) in TPM2_PolicyCpHash()
41 if(in->cpHashA.t.size != CryptGetHashDigestSize(session->authHashAlg)) in TPM2_PolicyCpHash()
58 CryptUpdateDigest2B(&hashState, &in->cpHashA.b); in TPM2_PolicyCpHash()
64 session->u1.cpHash = in->cpHashA; in TPM2_PolicyCpHash()
DPolicy_spt.c24 TPM2B_DIGEST *cpHashA, in PolicyParameterChecks() argument
58 if(cpHashA != NULL && cpHashA->t.size != 0) in PolicyParameterChecks()
61 if(cpHashA->t.size != session->u2.policyDigest.t.size) in PolicyParameterChecks()
66 && !Memory2BEqual(&cpHashA->b, &session->u1.cpHash.b)) in PolicyParameterChecks()
DPolicySigned.c54 &in->cpHashA, &in->nonceTPM, in TPM2_PolicySigned()
91 CryptUpdateDigest2B(&hashState, &in->cpHashA.b); in TPM2_PolicySigned()
112 &in->cpHashA, authTimeout, session); in TPM2_PolicySigned()
135 authTimeout, &in->cpHashA, &in->policyRef, &entityName, in TPM2_PolicySigned()
DPolicyTicket.c54 &in->cpHashA, NULL, in TPM2_PolicyTicket()
63 TicketComputeAuth(in->ticket.tag, in->ticket.hierarchy, timeout, &in->cpHashA, in TPM2_PolicyTicket()
85 &in->cpHashA, timeout, session); in TPM2_PolicyTicket()
DPolicySecret.c50 &in->cpHashA, &in->nonceTPM, in TPM2_PolicySecret()
65 &in->cpHashA, authTimeout, session); in TPM2_PolicySecret()
88 authTimeout, &in->cpHashA, &in->policyRef, in TPM2_PolicySecret()
DTicket.c90 TPM2B_DIGEST *cpHashA, // IN: input cpHashA in TicketComputeAuth() argument
111 CryptUpdateDigest2B(&hmacState, &cpHashA->b); in TicketComputeAuth()
DPolicy_spt_fp.h19 TPM2B_DIGEST *cpHashA, TPM2B_NONCE *nonce,
DPolicyCpHash_fp.h14 TPM2B_DIGEST cpHashA; member
DPolicyTicket_fp.h15 TPM2B_DIGEST cpHashA; member
DTicket_fp.h14 TPM2B_DIGEST *cpHashA, // IN: input cpHashA
DPolicySecret_fp.h16 TPM2B_DIGEST cpHashA; member
DPolicySigned_fp.h16 TPM2B_DIGEST cpHashA; member
DMarshal_PolicyCpHash.c18 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size); in PolicyCpHash_In_Unmarshal()
DMarshal_PolicyTicket.c22 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size); in PolicyTicket_In_Unmarshal()
DMarshal_PolicySecret.c51 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size); in PolicySecret_In_Unmarshal()
DMarshal_PolicySigned.c51 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size); in PolicySigned_In_Unmarshal()