Searched refs:encryptedSessionKeyLength (Results 1 – 2 of 2) sorted by relevance
64 size_t encryptedSessionKeyLength; member185 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE); in FwdLockFile_DeriveKeys()272 pSession->encryptedSessionKeyLength = FwdLockGlue_GetEncryptedKeyLength(KEY_SIZE); in FwdLockFile_attach()273 pSession->pEncryptedSessionKey = malloc(pSession->encryptedSessionKeyLength); in FwdLockFile_attach()276 pSession->encryptedSessionKeyLength) == in FwdLockFile_attach()277 (ssize_t)pSession->encryptedSessionKeyLength && in FwdLockFile_attach()288 pSession->encryptedSessionKeyLength + TOP_HEADER_SIZE + 2 * SHA1_HASH_SIZE; in FwdLockFile_attach()423 pSession->encryptedSessionKeyLength); in FwdLockFile_CheckHeaderIntegrity()
146 size_t encryptedSessionKeyLength; member561 size_t dataSignaturePos = encryptedSessionKeyPos + pSession->encryptedSessionKeyLength; in FwdLockConv_WriteHeader()571 pSession->pEncryptedSessionKey, pSession->encryptedSessionKeyLength); in FwdLockConv_WriteHeader()1121 pSession->encryptedSessionKeyLength = FwdLockGlue_GetEncryptedKeyLength(KEY_SIZE); in FwdLockConv_OpenSession()1122 if (pSession->encryptedSessionKeyLength < AES_BLOCK_SIZE) { in FwdLockConv_OpenSession()1127 pSession->pEncryptedSessionKey = malloc(pSession->encryptedSessionKeyLength); in FwdLockConv_OpenSession()1135 pSession->encryptedSessionKeyLength)) { in FwdLockConv_OpenSession()1226 pSession->encryptedSessionKeyLength); in FwdLockConv_CloseSession()1235 pSession->contentType.length + pSession->encryptedSessionKeyLength; in FwdLockConv_CloseSession()