Lines Matching refs:pState
84 IPPFUN(IppStatus, ippsHashUpdate,(const Ipp8u* pSrc, int len, IppsHashState* pState))
87 IPP_BAD_PTR1_RET(pState);
89 IPP_BADARG_RET(!HASH_VALID_ID(pState), ippStsContextMatchErr);
97 const cpHashAttr* pAttr = &cpHashAlgAttr[HASH_ALG_ID(pState)];
100 Ipp64u lenLo = HASH_LENLO(pState);
101 Ipp64u lenHi = HASH_LENHI(pState);
103 if(lenLo < HASH_LENLO(pState)) lenHi++;
108 cpHashProc hashFunc = HASH_FUNC(pState); /* processing function */
109 const void* pParam = HASH_FUNC_PAR(pState); /* and it's addition params */
119 int n = HAHS_BUFFIDX(pState);
122 CopyBlock(pSrc, HASH_BUFF(pState)+n, procLen);
123 HAHS_BUFFIDX(pState) = n += procLen;
127 hashFunc(HASH_VALUE(pState), HASH_BUFF(pState), mbs, pParam);
128 HAHS_BUFFIDX(pState) = 0;
139 hashFunc(HASH_VALUE(pState), pSrc, procLen, pParam);
146 CopyBlock(pSrc, HASH_BUFF(pState), len);
147 HAHS_BUFFIDX(pState) += len;
152 HASH_LENLO(pState) = lenLo;
153 HASH_LENHI(pState) = lenHi;