irungentoo
8e05bcb5f9
Merge pull request #422 from slvr/crypto-speed-boost
...
Cryptography speed boost
2013-08-10 16:20:54 -07:00
irungentoo
e37fd0c607
That define doesn't belong here.
2013-08-10 19:04:00 -04:00
slvr
a5f34764d2
Ensure encrypt_precompute is called when status == CONN_ESTABLISHED
2013-08-10 18:46:11 +01:00
slvr
021852d494
Implemented encrypt_data_fast, decrypt_data_fast and crypto tests
2013-08-10 17:41:32 +01:00
Florian Hahn
5617bf0bf1
Use void for functions with no parameters
2013-08-05 15:57:17 +02:00
Florian Hahn
8680cf76bf
Make private functions in core/net_crypto.c static
2013-08-04 23:05:20 +02:00
Jae Kwon
158751cb2d
various fixes for first time user
...
* added linking to libsodium
* fixed links to docs to point to wiki
2013-08-03 14:46:52 -07:00
Nick ODell
9c039cfd2a
Replace ZEROBYTES - BOXZEROBYTES with MACBYTES
2013-08-02 16:35:41 -06:00
Nick ODell
8d1f7753f6
Fix bug where memcpy could overrun buffer
2013-08-02 13:40:56 -06:00
Nick ODell
fd95ab5ed7
Remove some magic numbers; use macros to clarify intent
2013-08-01 19:21:50 -06:00
irungentoo
79f0a2ccba
Fixed stupid copy pasting mistake.
2013-08-01 16:15:10 -04:00
irungentoo
ffd69a6525
Possible timing problem fixed.
2013-08-01 15:49:32 -04:00
irungentoo
633edcf452
Fixed possible timing problem.
2013-08-01 14:44:51 -04:00
irungentoo
7a08681af5
Fixed possible issues with the crypto reported by an anonymous person.
2013-08-01 11:22:56 -04:00
irungentoo
14b43651c1
Ran the code through: astyle --style=linux
2013-07-27 08:43:36 -04:00
Konstantin Kowalski
241aca98bd
A *lot* of style changes.
2013-07-26 23:07:25 -04:00
nfkd
16c9e23b3c
Fix braces
2013-07-26 19:39:04 -03:00
SilentSand
59b34e423b
Formatting.
...
Many stylistic changes, mostly formatting code more closely to the
coding style.
2013-07-26 04:02:17 -04:00
SilentSand
f377eb9ca2
Licensing
...
Added the GPLv3 license to some files in addition to fixing some
comments at the beginning of the files.
2013-07-25 21:45:56 -04:00
irungentoo
ee331fd73b
Experimental and unoptimized symmetric NAT hole punching added.
2013-07-24 19:39:34 -04:00
irungentoo
55361eac6f
Modified the way friend requests worked.
...
Added routing of friend requests.
2013-07-22 14:52:42 -04:00
redwire
b16013b86b
Fixed temp redeclaration
2013-07-21 21:23:21 -02:30
redwire
99c3426cbc
Going with irungentoo's suggestion and using memcpy instead of sectioning with arithmetic
2013-07-21 21:13:04 -02:30
Zack
9b634504a6
Fixed an embarassing typo
2013-07-21 18:40:24 -02:30
Zack
c999fb6462
Implemented a faster algorithm for generating nonces
2013-07-21 18:35:12 -02:30
irungentoo
72ea431489
Merge pull request #62 from Captainhat/master
...
More comments in core fixed
2013-07-20 08:25:19 -07:00
Andrew
9616cc6a89
More changes made to comments, as requested by jvrv
2013-07-20 11:02:43 -04:00
Andrew
5101ef756a
Fixed comments in other files as per request of jvrv
2013-07-20 10:39:05 -04:00
Martijnvdc
cf6327db49
Update net_crypto.c
...
changed all "i++" into "++i", as proposed by nfkd
2013-07-19 19:34:35 +02:00
irungentoo
4864cb9edb
Bug fixed, Loading and saving added to core.
2013-07-17 12:07:19 -04:00
irungentoo
5572396c53
Saving and loading of keys added.
2013-07-16 13:44:46 -04:00
irungentoo
f3dfeb607b
Fixed useless inbound connection not timing out.
2013-07-14 15:22:49 -04:00
irungentoo
79aa715514
First part of DHT hardening done.
...
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-12 16:27:19 -04:00
irungentoo
127fced11f
Added comment block to Messenger test.
2013-07-09 13:27:47 -04:00
irungentoo
4d50638528
Basic IM messenger backend pretty much done (You can start the GUI)
...
And a couple of fixes to the other parts.
2013-07-09 13:20:48 -04:00
Anthony Super
dd8d34d460
Quick fix
...
Used two if statements, both of which just broke a loop. Just threw them together with ||. Should be slightly faster.
2013-07-08 11:05:20 -06:00
irungentoo
c00cf85078
Spelling mistakes fixed.
2013-07-08 12:36:11 -04:00
irungentoo
9a0d749083
Added IDEAS.txt and added checks to 2 net_crypto functions.
2013-07-07 23:09:00 -04:00
irungentoo
2528ec148c
Very basic start on the Tox messaging api.(Should give you a basic idea how it's gonna work)
2013-07-06 22:28:15 -04:00
irungentoo
7458473dca
Forward secrecy implemented into crypto.
2013-07-06 10:57:49 -04:00
irungentoo
a480c0195a
Crypto done(still need to test it a bit more thought)
...
Replaced chars with uint8_t
Added a new test program.
Added some functions to Lossless UDP.
And some other stuff.
2013-07-05 17:00:39 -04:00