Home | History | Annotate | Download | only in tpm2

Lines Matching full:hmacstate

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