Searched refs:SHA1_HASH_SIZE (Results 1 – 2 of 2) sorted by relevance
44 #define SHA1_HASH_SIZE 20 macro65 unsigned char dataSignature[SHA1_HASH_SIZE];66 unsigned char headerSignature[SHA1_HASH_SIZE];278 read(fileDesc, pSession->dataSignature, SHA1_HASH_SIZE) == in FwdLockFile_attach()279 SHA1_HASH_SIZE && in FwdLockFile_attach()280 read(fileDesc, pSession->headerSignature, SHA1_HASH_SIZE) == in FwdLockFile_attach()281 SHA1_HASH_SIZE) { in FwdLockFile_attach()288 pSession->encryptedSessionKeyLength + TOP_HEADER_SIZE + 2 * SHA1_HASH_SIZE; in FwdLockFile_attach()376 unsigned char signature[SHA1_HASH_SIZE]; in FwdLockFile_CheckDataIntegrity()388 unsigned int signatureSize = SHA1_HASH_SIZE; in FwdLockFile_CheckDataIntegrity()[all …]
50 #define SHA1_HASH_SIZE 20 macro562 size_t headerSignaturePos = dataSignaturePos + SHA1_HASH_SIZE; in FwdLockConv_WriteHeader()563 pSession->dataOffset = headerSignaturePos + SHA1_HASH_SIZE; in FwdLockConv_WriteHeader()575 SHA1_HASH_SIZE); in FwdLockConv_WriteHeader()577 SHA1_HASH_SIZE); in FwdLockConv_WriteHeader()1213 unsigned int signatureSize = SHA1_HASH_SIZE; in FwdLockConv_CloseSession()1216 if (signatureSize != SHA1_HASH_SIZE) { in FwdLockConv_CloseSession()1228 SHA1_HASH_SIZE); in FwdLockConv_CloseSession()1230 &pOutput->fromCloseSession.signatures[SHA1_HASH_SIZE], &signatureSize); in FwdLockConv_CloseSession()1231 if (signatureSize != SHA1_HASH_SIZE) { in FwdLockConv_CloseSession()