1[package]
2name = "bootsim"
3version = "0.1.0"
4authors = ["David Brown <davidb@davidb.org>"]
5edition = "2021"
6
7[features]
8default = []
9
10sig-rsa = ["mcuboot-sys/sig-rsa"]
11sig-rsa3072 = ["mcuboot-sys/sig-rsa3072"]
12sig-ecdsa = ["mcuboot-sys/sig-ecdsa"]
13sig-ecdsa-mbedtls = ["mcuboot-sys/sig-ecdsa-mbedtls"]
14sig-ecdsa-psa = ["mcuboot-sys/sig-ecdsa-psa", "mcuboot-sys/psa-crypto-api"]
15sig-p384 = ["mcuboot-sys/sig-p384"]
16sig-ed25519 = ["mcuboot-sys/sig-ed25519"]
17overwrite-only = ["mcuboot-sys/overwrite-only"]
18swap-move = ["mcuboot-sys/swap-move"]
19validate-primary-slot = ["mcuboot-sys/validate-primary-slot"]
20enc-rsa = ["mcuboot-sys/enc-rsa"]
21enc-aes256-rsa = ["mcuboot-sys/enc-aes256-rsa"]
22enc-kw = ["mcuboot-sys/enc-kw"]
23enc-aes256-kw = ["mcuboot-sys/enc-aes256-kw"]
24enc-ec256 = ["mcuboot-sys/enc-ec256"]
25enc-ec256-mbedtls = ["mcuboot-sys/enc-ec256-mbedtls"]
26enc-aes256-ec256 = ["mcuboot-sys/enc-aes256-ec256"]
27enc-x25519 = ["mcuboot-sys/enc-x25519"]
28enc-aes256-x25519 = ["mcuboot-sys/enc-aes256-x25519"]
29bootstrap = ["mcuboot-sys/bootstrap"]
30multiimage = ["mcuboot-sys/multiimage"]
31ram-load = ["mcuboot-sys/ram-load"]
32direct-xip = ["mcuboot-sys/direct-xip"]
33downgrade-prevention = ["mcuboot-sys/downgrade-prevention"]
34max-align-32 = ["mcuboot-sys/max-align-32"]
35hw-rollback-protection = ["mcuboot-sys/hw-rollback-protection"]
36
37[dependencies]
38byteorder = "1.4"
39libc = "0.2"
40rand = { version = "0.8", features = ["small_rng"] }
41docopt = "1.1.0"
42serde = "1.0"
43serde_derive = "1.0"
44log = "0.4"
45env_logger = "0.9"
46simflash = { path = "simflash" }
47mcuboot-sys = { path = "mcuboot-sys" }
48ring = "0.16.11"
49untrusted = "0.9"
50pem = "1.0"
51cipher = "0.3"
52aes = { version = "0.7.4", features = ["ctr"] }
53base64 = "0.13.0"
54typenum = "1.13.0"
55