aboutsummaryrefslogtreecommitdiff
path: root/lib/events/encryptedfile.cpp
AgeCommit message (Collapse)Author
2022-02-16More cleanup, especially in EncryptedFileAlexey Rusakov
For EncryptedFile: - JSON converter bodies moved away to .cpp; - instead of C-style casts, reinterpret_cast is used to convert from (const) char* to (const) unsigned char*; - the size for the target plain text takes into account the case where the cipher block size can be larger than 1 (after reading https://www.openssl.org/docs/man1.1.1/man3/EVP_DecryptUpdate.html). - file decryption is wrapped in #ifdef Quotient_E2EE_ENABLED, to avoid OpenSSL linking errors when compiling without E2EE.
2022-02-16Fix file decryptionTobias Fella
2022-02-09Move includes to .cpp fileTobias Fella
2022-02-07Remove encryptionmanager and various fixesTobias Fella