diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-27 21:17:55 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-27 21:17:55 +0200 |
commit | cdbcd55eda5a153b6fa7b0e871308286eae7cb54 (patch) | |
tree | 6988f08200ddd2a14187b90f29ee9e5c889b202b /src/handshake | |
parent | Removed unused sub-module (diff) | |
download | wireguard-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.rs | 2 |
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>, } |