Commit Graph

59 Commits

Author SHA1 Message Date
0614b0d44e secio: don't panic in agree_ephemeral. (#480)
Given that echoing back our local key and nonce would result in equal
digest values, we should treat this as an error instead of panicking.
2018-09-14 11:37:40 +02:00
5980a4538e Secp256k1 key generation (#474) 2018-09-13 10:26:52 +02:00
6a5681aed7 secio: Add NULL cipher and allow more configuration. (#468)
* Introduce NULL cipher and allow more configuration.

* Back to using the hash-code for handshake.

Using `Endpoint` would be incompatible with the existing protocol.

* Add comments.
2018-09-12 09:10:05 +02:00
0a3d4cdfad Revert "remove rustc-serialize (#359) (#386)" (#466)
This reverts commit 73996885cb.
2018-09-07 14:05:42 +02:00
e45dce2d9a Switch to twofish by default (#465) 2018-09-06 17:35:25 +02:00
601de6ab70 Minor fix for concat_comma (#464) 2018-09-06 16:31:15 +02:00
ea1f172397 Implement Send everywhere (#458) 2018-09-06 09:54:35 +02:00
e2960b4317 Add support for twofish cipher (#457) 2018-09-05 02:15:16 +02:00
2ea49718f3 Clean up directory structure (#426)
* Remove unused circular-buffer crate
* Move transports into subdirectory
* Move misc into subdirectory
* Move stores into subdirectory
* Move multiplexers
* Move protocols
* Move libp2p top layer
* Fix Test: skip doctest if secio isn't enabled
2018-08-29 11:24:44 +02:00