Switch Sha256 to using bitcoin_hashes and our own HKDF
[rust-lightning] / fuzz / Cargo.toml
index 01311f206776d29725f7e4433612262d4c2bd639..c1069d32c184b9cee3e26e01a31bff191f7fdb5a 100644 (file)
@@ -18,10 +18,10 @@ honggfuzz_fuzz = ["honggfuzz"]
 [dependencies]
 afl = { version = "0.4", optional = true }
 lightning = { path = "..", features = ["fuzztarget"] }
-bitcoin = { version = "0.14", features = ["fuzztarget"] }
+bitcoin = { version = "0.15", features = ["fuzztarget"] }
+bitcoin_hashes = { git = "https://github.com/TheBlueMatt/bitcoin_hashes", branch = "rust-lightning-dep", features=["fuzztarget"] }
 hex = "0.3"
 honggfuzz = { version = "0.5", optional = true }
-rust-crypto = "0.2"
 secp256k1 = { version = "0.11", features=["fuzztarget"] }
 
 [build-dependencies]
@@ -31,14 +31,14 @@ cc = "1.0"
 [workspace]
 members = ["."]
 
+[profile.release]
+lto = true
+codegen-units = 1
+
 [[bin]]
 name = "peer_crypt_target"
 path = "fuzz_targets/peer_crypt_target.rs"
 
-[[bin]]
-name = "channel_target"
-path = "fuzz_targets/channel_target.rs"
-
 [[bin]]
 name = "full_stack_target"
 path = "fuzz_targets/full_stack_target.rs"