Home
last modified time | relevance | path

Searched refs:cpHash (Results 1 – 15 of 15) sorted by relevance

/external/tpm2/
DPolicy_spt.c65 if( session->u1.cpHash.b.size != 0 in PolicyParameterChecks()
66 && !Memory2BEqual(&cpHashA->b, &session->u1.cpHash.b)) in PolicyParameterChecks()
83 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional) in PolicyContextUpdate() argument
116 if(cpHash != NULL && cpHash->t.size != 0) in PolicyContextUpdate()
118 session->u1.cpHash = *cpHash; in PolicyContextUpdate()
DPolicyCpHash.c35 && session->u1.cpHash.t.size != 0 in TPM2_PolicyCpHash()
36 && !Memory2BEqual(&in->cpHashA.b, &session->u1.cpHash.b) in TPM2_PolicyCpHash()
64 session->u1.cpHash = in->cpHashA; in TPM2_PolicyCpHash()
DSessionProcess.c470 TPM2B_DIGEST *cpHash, // OUT: cpHash in ComputeCpHash() argument
485 cpHash->t.size = CryptStartHash(hashAlg, &hashState); in ComputeCpHash()
497 CryptCompleteHash2B(&hashState, &cpHash->b); in ComputeCpHash()
558 TPM2B_DIGEST *cpHash, // IN: cpHash in ComputeCommandHMAC() argument
644 CryptUpdateDigest2B(&hmacState, &cpHash->b); in ComputeCommandHMAC()
683 TPM2B_DIGEST *cpHash // IN: cpHash of the command in CheckSessionHMAC() argument
688 ComputeCommandHMAC(sessionIndex, cpHash, &hmac); in CheckSessionHMAC()
729 TPM2B_DIGEST *cpHash, // IN: cpHash using the algorithm of this in CheckPolicyAuthSession() argument
823 if(session->u1.cpHash.b.size != 0) in CheckPolicyAuthSession()
828 if(!Memory2BEqual(&session->u1.cpHash.b, &cpHash->b)) in CheckPolicyAuthSession()
[all …]
DPolicyDuplicationSelect.c32 if(session->u1.cpHash.t.size != 0) in TPM2_PolicyDuplicationSelect()
42 session->u1.cpHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyDuplicationSelect()
51 CryptCompleteHash2B(&hashState, &session->u1.cpHash.b); in TPM2_PolicyDuplicationSelect()
DPolicyNameHash.c34 if(in->nameHash.t.size != 0 && session->u1.cpHash.t.size != 0) in TPM2_PolicyNameHash()
64 session->u1.cpHash = in->nameHash; in TPM2_PolicyNameHash()
DPolicy_spt_fp.h14 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional)
DGlobal.h342 TPM2B_DIGEST cpHash; // the required cpHash value for the member
DSession.c667 session->u1.cpHash.b.size = 0; in SessionResetPolicyData()
Dpart3.txt954 2) if policySession→cpHash has been set, it shall match the cpHash of the command
1098 cpHash of the command and rpHash of the response.
3370 … would not be possible to include the Name associated with objectHandle in the cpHash computation.
4050 The policy is likely to include cpHash in order to restrict where duplication can occur. If
4051 TPM2_PolicyCpHash() has been executed as part of the policy, the policySession→cpHash is compared
4052 to the cpHash of the command.
4058 NOTE 2 It is allowed that policySesion→nameHash and policySession→cpHash share the same me…
6734 authorization or audit of this command requires computation of a cpHash and an rpHash, the Name
6897 authorization or audit of this command requires computation of a cpHash and an rpHash, the Name
7080 authorization or audit of this command requires computation of a cpHash and an rpHash, the Name
[all …]
Dpart4.txt1843 134 unsigned iscpHashDefined : 1;//4) SET if the cpHash has been defi…
1937 209 TPM2B_DIGEST cpHash; // the required cpHash value for the
1940 212 } u1; // 'boundEntity' and 'cpHash' may
2588 595 // TPM will extend the cpHash and rpHash for the command to this value. If this
2589 596 // digest was the Zero Digest before the cpHash was extended, the audit counter
2713 The cpHash for an audit session
2717 The cpHash for command audit
4232 This function computes the cpHash as defined in Part 2 and described in Part 1.
4242 383 TPM2B_DIGEST *cpHash, // OUT: cpHash
4256 391 // cpHash = hash(commandCode [ || authName1
[all …]
/external/tpm2/generator/
Draw_commands_fixed.txt1492 2) if policySession→cpHash has been set, it shall match the cpHash of the command
1725 cpHash of the command and rpHash of the response.
5517 would not be possible to include the Name associated with objectHandle in the cpHash computation.
6771 The policy is likely to include cpHash in order to restrict where duplication can occur.
6773 TPM2_PolicyCpHash() has been executed as part of the policy, the policySession→cpHash is compared
6774 to the cpHash of the command.
6800 It is allowed that policySesion→nameHash and policySession→cpHash share the same memory
11821 authorization or audit of this command requires computation of a cpHash and an rpHash, the Name
12108 authorization or audit of this command requires computation of a cpHash and an rpHash, the Name
12451 authorization or audit of this command requires computation of a cpHash and an rpHash, the Name
[all …]
Draw_commands.txt1492 2) if policySession→cpHash has been set, it shall match the cpHash of the command
1725 cpHash of the command and rpHash of the response.
5515 would not be possible to include the Name associated with objectHandle in the cpHash computation.
6767 The policy is likely to include cpHash in order to restrict where duplication can occur.
6769 TPM2_PolicyCpHash() has been executed as part of the policy, the policySession→cpHash is compared
6770 to the cpHash of the command.
6796 It is allowed that policySesion→nameHash and policySession→cpHash share the same memory
11810 authorization or audit of this command requires computation of a cpHash and an rpHash, the Name
12097 authorization or audit of this command requires computation of a cpHash and an rpHash, the Name
12440 authorization or audit of this command requires computation of a cpHash and an rpHash, the Name
[all …]
Dcommands.txt1525 …s to which this authorization is limited This is not the cpHash for this command but the cpHash fo…
1568 …ters to which this authorization is limited This not the cpHash for this command but the cpHash fo…
1812 _COMMENT the cpHash added to the policy
Draw_structures_fixed.txt4928 cpHash value already set or not correct for use
10649 occurs in cpHash and policyHash computations.
11110 HMACcontextAlg(proof, (TPM_ST_AUTH_xxx || timeout || cpHash || policyRef || keyName))
11134 cpHash
Draw_structures.txt4937 cpHash value already set or not correct for use
10636 occurs in cpHash and policyHash computations.
11097 HMACcontextAlg(proof, (TPM_ST_AUTH_xxx || timeout || cpHash || policyRef || keyName))
11121 cpHash