diff options
author | Alex <aunsane@gmail.com> | 2017-12-16 20:26:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-12-16 20:26:23 +0300 |
commit | 41a5dbf4d9d937b5fe9df3c700e8c43c82f2343c (patch) | |
tree | d765c53432332e29b4e088d12db500e8aea6f2cb /protocols/Tox/src/api_encryption.cpp | |
parent | fa47233bca994ad009ad3536e1eeea3abd03ca39 (diff) |
Tox: (#1068)
- moved to self compiled libtox
- removed unused code (multimedia & chatrooms)
- removed unneeded files & tools
- version bump
Diffstat (limited to 'protocols/Tox/src/api_encryption.cpp')
-rw-r--r-- | protocols/Tox/src/api_encryption.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/protocols/Tox/src/api_encryption.cpp b/protocols/Tox/src/api_encryption.cpp deleted file mode 100644 index 85e77c06ad..0000000000 --- a/protocols/Tox/src/api_encryption.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "stdafx.h"
-
-/* ENCRYPTION FUNCTIONS */
-
-bool tox_pass_decrypt(const uint8_t *data, size_t length, const uint8_t *passphrase, size_t pplength, uint8_t *out, TOX_ERR_DECRYPTION *error)
-{
- return CreateFunction<bool(*)(const uint8_t *, size_t, const uint8_t*, size_t, uint8_t*, TOX_ERR_DECRYPTION*)>(__FUNCTION__)(data, length, passphrase, pplength, out, error);
-}
-
-bool tox_pass_encrypt(const uint8_t *data, size_t data_len, const uint8_t *passphrase, size_t pplength, uint8_t *out, TOX_ERR_ENCRYPTION *error)
-{
- return CreateFunction<bool(*)(const uint8_t *, size_t, const uint8_t*, size_t, uint8_t*, TOX_ERR_ENCRYPTION*)>(__FUNCTION__)(data, data_len, passphrase, pplength, out, error);
-}
-
-bool tox_is_data_encrypted(const uint8_t *data)
-{
- return CreateFunction<bool(*)(const uint8_t*)>(__FUNCTION__)(data);
-}
\ No newline at end of file |