Searched refs:TOP_HEADER_SIZE (Results 1 – 2 of 2) sorted by relevance
51 #define TOP_HEADER_SIZE 8 macro60 unsigned char topHeader[TOP_HEADER_SIZE];263 if (read(fileDesc, pSession->topHeader, TOP_HEADER_SIZE) == TOP_HEADER_SIZE && in FwdLockFile_attach()288 pSession->encryptedSessionKeyLength + TOP_HEADER_SIZE + 2 * SHA1_HASH_SIZE; in FwdLockFile_attach()419 HMAC_Update(&pSession->signingContext, pSession->topHeader, TOP_HEADER_SIZE); in FwdLockFile_CheckHeaderIntegrity()
56 #define TOP_HEADER_SIZE 8 macro149 unsigned char topHeader[TOP_HEADER_SIZE];560 size_t encryptedSessionKeyPos = TOP_HEADER_SIZE + pSession->contentType.length; in FwdLockConv_WriteHeader()567 memcpy(pOutput->fromConvertData.pBuffer, pSession->topHeader, TOP_HEADER_SIZE); in FwdLockConv_WriteHeader()568 memcpy((char *)pOutput->fromConvertData.pBuffer + TOP_HEADER_SIZE, in FwdLockConv_WriteHeader()1222 HMAC_Update(&pSession->signingContext, pSession->topHeader, TOP_HEADER_SIZE); in FwdLockConv_CloseSession()1234 pOutput->fromCloseSession.fileOffset = TOP_HEADER_SIZE + in FwdLockConv_CloseSession()