Lines Matching refs:digestSize
248 return GetHashInfoPointer(hashAlg)->digestSize;
395 // Complete a hash or HMAC computation. This function will place the smaller of digestSize or the size of
493 // The digestSize parameter can be smaller than the digest. If so, only the more significant bytes are
505 UINT32 digestSize, // IN: size of the digest buffer
512 BYTE b[MAX_DIGEST_SIZE]; // temp buffer in case digestSize not
529 // buffer (digestSize), then put the digest in a temp buffer and only copy
531 if(dSize > digestSize)
535 memcpy(digest, b, digestSize);
536 retVal = (UINT16)digestSize;
576 UINT16 digestSize;
584 if((digestSize = _cpri__StartHash(hashAlg, FALSE, &localState)) == 0)
587 _cpri__CompleteHash(&localState, digestSize, oPadKey->buffer);
588 oPadKey->size = digestSize;
607 if((digestSize = _cpri__StartHash(hashAlg, sequence, state)) > 0)
614 return digestSize;
639 UINT16 digestSize = _cpri__GetDigestSize(state->hashAlg);
640 _cpri__CompleteHash(hashState, digestSize, digest);
642 if(_cpri__StartHash(state->hashAlg, FALSE, &localState) != digestSize)
645 _cpri__UpdateHash(&localState, digestSize, digest);
678 unsigned int digestSize = (UINT32)dSize;
709 if(EVP_DigestFinal_ex(&hashContext, b, &digestSize) != 1)
716 if(EVP_DigestFinal_ex(&hashContext, mask, &digestSize) != 1)