Lines Matching refs:hashState
53 HASH_STATE hashState; in TPM2_PolicyDuplicationSelect() local
72 session->u1.cpHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyDuplicationSelect()
75 CryptDigestUpdate2B(&hashState, &in->objectName.b); in TPM2_PolicyDuplicationSelect()
78 CryptDigestUpdate2B(&hashState, &in->newParentName.b); in TPM2_PolicyDuplicationSelect()
81 CryptHashEnd2B(&hashState, &session->u1.cpHash.b); in TPM2_PolicyDuplicationSelect()
87 = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyDuplicationSelect()
89 CryptDigestUpdate2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyDuplicationSelect()
92 CryptDigestUpdateInt(&hashState, sizeof(TPM_CC), commandCode); in TPM2_PolicyDuplicationSelect()
96 CryptDigestUpdate2B(&hashState, &in->objectName.b); in TPM2_PolicyDuplicationSelect()
99 CryptDigestUpdate2B(&hashState, &in->newParentName.b); in TPM2_PolicyDuplicationSelect()
102 CryptDigestUpdateInt(&hashState, sizeof(TPMI_YES_NO), in->includeObject); in TPM2_PolicyDuplicationSelect()
105 CryptHashEnd2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyDuplicationSelect()