Lines Matching refs:hmacState
568 HMAC_STATE hmacState; in ComputeCommandHMAC() local
642 hmac->t.size = CryptStartHMAC2B(session->authHashAlg, &key.b, &hmacState); in ComputeCommandHMAC()
644 CryptUpdateDigest2B(&hmacState, &cpHash->b); in ComputeCommandHMAC()
646 CryptUpdateDigest2B(&hmacState, &s_nonceCaller[sessionIndex].b); in ComputeCommandHMAC()
648 CryptUpdateDigest2B(&hmacState, &session->nonceTPM.b); in ComputeCommandHMAC()
651 CryptUpdateDigest2B(&hmacState, &nonceDecrypt->b); in ComputeCommandHMAC()
654 CryptUpdateDigest2B(&hmacState, &nonceEncrypt->b); in ComputeCommandHMAC()
660 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer); in ComputeCommandHMAC()
662 CryptCompleteHMAC2B(&hmacState, &hmac->b); in ComputeCommandHMAC()
1689 HMAC_STATE hmacState; in ComputeResponseHMAC() local
1721 hmac->t.size = CryptStartHMAC2B(session->authHashAlg, &key.b, &hmacState); in ComputeResponseHMAC()
1723 CryptUpdateDigest2B(&hmacState, &rp_hash.b); in ComputeResponseHMAC()
1724 CryptUpdateDigest2B(&hmacState, &nonceTPM->b); in ComputeResponseHMAC()
1725 CryptUpdateDigest2B(&hmacState, &s_nonceCaller[sessionIndex].b); in ComputeResponseHMAC()
1730 CryptUpdateDigest(&hmacState, marshalSize, marshalBuffer); in ComputeResponseHMAC()
1732 CryptCompleteHMAC2B(&hmacState, &hmac->b); in ComputeResponseHMAC()