Lines Matching refs:hashState
28 HASH_STATE hashState; in TPM2_PolicyCounterTimer() local
147 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCounterTimer()
149 CryptUpdateDigest2B(&hashState, &in->operandB.b); in TPM2_PolicyCounterTimer()
151 CryptUpdateDigestInt(&hashState, sizeof(UINT16), &in->offset); in TPM2_PolicyCounterTimer()
153 CryptUpdateDigestInt(&hashState, sizeof(TPM_EO), &in->operation); in TPM2_PolicyCounterTimer()
155 CryptCompleteHash2B(&hashState, &argHash.b); in TPM2_PolicyCounterTimer()
159 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCounterTimer()
162 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCounterTimer()
165 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyCounterTimer()
168 CryptUpdateDigest2B(&hashState, &argHash.b); in TPM2_PolicyCounterTimer()
171 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyCounterTimer()