Skip to content

Conversation

@practicalswift
Copy link
Contributor

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 :)

@laanwj laanwj added the Tests label Sep 10, 2020
@laanwj
Copy link
Member

laanwj commented Sep 11, 2020

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 fc7f84a

@theStack
Copy link
Contributor

Concept ACK

@elichai
Copy link
Contributor

elichai commented Sep 16, 2020

utACK :) fc7f84a
ConsumeRandomLengthByteVector is cool, and the while consume is an interesting approach.

@laanwj laanwj merged commit be3af4f into bitcoin:master Sep 16, 2020
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Sep 16, 2020
fc7f84a tests: Add fuzzing harness for Keccak and SHA3_256 (practicalswift)

Pull request description:

  Add fuzzing harness for Keccak and SHA3_256.

  See [`doc/fuzzing.md`](https://github.com/bitcoin/bitcoin/blob/master/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](https://github.com/bitcoin-core/qa-assets).

  Happy fuzzing :)

ACKs for top commit:
  laanwj:
    uACK fc7f84a
  elichai:
    utACK :) fc7f84a

Tree-SHA512: 01e1610e1c178d5f42578e2dd5644a4165596db34cf5037d574a5285e0ace4b06dc33ab81a308595246117537fe175294efd4bfc174ffc2e8eac98f0ec9dd3e9
@practicalswift practicalswift deleted the fuzzers-keccak-and-sha3_256 branch April 10, 2021 19:42
kwvg added a commit to kwvg/dash that referenced this pull request Jul 15, 2022
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants