Lines Matching refs:BLOCKSIZE
681 memset(dig->m_aucIn, 0, BLOCKSIZE) ; // 2006/1/18 3:31PM by Emily in MHal_HDMITx_HdcpSha1Init()
794 uiT = (uiT >> 3) & (BLOCKSIZE - 1); //Bytes already in MHal_HDMITx_HdcpSha1AddData()
799 uiT = BLOCKSIZE - uiT; in MHal_HDMITx_HdcpSha1AddData()
811 while (iDataLength >= BLOCKSIZE) in MHal_HDMITx_HdcpSha1AddData()
813 memcpy(dig->m_aucIn, pcData, BLOCKSIZE); in MHal_HDMITx_HdcpSha1AddData()
815 pcData += BLOCKSIZE; in MHal_HDMITx_HdcpSha1AddData()
816 iDataLength -= BLOCKSIZE; in MHal_HDMITx_HdcpSha1AddData()
830 uiCount = (dig->m_auiBits[0] >> 3) & (BLOCKSIZE - 1); in MHal_HDMITx_HdcpSha1FinalDigest()
836 uiCount = BLOCKSIZE - uiCount - 1; in MHal_HDMITx_HdcpSha1FinalDigest()
845 memset(dig->m_aucIn, 0, BLOCKSIZE - 8); in MHal_HDMITx_HdcpSha1FinalDigest()
854 Word2Bytes1(&dig->m_auiBits[1], &dig->m_aucIn[BLOCKSIZE - 8]); in MHal_HDMITx_HdcpSha1FinalDigest()
855 Word2Bytes1(&dig->m_auiBits[0], &dig->m_aucIn[BLOCKSIZE - 4]); in MHal_HDMITx_HdcpSha1FinalDigest()