* Add crate arbitrary as ctap's optional dependency, when feature "fuzz" is activated. * Derive Arbitrary for all the necessary types in order to generate the concrete types from random bytes. * Add a fuzz target that transforms the input to valid format for MakeCredential.
17 lines
552 B
TOML
17 lines
552 B
TOML
[package]
|
|
name = "fuzz_helper"
|
|
version = "0.1.0"
|
|
authors = ["Mingxiao Guo <mingxguo@google.com>"]
|
|
license = "Apache-2.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
arrayref = "0.3.6"
|
|
embedded-time = "0.12.1"
|
|
libtock_drivers = { path = "../../third_party/libtock-drivers" }
|
|
crypto = { path = "../../libraries/crypto", features = ['std'] }
|
|
sk-cbor = { path = "../../libraries/cbor" }
|
|
ctap2 = { path = "../..", features = ["fuzz"] }
|
|
lang_items = { path = "../../third_party/lang-items", features = ['std'] }
|
|
arbitrary = { version = "0.4.7", features = ["derive"] }
|