Lines Matching refs:hLen
416 int hLen; in _cpri__CompleteHash() local
429 hLen = EVP_MD_CTX_size(context); in _cpri__CompleteHash()
430 if((unsigned)hLen > dOutSize) in _cpri__CompleteHash()
444 retVal = (UINT16)hLen; in _cpri__CompleteHash()
765 INT16 hLen; // length of the hash in _cpri__KDFa() local
785 if((hLen = (INT16) _cpri__GetDigestSize(hashAlg)) == 0) in _cpri__KDFa()
790 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8); in _cpri__KDFa()
792 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen) in _cpri__KDFa()
794 if(bytes < hLen) in _cpri__KDFa()
795 hLen = bytes; in _cpri__KDFa()
823 _cpri__CompleteHMAC(&hashState, &hmacKey.b, hLen, stream); in _cpri__KDFa()
863 INT16 hLen = (INT16) _cpri__GetDigestSize(hashAlg); in _cpri__KDFe() local
869 if(hLen == 0) in _cpri__KDFe()
888 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen) in _cpri__KDFe()
890 if(bytes < hLen) in _cpri__KDFe()
891 hLen = bytes; in _cpri__KDFe()
918 _cpri__CompleteHash(&hashState, hLen, stream); in _cpri__KDFe()