Home
last modified time | relevance | path

Searched refs:nameHash (Results 1 – 10 of 10) sorted by relevance

/external/tpm2/
DPolicyNameHash.c34 if(in->nameHash.t.size != 0 && session->u1.cpHash.t.size != 0) in TPM2_PolicyNameHash()
38 if(in->nameHash.t.size != CryptGetHashDigestSize(session->authHashAlg)) in TPM2_PolicyNameHash()
55 CryptUpdateDigest2B(&hashState, &in->nameHash.b); in TPM2_PolicyNameHash()
64 session->u1.cpHash = in->nameHash; in TPM2_PolicyNameHash()
DSessionProcess.c471 TPM2B_DIGEST *nameHash // OUT: name hash of command in ComputeCpHash() argument
499 if(nameHash != NULL) in ComputeCpHash()
502 nameHash->t.size = CryptStartHash(hashAlg, &hashState); in ComputeCpHash()
510 CryptCompleteHash2B(&hashState, &nameHash->b); in ComputeCpHash()
731 TPM2B_DIGEST *nameHash // IN: nameHash using the session algorithm in CheckPolicyAuthSession() argument
835 if(!Memory2BEqual(&session->u1.cpHash.b, &nameHash->b)) in CheckPolicyAuthSession()
1103 TPM2B_DIGEST *nameHash // IN: nameHash in CheckAuthSession() argument
1162 cpHash, nameHash); in CheckAuthSession()
1263 TPM2B_DIGEST nameHash; in ParseSessionBuffer() local
1327 &cpHash, &nameHash); in ParseSessionBuffer()
[all …]
DPolicyNameHash_fp.h14 TPM2B_DIGEST nameHash; member
DMarshal_PolicyNameHash.c18 result = TPM2B_DIGEST_Unmarshal(&target->nameHash, buffer, size); in PolicyNameHash_In_Unmarshal()
Dpart3.txt4054 policySession→nameHash is compared to
4058 NOTE 2 It is allowed that policySesion→nameHash and policySession→cpHash share the same me…
12868 The nameHash parameter should contain the digest of the Names associated with the handles to be used
12872 … being duplicated and the other is the handle of the new parent. For that command, nameHash would
12874 nameHash ≔ H policyAlg (objectHandle→Name || newParentHandle→Name)
12876 If policySession→cpHash is already set, the TPM shall return TPM_RC_VALUE. If the size of nameHash
12878 policySession→cpHash is set to nameHash.
12883 policySession→nameHash instead.
12886 …policyDigestnew ≔ HpolicyAlg(policyDigestold || TPM_CC_PolicyNameHash || nameHash) …
12914 TPM2B_DIGEST nameHash the digest to be added to the policy
[all …]
Dpart4.txt4243 384 TPM2B_DIGEST *nameHash // OUT: name hash of command
4282 417 // If the nameHash is needed, compute it here.
4283 418 if(nameHash != NULL)
4286 421 nameHash->t.size = CryptStartHash(hashAlg, &hashState);
4295 430 CryptCompleteHash2B(&hashState, &nameHash->b);
4555 609 TPM2B_DIGEST *nameHash // IN: nameHash using the session algorithm
4662 711 // Compare cpHash/nameHash if defined, or if the command requires an ADMIN or
4679 723 // Compare nameHash.
4680 724 // When cpHash is not defined, nameHash is placed in its space.
4681 725 if(!Memory2BEqual(&session->u1.cpHash.b, &nameHash->b))
[all …]
/external/tpm2/generator/
Draw_commands.txt6772 policySession→nameHash is compared to
6796 It is allowed that policySesion→nameHash and policySession→cpHash share the same memory
23188 The nameHash parameter should contain the digest of the Names associated with the handles to be used
23193 being duplicated and the other is the handle of the new parent. For that command, nameHash would
23196 nameHash ≔ H policyAlg (objectHandle→Name || newParentHandle→Name)
23198 If policySession→cpHash is already set, the TPM shall return TPM_RC_VALUE. If the size of nameHash
23200 policySession→cpHash is set to nameHash.
23206 policySession→nameHash instead.
23226 policyDigestnew ≔ HpolicyAlg(policyDigestold || TPM_CC_PolicyNameHash || nameHash)
23281 nameHash
[all …]
Draw_commands_fixed.txt6776 policySession→nameHash is compared to
6800 It is allowed that policySesion→nameHash and policySession→cpHash share the same memory
23199 The nameHash parameter should contain the digest of the Names associated with the handles to be used
23204 being duplicated and the other is the handle of the new parent. For that command, nameHash would
23207 nameHash ≔ H policyAlg (objectHandle→Name || newParentHandle→Name)
23209 If policySession→cpHash is already set, the TPM shall return TPM_RC_VALUE. If the size of nameHash
23211 policySession→cpHash is set to nameHash.
23217 policySession→nameHash instead.
23237 policyDigestnew ≔ HpolicyAlg(policyDigestold || TPM_CC_PolicyNameHash || nameHash)
23292 nameHash
[all …]
Dcommands.txt1834 _NAME nameHash
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_objectacc_imp.cpp1949 FX_DWORD nameHash = in SetSelectedMember() local
1954 if (pNode->GetNameHash() == nameHash) { in SetSelectedMember()