Lines Matching refs:digestSize
248 return GetHashInfoPointer(hashAlg)->digestSize; in _cpri__GetDigestSize()
505 UINT32 digestSize, // IN: size of the digest buffer in _cpri__HashBlock() argument
531 if(dSize > digestSize) in _cpri__HashBlock()
535 memcpy(digest, b, digestSize); in _cpri__HashBlock()
536 retVal = (UINT16)digestSize; in _cpri__HashBlock()
576 UINT16 digestSize; in _cpri__StartHMAC() local
584 if((digestSize = _cpri__StartHash(hashAlg, FALSE, &localState)) == 0) in _cpri__StartHMAC()
587 _cpri__CompleteHash(&localState, digestSize, oPadKey->buffer); in _cpri__StartHMAC()
588 oPadKey->size = digestSize; in _cpri__StartHMAC()
607 if((digestSize = _cpri__StartHash(hashAlg, sequence, state)) > 0) in _cpri__StartHMAC()
614 return digestSize; in _cpri__StartHMAC()
639 UINT16 digestSize = _cpri__GetDigestSize(state->hashAlg); in _cpri__CompleteHMAC() local
640 _cpri__CompleteHash(hashState, digestSize, digest); in _cpri__CompleteHMAC()
642 if(_cpri__StartHash(state->hashAlg, FALSE, &localState) != digestSize) in _cpri__CompleteHMAC()
645 _cpri__UpdateHash(&localState, digestSize, digest); in _cpri__CompleteHMAC()
678 unsigned int digestSize = (UINT32)dSize; in _cpri__MGF1() local
709 if(EVP_DigestFinal_ex(&hashContext, b, &digestSize) != 1) in _cpri__MGF1()
716 if(EVP_DigestFinal_ex(&hashContext, mask, &digestSize) != 1) in _cpri__MGF1()