summaryrefslogtreecommitdiff
path: root/core/net_crypto.c
AgeCommit message (Collapse)Author
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
2013-07-12First part of DHT hardening done.irungentoo
Added crypto to the DHT communications. This defeats completely the first attack mentioned in docs/DHT_hardening. Also updated the build system to build the latest test (it links it with libsodium)
2013-07-09Added comment block to Messenger test.irungentoo
2013-07-09Basic IM messenger backend pretty much done (You can start the GUI)irungentoo
And a couple of fixes to the other parts.
2013-07-08Quick fixAnthony Super
Used two if statements, both of which just broke a loop. Just threw them together with ||. Should be slightly faster.
2013-07-08Spelling mistakes fixed.irungentoo
2013-07-07Added IDEAS.txt and added checks to 2 net_crypto functions.irungentoo
2013-07-06Very basic start on the Tox messaging api.(Should give you a basic idea how ↵irungentoo
it's gonna work)
2013-07-06Forward secrecy implemented into crypto.irungentoo
2013-07-05Crypto done(still need to test it a bit more thought)irungentoo
Replaced chars with uint8_t Added a new test program. Added some functions to Lossless UDP. And some other stuff.