summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.h
AgeCommit message (Collapse)Author
2014-04-30Added number to cookie request/response packets to prevent possibleirungentoo
DoS issue.
2014-04-29Some more work done on the middle network protocol.irungentoo
Handshake most likely has no more possible flaws to it, next thing to do is to do the same with the data packets. Wrote a couple more functions.
2014-04-23Updated some files so that they could build with latest core.irungentoo
Fixed some issues.
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-22Decided pretty much how the handshake would work.irungentoo
Started writing the code. Astyled some files.
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-04-18Added function to increment nonce by specified number.irungentoo
Nonces now behave like big endian numbers.
2014-03-15A bit of work done on the TCP relay server.irungentoo
2013-11-10Merge branch 'master' into hardenirungentoo
Conflicts: toxcore/DHT.c
2013-11-08Code cleanups.irungentoo
2013-10-26Base of hardening stuff.irungentoo
2013-10-24Added symmetric crypto functions to net_crypto.irungentoo
2013-10-24Removed define that could become confusing.irungentoo
2013-10-23Code cleanups.irungentoo
2013-10-22This squash should work now.Bahkuh
2013-10-19Fixed connection sometimes being too slow and some other possible problems.irungentoo
2013-10-04Fixed some possible bugs.irungentoo
2013-09-28Potential DoS fixed.irungentoo
2013-09-22Fixed the connection bug and cleaned up some stuff.irungentoo
2013-09-13Nonce generation changes.irungentoo
Nonces don't need to be random, only different. also random_int now gives same quality random numbers for both NaCl and libsodium.
2013-09-03Work in progress group chats.irungentoo
Not done yet.
2013-09-02comment updatesJamoBox
2013-08-29Merge branch 'master' of https://github.com/JamoBox/ProjectTox-Core into ↵irungentoo
JamoBox-master Conflicts: toxcore/LAN_discovery.h
2013-08-29Correct a lot of the grammar and spelling. Also spent a few hours fixing the ↵pete
comments so they follow a standard.
2013-08-28Removed some no longer needed ifdefs.irungentoo
2013-08-24Rename core directory because of autoconf name clashjin-eld
While doing the checks configure might generate "core" files and will then try to remove them. Having a "core" directory generates an error while runing the configure script. There's no workaround but to rename the core directory.