Move parser code to zerocopy

This commit is contained in:
Mathias Hall-Andersen
2019-07-26 15:46:24 +02:00
parent 43b56dfb58
commit 5efb318171
5 changed files with 138 additions and 151 deletions

View File

@@ -3,7 +3,7 @@ name = "wg-handshake"
version = "0.1.0"
authors = ["Mathias Hall-Andersen <mathias@hall-andersen.dk>"]
edition = "2018"
license = "GPL-3.0"
license = "MIT"
[dependencies]
hex = "0.3"
@@ -13,6 +13,8 @@ blake2 = "0.8.0"
hmac = "0.7.1"
rust-crypto = "^0.2"
generic-array = "0.12.3"
zerocopy = "0.2.7"
byteorder = "1.3.1"
[dependencies.x25519-dalek]
version = "^0.5"