1
0
Fork 0
Commit Graph

21 Commits

Author SHA1 Message Date
Alexander Andreev 5e45b95fdf
Remove includes that are implicitely included. 2024-03-26 17:21:00 +04:00
Alexander Andreev 722baa7da3
In a server handshake initialise all the shit before sending our hello. 2024-03-26 04:59:24 +04:00
Alexander Andreev 2680674c71
Fixed usage. Didn't notice before. 2024-03-26 04:54:18 +04:00
Alexander Andreev 6d9596e1d0
Oops... Theses are no longer needed. :) 2024-03-26 04:52:48 +04:00
Alexander Andreev b06d955f98
A proper handshake was implemented. 2024-03-26 04:51:31 +04:00
Alexander Andreev ccca06e70f
An actually working handshake example in a main(). 2024-03-25 05:03:46 +04:00
Alexander Andreev 58c3b3fada
A handshake fix in main(): No, actually, NOW we're secure. :) 2024-03-25 03:59:38 +04:00
Alexander Andreev 92d7659306
Keep on using a main() func for testing. Now a secure connection instantiation was completed. Yay! 2024-03-25 03:53:55 +04:00
Alexander Andreev c72eca2ad8
Made separate streams for in and out sound. WIll be very handy for muting a microphone and your companion. 2024-03-25 01:05:29 +04:00
Alexander Andreev d9cc37896f
Add the empty lines at the end of the sources so clang won't whine and compile. :) 2024-03-25 00:56:42 +04:00
Alexander Andreev 174f0df1d4
Test net module in main. 2024-03-24 20:14:16 +04:00
Alexander Andreev b04fbeb34e
Let's uncomment a code for audio and put an encryption in it. 2024-03-24 06:05:01 +04:00
Alexander Andreev 16e0149802
Replace '< 0' with '== -1'. For the sake of optimisation! xD 2024-03-24 05:32:46 +04:00
Alexander Andreev e4b388f554
An include messup was cleaned. 2024-03-24 05:06:13 +04:00
Alexander Andreev 3b68835c9c
Oh, because of goto used some var can never be presented, so lets move them right before the first use of a goto. 2024-03-24 04:56:02 +04:00
Alexander Andreev 8df5a6344e
Another change of main to show an example of key exchange and data encryption. 2024-03-24 04:41:08 +04:00
Alexander Andreev 61b1992828
Put just a touch of pointer magick in a crypt module. Also put const modifiers here and there. 2024-03-23 05:52:03 +04:00
Alexander Andreev 0d47261c51
Current state of main. 2024-03-23 04:22:01 +04:00
Alexander Andreev fb9e62fc8b
crypt_store_*_key funcs was implemented. Also a test code in a main func comes along. 2024-03-22 04:16:43 +04:00
Alexander Andreev 20c99d0540
Last main.c. 2024-03-21 17:51:03 +04:00
Alexander Andreev 64176055d0
An initial commit. :) 2024-03-21 04:10:02 +04:00