Add fuzzing harness for Keccak and SHA3_256.
See doc/fuzzing.md for information on how to fuzz Bitcoin Core. Don't forget to contribute any coverage increasing inputs you find to the Bitcoin Core fuzzing corpus repo.
Happy fuzzing :)
Add fuzzing harness for Keccak and SHA3_256.
See doc/fuzzing.md for information on how to fuzz Bitcoin Core. Don't forget to contribute any coverage increasing inputs you find to the Bitcoin Core fuzzing corpus repo.
Happy fuzzing :)
I'm not sure how effective fuzzing is for testing these kind of hash functions, in practice, as there is very little branching, but, good to have this anyway. uACK fc7f84a9ca98ee0d9c2d1f092be6b5dba3f2a582
Concept ACK
utACK :) fc7f84a9ca98ee0d9c2d1f092be6b5dba3f2a582
ConsumeRandomLengthByteVector is cool, and the while consume<bool> is an interesting approach.