Lines Matching refs:hashState
34 HASH_STATE hashState; in TPM2_PolicyNV() local
154 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNV()
157 CryptUpdateDigest2B(&hashState, &in->operandB.b); in TPM2_PolicyNV()
160 CryptUpdateDigestInt(&hashState, sizeof(UINT16), &in->offset); in TPM2_PolicyNV()
163 CryptUpdateDigestInt(&hashState, sizeof(TPM_EO), &in->operation); in TPM2_PolicyNV()
166 CryptCompleteHash2B(&hashState, &argHash.b); in TPM2_PolicyNV()
170 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNV()
173 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNV()
176 CryptUpdateDigestInt(&hashState, sizeof(TPM_CC), &commandCode); in TPM2_PolicyNV()
179 CryptUpdateDigest2B(&hashState, &argHash.b); in TPM2_PolicyNV()
183 CryptUpdateDigest2B(&hashState, &nvName.b); in TPM2_PolicyNV()
186 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); in TPM2_PolicyNV()