wycheproof-rs
wycheproof-rs copied to clipboard
cargo-wycheproof
There is a cargo-fuzz
that generates sub-crate under fuzz directory where people then plumb the input from fuzzer/s.
I wonder if it would be feasible to do cargo-wycheproof that generates similar thing/s for this ?
e.g. it could generate wycheproof directory under the crate that is under test and then people just plumb the needed input
It could easen up plumbing up everything to right place directed - e.g. I just plumbed ed25519-dalek manually here:
- https://github.com/dalek-cryptography/curve25519-dalek/pull/640
My thing currently generates generated.rs that feeds from lib.rs where the input proxy is for test cases but it's tedious as I have to add both the codegen plumbing separately.
Where as I could say cargo wycheproof
and then just only plumb the test codegen to input.