aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/handshake/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireguard/handshake/mod.rs')
-rw-r--r--src/wireguard/handshake/mod.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/wireguard/handshake/mod.rs b/src/wireguard/handshake/mod.rs
new file mode 100644
index 0000000..071a41f
--- /dev/null
+++ b/src/wireguard/handshake/mod.rs
@@ -0,0 +1,21 @@
+/* Implementation of the:
+ *
+ * Noise_IKpsk2_25519_ChaChaPoly_BLAKE2s
+ *
+ * Protocol pattern, see: http://www.noiseprotocol.org/noise.html.
+ * For documentation.
+ */
+
+mod device;
+mod macs;
+mod messages;
+mod noise;
+mod peer;
+mod ratelimiter;
+mod timestamp;
+mod types;
+
+// publicly exposed interface
+
+pub use device::Device;
+pub use messages::{MAX_HANDSHAKE_MSG_SIZE, TYPE_COOKIE_REPLY, TYPE_INITIATION, TYPE_RESPONSE};