Lines Matching refs:hashState
62 CPRI_HASH_STATE * hashState, // IN: the state of hash stack in _cpri__CompleteHMAC() argument
69 CPRI_HASH_STATE *state = (CPRI_HASH_STATE *)hashState; in _cpri__CompleteHMAC()
72 _cpri__CompleteHash(hashState, digestSize, digest); in _cpri__CompleteHMAC()
102 CPRI_HASH_STATE hashState; in _cpri__KDFa() local
133 &hashState, in _cpri__KDFa()
140 _cpri__UpdateHash(&hashState, sizeof(UINT32), marshaledUint32); in _cpri__KDFa()
143 _cpri__UpdateHash(&hashState, lLen, (BYTE *)label); in _cpri__KDFa()
146 _cpri__UpdateHash(&hashState, contextU->size, contextU->buffer); in _cpri__KDFa()
149 _cpri__UpdateHash(&hashState, contextV->size, contextV->buffer); in _cpri__KDFa()
152 _cpri__UpdateHash(&hashState, sizeof(UINT32), marshaledUint32); in _cpri__KDFa()
156 _cpri__CompleteHMAC(&hashState, &hmacKey.b, hLen, stream); in _cpri__KDFa()
179 CPRI_HASH_STATE hashState; in _cpri__KDFe() local
212 if(_cpri__StartHash(hashAlg, FALSE, &hashState) == 0) in _cpri__KDFe()
216 _cpri__UpdateHash(&hashState, sizeof(UINT32), marshaledUint32); in _cpri__KDFe()
219 _cpri__UpdateHash(&hashState, Z->size, Z->buffer); in _cpri__KDFe()
222 _cpri__UpdateHash(&hashState, lSize, (BYTE *)label); in _cpri__KDFe()
226 _cpri__UpdateHash(&hashState, 1, (BYTE *)""); in _cpri__KDFe()
229 _cpri__UpdateHash(&hashState, partyUInfo->size, partyUInfo->buffer); in _cpri__KDFe()
232 _cpri__UpdateHash(&hashState, partyVInfo->size, partyVInfo->buffer); in _cpri__KDFe()
235 _cpri__CompleteHash(&hashState, hLen, stream); in _cpri__KDFe()