diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-07-30 15:28:11 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-07-30 15:28:11 +0200 |
commit | 1cfd5aea1aba4b01905414351df13e8f5d4dfb1c (patch) | |
tree | 1ddc2d7a08a486676e9cf045f31a1fe0d5714bc5 /src/noise/mod.rs | |
parent | Begin work on MAC field processing (diff) | |
download | wireguard-rs-1cfd5aea1aba4b01905414351df13e8f5d4dfb1c.tar.xz wireguard-rs-1cfd5aea1aba4b01905414351df13e8f5d4dfb1c.zip |
Move to nested handshake message structure
Having the nested structure:
Handshake Message:
Noise part (zerocopy message)
MAC footer part (zerocopy message)
Greatly simplifies processing the MAC fields,
since the MAC footer covers the noise part, which can
be accessed as bytes using AsBytes.
Diffstat (limited to 'src/noise/mod.rs')
-rw-r--r-- | src/noise/mod.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/noise/mod.rs b/src/noise/mod.rs deleted file mode 100644 index d48b5e0..0000000 --- a/src/noise/mod.rs +++ /dev/null @@ -1,18 +0,0 @@ -/* Implementation of the: - * - * Noise_IKpsk2_25519_ChaChaPoly_BLAKE2s - * - * Protocol pattern, see: http://www.noiseprotocol.org/noise.html. - * For documentation. - */ - -mod device; -mod messages; -mod noise; -mod peer; -mod timestamp; -mod types; - -// publicly exposed interface - -pub use device::Device; |