Lines Matching refs:nameHash

6772 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
23330 nameHash has been previously set to a different value
23387 nameHash is not the size of the digest produced by the hash
23412 // A new nameHash is given in input parameter, but cpHash in session context
23414 if(in->nameHash.t.size != 0 && session->u1.cpHash.t.size != 0)
23416 // A valid nameHash must have the same size as session hash digest
23417 if(in->nameHash.t.size != CryptGetHashDigestSize(session->authHashAlg))
23421 // policyDigestnew = hash(policyDigestold || TPM_CC_PolicyNameHash || nameHash)
23428 // add nameHash
23429 CryptUpdateDigest2B(&hashState, &in->nameHash.b);
23432 // clear iscpHashDefined bit to indicate now this field contains a nameHash
23434 // update nameHash in session context
23435 session->u1.cpHash = in->nameHash;
23480 If either policySession→cpHash or policySession→nameHash has been previously set, the TPM shall
23481 return TPM_RC_CPHASH. Otherwise, policySession→nameHash will be set to:
23483 nameHash ≔ HpolicyAlg(objectName || newParentName)
23487 It is allowed that policySesion→nameHash and policySession→cpHash share the same memory
23773 // clear iscpHashDefined bit to indicate now this field contains a nameHash