-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
64 lines (51 loc) · 1.78 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
authors = ["Twitter: @npashi <[email protected]>"]
categories = ["embedded", "network-programming"]
description = "A prototype implementation of the Host Identity Protocol v2 for bare metal systems."
documentation = ""
edition = "2018"
homepage = ""
keywords = ["security", "host", "identity", "embedded", "networking"]
license = "Apache 2.0 or MIT"
name = "rustdhipv2"
readme = "README.md"
repository = ""
version = "0.1.0"
# Each example should have an explicit `[[example]]` section here to
# ensure that the correct features are enabled.
autoexamples = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
managed = {version = "0.7", default-features = false, features = ["map"]}
byteorder = {version = "1.3.4", default-features = false}
log = { version = "0.4.4", default-features = false, optional = true}
generic-array = { version = "0.14"}
heapless = {version = "0.5.5"}
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp.git", branch = "master"}
# crypto dependencies
elliptic-curve = "0.8.4"
ecdsa = "0.10.2"
p256 = {version = "0.7.1", features = ["ecdsa"]}
p384 = "0.6.1"
sha2 = {version = "0.9.2", default-features = false}
sha-1 = {version = "0.9.2", default-features = false}
hmac = {version = "0.10.1", default-features = false}
aes = {version = "0.6.0", default-features = false}
block-modes = {version = "0.7.0", default-features= false}
hkdf = {version = "0.10.0", default-features = false}
rand = {version = "0.7"}
rand_chacha = "0.3.0"
num-traits = "0.2.14"
num-bigint-dig = {version = "0.6.1"}
# debugging
libc-print = "0.1.15"
[dev-dependencies]
env_logger = "0.8.2"
getopts = "0.2.21"
[features]
std = []
default = ["std", "log"]
[[example]]
name = "hip_initiator"
[[example]]
name = "hip_responder"