Home
last modified time | relevance | path

Searched refs:BlockLen (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/staging/rt2860/common/
Dcrypt_sha2.c73 pSHA_CTX->BlockLen = 0; in RT_SHA1_Init()
150 pSHA_CTX->BlockLen = 0; in SHA1_Hash()
179 if ((pSHA_CTX->BlockLen + diffLen) < SHA1_BLOCK_SIZE) { in SHA1_Append()
180 NdisMoveMemory(pSHA_CTX->Block + pSHA_CTX->BlockLen, in SHA1_Append()
182 pSHA_CTX->BlockLen += diffLen; in SHA1_Append()
185 NdisMoveMemory(pSHA_CTX->Block + pSHA_CTX->BlockLen, in SHA1_Append()
187 SHA1_BLOCK_SIZE - pSHA_CTX->BlockLen); in SHA1_Append()
188 appendLen += (SHA1_BLOCK_SIZE - pSHA_CTX->BlockLen); in SHA1_Append()
189 pSHA_CTX->BlockLen = SHA1_BLOCK_SIZE; in SHA1_Append()
219 NdisFillMemory(pSHA_CTX->Block + pSHA_CTX->BlockLen, 1, 0x80); in SHA1_End()
[all …]
Dcrypt_md5.c87 pMD5_CTX->BlockLen = 0; in MD5_Init()
220 pMD5_CTX->BlockLen = 0; in MD5_Hash()
249 if ((pMD5_CTX->BlockLen + diffLen) < MD5_BLOCK_SIZE) { in MD5_Append()
250 NdisMoveMemory(pMD5_CTX->Block + pMD5_CTX->BlockLen, in MD5_Append()
252 pMD5_CTX->BlockLen += diffLen; in MD5_Append()
255 NdisMoveMemory(pMD5_CTX->Block + pMD5_CTX->BlockLen, in MD5_Append()
257 MD5_BLOCK_SIZE - pMD5_CTX->BlockLen); in MD5_Append()
258 appendLen += (MD5_BLOCK_SIZE - pMD5_CTX->BlockLen); in MD5_Append()
259 pMD5_CTX->BlockLen = MD5_BLOCK_SIZE; in MD5_Append()
289 NdisFillMemory(pMD5_CTX->Block + pMD5_CTX->BlockLen, 1, 0x80); in MD5_End()
[all …]
/linux-2.6.39/drivers/staging/rt2860/
Dcrypt_md5.h61 u32 BlockLen; member
Dcrypt_sha2.h61 u32 BlockLen; member