Home | History | Annotate | Download | only in tpm2

Lines Matching defs:hashState

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