Home
last modified time | relevance | path

Searched refs:cpHashA (Results 1 – 21 of 21) 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
DPolicySigned_fp.h16 TPM2B_DIGEST cpHashA; member
DPolicySecret_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()
Dpart3.txt10520 d) cpHashA – If this parameter is not an Empty Buffer
10527 policySession→cpHash are not the same as cpHashA; or
10531 …2) the TPM shall return TPM_RC_SIZE if cpHashA is not the same …
10636 … HMAC(proof, HpolicyAlg(ticketType || timeout || cpHashA || policyRef || authObject→Name)) (12)
10659 cpHashA the command parameter digest for the command being
10684 …thorizing entity will sign a digest of the authorization qualifiers: nonceTPM, expiration, cpHashA,
10686 … aHash ≔ HauthAlg(nonceTPM || expiration || cpHashA || policyRef) (13)
10703 cpHashA digest of the command parameters for the command being
10772 TPM2B_DIGEST cpHashA This is not the cpHash for this command but the cpHash
10864 32 &in->cpHashA, &in->nonceTPM,
[all …]
Dpart4.txt6422 common parameters are nonceTPM, expiration, and cpHashA.
6428 10 TPM2B_DIGEST *cpHashA,
6470 46 if(cpHashA != NULL && cpHashA->t.size != 0)
6473 49 if(cpHashA->t.size != session->u2.policyDigest.t.size)
6479 55 && !Memory2BEqual(&cpHashA->b, &session->u1.cpHash.b))
23806 64 TPM2B_DIGEST *cpHashA, // IN: input cpHashA
23838 91 CryptUpdateDigest2B(&hmacState, &cpHashA->b);
/external/tpm2/generator/
Draw_commands.txt18737 d) cpHashA – If this parameter is not an Empty Buffer
18745 value or the contents of policySession→cpHash are not the same as cpHashA; or
18759 cpHashA
18933 HMAC(proof, HpolicyAlg(ticketType || timeout || cpHashA || policyRef || authObject→Name)) (12)
18977 cpHashA
19016 …thorizing object will sign a digest of the authorization qualifiers: nonceTPM, expiration, cpHashA,
19019 aHash ≔ HauthAlg(nonceTPM || expiration || cpHashA || policyRef)
19043 cpHashA
19093 If the cpHashA parameter is not an Empty Buffer, it is copied to policySession→cpHash.
19152 cpHashA
[all …]
Draw_commands_fixed.txt18748 d) cpHashA – If this parameter is not an Empty Buffer
18756 value or the contents of policySession→cpHash are not the same as cpHashA; or
18770 cpHashA
18944 HMAC(proof, HpolicyAlg(ticketType || timeout || cpHashA || policyRef || authObject→Name)) (12)
18988 cpHashA
19027 …thorizing object will sign a digest of the authorization qualifiers: nonceTPM, expiration, cpHashA,
19030 aHash ≔ HauthAlg(nonceTPM || expiration || cpHashA || policyRef)
19054 cpHashA
19104 If the cpHashA parameter is not an Empty Buffer, it is copied to policySession→cpHash.
19165 cpHashA
[all …]
Dcommands.txt1524 _NAME cpHashA
1567 _NAME cpHashA
1605 _NAME cpHashA
1811 _NAME cpHashA