summaryrefslogtreecommitdiff
path: root/toxcore/onion_announce.h
AgeCommit message (Collapse)Author
2020-03-14Use spdx license identifier instead of GPL blurb.iphydf
2018-09-14Standardise header guards.iphydf
Using the full path including the repo name.
2018-08-26Update copyright to 2018.iphydf
2018-08-16Use per-instance `Mono_Time` for Messenger and onion.iphydf
2018-07-12Fix style in some header files.iphydf
* Enums must by typedef'd. * Comments at end of `#define` must be `//` comments. * Typedef structs must not be anonymous. * `;` at the end of a `#define` is invalid. * Callback typedefs must list their parameter names. * No nested structs. * No inline use of function pointer types. Only typedef'd callback types are allowed. * Enum types are spelled in Camelsnake_Case. * The argument to `#error` must be a string literal.
2018-01-14Make Onion_Announce a module-private type.iphydf
2017-01-19Update license headers and remove redundant file name comment.iphydf
"All rights reserved" was incorrect. The project was licensed under GPL3, which means a lot of rights are licensed to everybody in the world, i.e. not reserved to the "Tox Project".
2016-12-22Wrap all sodium/nacl functions in crypto_core.c.iphydf
2015-08-12Increased max number of stored announce entries.irungentoo
2015-05-08Increased max announce entries.irungentoo
2014-09-07Updated docs.irungentoo
Fixed possible issue in last commit.
2014-08-11Some code refactoring to make passing onion packets through TCP easier.irungentoo
2014-07-02Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Coreirungentoo
2014-06-30Const-correctness for toxcore/onion_announce.cMarc Schütz
2014-06-18Preparation work to make onion packets go through TCP.irungentoo
2014-05-12Use ping_array to store onion announce information instead of sendingirungentoo
over a huge cookie. This reduces the size of the onion announce packets by 100 bytes.
2014-04-23Major cleanups.irungentoo
Fixed circular dependency between DHT and net_crypto: DHT no longer depends on net_crypto. Moved the crypto request packets functions to crypto core and DHT. Cleaned up/added some defines that can be used to get the true maximum length of things like the friends request message. MAX_DATA_SIZE has been replaced in most places by more appropriate defines.
2014-04-21Crypto related cleanups.irungentoo
Moved Bunch of functions from net_crypto to crypto_core. decrypt_data_fast and decrypt_data_symmetric were the same thing therefore, removed decrypt_data_fast. Replaced all the crypto_secretbox_* defines with the equivalent crypto_box_* one. New define: crypto_box_KEYBYTES that is equal to crypto_box_BEFORENMBYTES.
2014-03-07Speeded up onion requests.irungentoo
Also increased the maximum number of announce entries.
2014-03-05CPU optimizations.irungentoo
Use get_shared_key() in more places.
2014-02-26Major speed/cpu usage/bandwidth improvements to onion.irungentoo
2014-01-19Small protocol change for more replay attack prevention.irungentoo
see the changes to Prevent_Tracking.txt
2014-01-14Onion data packets can now be handled in onion_client.irungentoo
oniondata_registerhandler(...) can be used to register different packet types to handle them and send_onion_data(...) can be used to send these packets.
2014-01-12Some work done in onion_client.irungentoo
2014-01-11Some work done on onion_clientirungentoo
2014-01-10Some work on onion_client done.irungentoo
2014-01-09Some work done on the client part.irungentoo
2014-01-08Fixed problem in onion_announce.cirungentoo
Added a way to know if a announce response is valid.
2014-01-06onion_announce seems to be working perfectly.irungentoo
Stuff added and fixed.
2014-01-05Tests added and some fixes for the onion part.irungentoo
2014-01-04Some work on the onion part done.irungentoo
2014-01-03A bit of work done on the onion part.irungentoo
2014-01-02Some work done on the onion announce part.irungentoo