summaryrefslogtreecommitdiffstats
path: root/src/handshake
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-27 21:17:55 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-27 21:17:55 +0200
commitcdbcd55eda5a153b6fa7b0e871308286eae7cb54 (patch)
tree6988f08200ddd2a14187b90f29ee9e5c889b202b /src/handshake
parentRemoved unused sub-module (diff)
downloadwireguard-rs-cdbcd55eda5a153b6fa7b0e871308286eae7cb54.tar.xz
wireguard-rs-cdbcd55eda5a153b6fa7b0e871308286eae7cb54.zip
Added sealing/opening to the router worker
Diffstat (limited to 'src/handshake')
-rw-r--r--src/handshake/macs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake/macs.rs b/src/handshake/macs.rs
index 721fc88..5773f3d 100644
--- a/src/handshake/macs.rs
+++ b/src/handshake/macs.rs
@@ -194,7 +194,7 @@ struct Secret {
}
pub struct Validator {
- mac1_key: [u8; 32], // mac1 key, derieved from device public key
+ mac1_key: [u8; 32], // mac1 key, derived from device public key
cookie_key: [u8; 32], // xchacha20poly key for sealing cookie response
secret: RwLock<Secret>,
}