Lines Matching refs:hmacKey
224 hOut->hmacKey = hIn->hmacKey; in CryptHashCopyState()
261 memcpy(&outBuf[offsetof(HMAC_STATE, hmacKey)], &from->hmacKey, in CryptHashExportState()
262 sizeof(from->hmacKey)); in CryptHashExportState()
303 memcpy(&to->hmacKey, &inBuf[offsetof(HMAC_STATE, hmacKey)], in CryptHashImportState()
304 sizeof(to->hmacKey)); in CryptHashImportState()
536 state->hmacKey.t.size = CryptHashBlock(hashAlg, keySize, key, in CryptHmacStart()
538 state->hmacKey.t.buffer); in CryptHmacStart()
542 memcpy(state->hmacKey.t.buffer, key, keySize); in CryptHmacStart()
543 state->hmacKey.t.size = keySize; in CryptHmacStart()
546 pb = state->hmacKey.t.buffer; in CryptHmacStart()
547 for(i = state->hmacKey.t.size; i > 0; i--) in CryptHmacStart()
551 for(i = hashDef->blockSize - state->hmacKey.t.size; i > 0; i--) in CryptHmacStart()
555 state->hmacKey.t.size = hashDef->blockSize; in CryptHmacStart()
560 CryptDigestUpdate((PHASH_STATE)state, state->hmacKey.t.size, in CryptHmacStart()
561 state->hmacKey.t.buffer); in CryptHmacStart()
563 for(pb = state->hmacKey.t.buffer, i = hashDef->blockSize; i > 0; i--) in CryptHmacStart()
610 CryptDigestUpdate(hState, state->hmacKey.t.size, state->hmacKey.t.buffer); in CryptHmacEnd()