Lines Matching refs:BLOCKSIZE
660 memset(dig->m_aucIn, 0, BLOCKSIZE) ; // 2006/1/18 3:31PM by Emily in MHal_HDMITx_HdcpSha1Init()
773 uiT = (uiT >> 3) & (BLOCKSIZE - 1); //Bytes already in MHal_HDMITx_HdcpSha1AddData()
778 uiT = BLOCKSIZE - uiT; in MHal_HDMITx_HdcpSha1AddData()
790 while (iDataLength >= BLOCKSIZE) in MHal_HDMITx_HdcpSha1AddData()
792 memcpy(dig->m_aucIn, pcData, BLOCKSIZE); in MHal_HDMITx_HdcpSha1AddData()
794 pcData += BLOCKSIZE; in MHal_HDMITx_HdcpSha1AddData()
795 iDataLength -= BLOCKSIZE; in MHal_HDMITx_HdcpSha1AddData()
809 uiCount = (dig->m_auiBits[0] >> 3) & (BLOCKSIZE - 1); in MHal_HDMITx_HdcpSha1FinalDigest()
815 uiCount = BLOCKSIZE - uiCount - 1; in MHal_HDMITx_HdcpSha1FinalDigest()
824 memset(dig->m_aucIn, 0, BLOCKSIZE - 8); in MHal_HDMITx_HdcpSha1FinalDigest()
833 Word2Bytes1(&dig->m_auiBits[1], &dig->m_aucIn[BLOCKSIZE - 8]); in MHal_HDMITx_HdcpSha1FinalDigest()
834 Word2Bytes1(&dig->m_auiBits[0], &dig->m_aucIn[BLOCKSIZE - 4]); in MHal_HDMITx_HdcpSha1FinalDigest()