-
Notifications
You must be signed in to change notification settings - Fork 37.7k
[Fuzz] Poly1305 differential fuzzing against Floodyberry's implementation #23322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6331453
to
d2af151
Compare
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsNo conflicts as of last run. |
Concept ACK on introducing more differential fuzzing Ideas for further differential fuzzing:
|
Code review ACK d2af151 |
Co-authored-by: Ruhi <44024636+stratospher@users.noreply.github.com>
Co-authored-by: Ruhi <44024636+stratospher@users.noreply.github.com>
Co-authored-by: Ruhi <44024636+stratospher@users.noreply.github.com>
d2af151
to
a208e06
Compare
Are you still working on this? |
Yes, I'm still working on this. I'm looking for concept ACKs for this approach. Also wondering whether differential fuzzing between c++ and python implementations would be more valuable? (See #23441 (comment) also.) I'll update soon regarding the ci fuzz crash. |
I don't think differential fuzzing with a Python implementation is worth it (much slower, and much harder due to cross-language comparing). There is also nothing particularly authoritative about any given Python implementation; in the end it's comparison with actually-deployed poly1305 code we want. |
I was thinking of the python implementation in the functional testing framework but this makes sense. |
FWIW, I didn't mean to suggest to close this PR. I meant that I don't think fuzzing against a Python implementation adds anything compared to what this PR was aiming to do. |
thanks for clarifying! I find the reference and current implementation to be similar for a good differential fuzz test now. I'd like to understand more about how differential fuzzing is done in other projects before continuing with this PR. |
This PR compares Bitcoin Core's implementation of Poly1305 with Floodyberry's public domain implementation in order to find implementation discrepancies if any.
Instructions to test this PR:
Step1: Fetch the pull request
Step2: Switch to the pull request branch and run the following commands: