aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/mod.rs
diff options
context:
space:
mode:
authorsopium <sopium@mysterious.site>2017-03-22 16:46:06 +0800
committerSascha Grunert <saschagrunert@users.noreply.github.com>2017-03-23 17:55:05 +0100
commit724772ec6dbc88cc88f73d87120307635824c362 (patch)
tree6aa883f506158e7ab7cf79fd557bddf5329c5ab9 /src/crypto/mod.rs
parentWarn users, due to already incoming emails (diff)
downloadwireguard-rs-724772ec6dbc88cc88f73d87120307635824c362.tar.xz
wireguard-rs-724772ec6dbc88cc88f73d87120307635824c362.zip
Add sopium's protocol implementation and wg-standalone
Diffstat (limited to 'src/crypto/mod.rs')
-rw-r--r--src/crypto/mod.rs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/crypto/mod.rs b/src/crypto/mod.rs
new file mode 100644
index 0000000..6bc8402
--- /dev/null
+++ b/src/crypto/mod.rs
@@ -0,0 +1,19 @@
+// Copyright 2017 Sopium
+
+// This file is part of WireGuard.rs.
+
+// WireGuard.rs is free software: you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+
+// WireGuard.rs is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with WireGuard.rs. If not, see <https://www.gnu.org/licenses/>.
+
+mod hchacha20;
+pub mod xchacha20poly1305;