Home | History | Annotate | Download | only in tpm2

Lines Matching full:hmacstate

215     HMAC_STATE         *hmacState           //   OUT: the state of HMAC stack. It will be used
219 HASH_STATE *hashState = (HASH_STATE *)hmacState;
229 &hmacState->hmacKey.b)) > 0)
252 HMAC_STATE *hmacState // OUT: the state of HMAC stack. It will be used
256 HASH_STATE *hashState = (HASH_STATE *)hmacState;
261 keySize, key, &hmacState->hmacKey.b)) > 0)
286 HMAC_STATE *hmacState // OUT: the state of HMAC stack. It will be used
290 return CryptStartHMAC(hashAlg, key->size, key->buffer, hmacState);
310 HMAC_STATE *hmacState // OUT: the state of HMAC stack. It will be used
314 return CryptStartHMACSequence(hashAlg, key->size, key->buffer, hmacState);
506 HMAC_STATE *hmacState, // IN: the state of HMAC stack
512 pAssert(hmacState != NULL);
513 hashState = &hmacState->hashState;
516 return _cpri__CompleteHMAC(&hashState->state, &hmacState->hmacKey.b,
532 HMAC_STATE *hmacState, // IN: the state of HMAC stack
538 retVal = CryptCompleteHMAC(hmacState, digest->size, digest->buffer);
634 HMAC_STATE hmacState;
639 &hmacState);
642 CryptUpdateDigest2B(&hmacState, &hashData->b);
643 CryptCompleteHMAC(&hmacState, digestSize,
666 HMAC_STATE hmacState;
669 &signKey->sensitive.sensitive.bits.b, &hmacState);
670 CryptUpdateDigest2B(&hmacState, &hashData->b);
671 CryptCompleteHMAC2B(&hmacState, &digestToCompare.b);