aboutsummaryrefslogtreecommitdiffstats
path: root/src/timestamp.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-07-16 23:37:25 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-07-16 23:37:25 +0200
commit5a5d09bb416e06db6559d635dcbde46a52533b3b (patch)
tree7fa8a41352959f9c73b5381a845aa900b4eb3770 /src/timestamp.rs
parentTest precomputed values (diff)
downloadwireguard-rs-5a5d09bb416e06db6559d635dcbde46a52533b3b.tar.xz
wireguard-rs-5a5d09bb416e06db6559d635dcbde46a52533b3b.zip
Create initiation message
Diffstat (limited to 'src/timestamp.rs')
-rw-r--r--src/timestamp.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/timestamp.rs b/src/timestamp.rs
new file mode 100644
index 0000000..ba5c2f1
--- /dev/null
+++ b/src/timestamp.rs
@@ -0,0 +1,5 @@
+pub type TAI64N = [u8; 12];
+
+pub fn new() -> TAI64N {
+ [0u8; 12] // TODO
+}