From 41a5dbf4d9d937b5fe9df3c700e8c43c82f2343c Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 16 Dec 2017 20:26:23 +0300 Subject: Tox: (#1068) - moved to self compiled libtox - removed unused code (multimedia & chatrooms) - removed unneeded files & tools - version bump --- protocols/Tox/src/api_encryption.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 protocols/Tox/src/api_encryption.cpp (limited to 'protocols/Tox/src/api_encryption.cpp') 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(__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(__FUNCTION__)(data, data_len, passphrase, pplength, out, error); -} - -bool tox_is_data_encrypted(const uint8_t *data) -{ - return CreateFunction(__FUNCTION__)(data); -} \ No newline at end of file -- cgit v1.2.3