Lines Matching refs:hashState
23 HASH_STATE hashState; in TPM2_PolicyDuplicationSelect() local
42 session->u1.cpHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyDuplicationSelect()
45 CryptUpdateDigest2B(&hashState, &in->objectName.b); in TPM2_PolicyDuplicationSelect()
48 CryptUpdateDigest2B(&hashState, &in->newParentName.b); in TPM2_PolicyDuplicationSelect()
51 CryptCompleteHash2B(&hashState, &session->u1.cpHash.b); in TPM2_PolicyDuplicationSelect()
57 = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyDuplicationSelect()
60 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyDuplicationSelect()
63 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyDuplicationSelect()
67 CryptUpdateDigest2B(&hashState, &in->objectName.b); in TPM2_PolicyDuplicationSelect()
70 CryptUpdateDigest2B(&hashState, &in->newParentName.b); in TPM2_PolicyDuplicationSelect()
73 CryptUpdateDigestInt(&hashState, sizeof(TPMI_YES_NO), &in->includeObject); in TPM2_PolicyDuplicationSelect()
76 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyDuplicationSelect()