7 Commits

Author SHA1 Message Date
Hans Svensson
8f3aff4d8b Support {active, true} and {active, once} in gen_tcp-wrapper
In the implemented TCP-wrapper (enoise_connection) we now properly support {active, true}
and {active, once} and switching between them (previously no switching was supported).
2018-03-13 23:22:42 +01:00
Hans Svensson
e705df03a4 Disable local client test 2018-03-09 11:06:02 +01:00
Hans Svensson
a11887393f Refactor keypair into separate module enoise_keypair 2018-03-08 11:22:00 +01:00
Hans Svensson
866b4421b3 Add tests at gen_tcp-level
Move data structure tests to enoise_hs_state_tests
2018-03-07 14:29:37 +01:00
Hans Svensson
d81f1eb32e Introduce enoise_connection
This will put the control into a (gen_server) process that wraps the functionality in much the same way as ssl does for gen_tcp, etc.

Some features are still missing (like setopts)
2018-03-06 16:19:25 +01:00
Hans Svensson
b1d63ad3b9 Refactored + added some test vector support 2018-03-06 10:06:03 +01:00
Hans Svensson
0d563884eb Some tests for cipher_state 2018-03-01 20:37:57 +01:00