summaryrefslogtreecommitdiff
path: root/core/net_crypto.c
AgeCommit message (Collapse)Author
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.
2013-08-21refactoring packet IDsMichael Rose
2013-08-20astyle --options=tools/astylerc -r ./*.{c,h}irungentoo
2013-08-20Fixed DHT_test.c and added some checks.irungentoo
2013-08-20Refactor of core done.irungentoo
2013-08-20More refactoring done.irungentoo
2013-08-19Some refactoring done.irungentoo
2013-08-18Fixed segfault and removed deprecated code.irungentoo
2013-08-18Properly fixed possible realloc with size zero problem.irungentoo
2013-08-18Fixes CERT MEM04-C; CWE-131 in net_crypto.cSean Qureshi
2013-08-17Fixed bug.irungentoo
2013-08-17Added dynamic memory allocation to crypto connections.irungentoo
Also fixed some possible bugs in Messenger.c
2013-08-16Passed everything through astyle.irungentoo
2013-08-15Fixed loading and a small problem with the length of crypto requests.irungentoo
2013-08-14Metadata collection prevention part 1 of ???.irungentoo
Crypto requests packets are packets that can be routed by nodes in the DHT. In this pull request I have merged both Natping requests and friend requests into one common packet (Crypto request packets). Both these packets should now only be distinguishable by the size of the data in them to an outside observer for an example on how to send and recieve data with these packets see: friend_requests.c Note that these packets are prefixed with id 32 (friend request packets) which means this change is compatible with the currently running DHT bootstrap servers. Also changed small thing in DHT_test.c
2013-08-14Reduced redundant code, added new crypto testslvr
2013-08-14s/BOXZERO/ZERO/slvr
2013-08-14Incorrect constants: s/BOXZERO/ZERO/slvr
2013-08-10Merge pull request #422 from slvr/crypto-speed-boostirungentoo
Cryptography speed boost
2013-08-10That define doesn't belong here.irungentoo
2013-08-10Ensure encrypt_precompute is called when status == CONN_ESTABLISHEDslvr
2013-08-10Implemented encrypt_data_fast, decrypt_data_fast and crypto testsslvr
2013-08-05Use void for functions with no parametersFlorian Hahn
2013-08-04Make private functions in core/net_crypto.c staticFlorian Hahn
2013-08-03various fixes for first time userJae Kwon
* added linking to libsodium * fixed links to docs to point to wiki
2013-08-02Replace ZEROBYTES - BOXZEROBYTES with MACBYTESNick ODell
2013-08-02Fix bug where memcpy could overrun bufferNick ODell
2013-08-01Remove some magic numbers; use macros to clarify intentNick ODell
2013-08-01Fixed stupid copy pasting mistake.irungentoo
2013-08-01Possible timing problem fixed.irungentoo
2013-08-01Fixed possible timing problem.irungentoo
2013-08-01Fixed possible issues with the crypto reported by an anonymous person.irungentoo
2013-07-27Ran the code through: astyle --style=linuxirungentoo
2013-07-26A *lot* of style changes.Konstantin Kowalski
2013-07-26Fix bracesnfkd
2013-07-26Formatting.SilentSand
Many stylistic changes, mostly formatting code more closely to the coding style.
2013-07-25LicensingSilentSand
Added the GPLv3 license to some files in addition to fixing some comments at the beginning of the files.
2013-07-24Experimental and unoptimized symmetric NAT hole punching added.irungentoo
2013-07-22Modified the way friend requests worked.irungentoo
Added routing of friend requests.
2013-07-21Fixed temp redeclarationredwire
2013-07-21Going with irungentoo's suggestion and using memcpy instead of sectioning ↵redwire
with arithmetic
2013-07-21Fixed an embarassing typoZack
2013-07-21Implemented a faster algorithm for generating noncesZack
2013-07-20Merge pull request #62 from Captainhat/masterirungentoo
More comments in core fixed
2013-07-20More changes made to comments, as requested by jvrvAndrew
2013-07-20Fixed comments in other files as per request of jvrvAndrew
2013-07-19Update net_crypto.cMartijnvdc
changed all "i++" into "++i", as proposed by nfkd
2013-07-17Bug fixed, Loading and saving added to core.irungentoo
2013-07-16Saving and loading of keys added.irungentoo
2013-07-14Fixed useless inbound connection not timing out.irungentoo