Skip to content

Add fuzz tests for secp256 operations [1] - #80

Merged
Hrom131 merged 5 commits into
devfrom
feat/secp256-fuzz
Nov 20, 2026
Merged

Hrom131 merged 5 commits into
devfrom
feat/secp256-fuzz

Conversation

@ikripaka

@ikripaka ikripaka commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator
  • This PR suggests a bug fix and I've added the necessary tests.
  • This PR introduces a new feature and I've discussed the update in an Issue or with the team.
  • This PR is just a minor change like a typo fix.

Add helpers and related fuzz tests for the secp256 folder.

To avoid overwhelming GitHub Actions, I added a fuzz entry in Simplex.toml with 100 fuzz cases.

[test.fuzz]
cases = 100

Base automatically changed from dev to master November 4, 2026 15:13
@ikripaka
ikripaka force-pushed the feat/secp256-fuzz branch 2 times, most recently from c7fa4f2 to 5d20faf Compare November 4, 2026 15:25
@ikripaka
ikripaka changed the base branch from master to dev November 4, 2026 15:25
@ikripaka ikripaka changed the title Add fuzz tests for secp256 operations Add fuzz tests for secp256 operations [1] Nov 4, 2026
@ikripaka
ikripaka marked this pull request as ready for review November 5, 2026 20:28
@ikripaka ikripaka mentioned this pull request Nov 5, 2026
1 of 3 tasks
@ikripaka

Copy link
Copy Markdown
Collaborator Author

Rebased onto current dev 579cee9.

@ikripaka
ikripaka requested a review from Hrom131 November 12, 2026 15:11
Comment thread tests/stdlib/secp256k1/core.rs Resolved
Comment thread tests/stdlib/secp256k1/core.rs Resolved
Comment thread tests/stdlib/secp256k1/core.rs Resolved
Comment thread tests/stdlib/common/fuzz.rs Resolved
* fix execution vectors
@ikripaka
ikripaka requested a review from LesterEvSe November 18, 2026 10:04

@LesterEvSe LesterEvSe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 84a9a7b; tested locally with simplex test --test-threads 8, cargo test secp256k1::operations:: and simplex test --fuzz --test-threads 6

@ikripaka ikripaka left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 66cda77

I like this suggestion.

@Hrom131
Hrom131 merged commit 81d369c into dev Nov 20, 2026
4 checks passed
@Hrom131
Hrom131 deleted the feat/secp256-fuzz branch November 20, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants