Lines Matching refs:hmac
559 TPM2B_DIGEST *hmac // OUT: authorization HMAC in ComputeCommandHMAC() argument
638 hmac->t.size = 0; in ComputeCommandHMAC()
642 hmac->t.size = CryptStartHMAC2B(session->authHashAlg, &key.b, &hmacState); in ComputeCommandHMAC()
662 CryptCompleteHMAC2B(&hmacState, &hmac->b); in ComputeCommandHMAC()
686 TPM2B_DIGEST hmac; // authHMAC for comparing in CheckSessionHMAC() local
688 ComputeCommandHMAC(sessionIndex, cpHash, &hmac); in CheckSessionHMAC()
690 if(!Memory2BEqual(&s_inputAuthValues[sessionIndex].b, &hmac.b)) in CheckSessionHMAC()
1680 TPM2B_DIGEST *hmac // OUT: authHMAC in ComputeResponseHMAC() argument
1717 hmac->t.size = 0; in ComputeResponseHMAC()
1721 hmac->t.size = CryptStartHMAC2B(session->authHashAlg, &key.b, &hmacState); in ComputeResponseHMAC()
1732 CryptCompleteHMAC2B(&hmacState, &hmac->b); in ComputeResponseHMAC()