Skip to content

[DO NOT MERGE] Code used for BLS-12-381 vector generation#226

Closed
tob-scott-a wants to merge 6 commits intoC2SP:mainfrom
tob-scott-a:vecgen
Closed

[DO NOT MERGE] Code used for BLS-12-381 vector generation#226
tob-scott-a wants to merge 6 commits intoC2SP:mainfrom
tob-scott-a:vecgen

Conversation

@tob-scott-a
Copy link
Contributor

tob-scott-a and others added 6 commits March 12, 2026 08:20
The methodology for generating this test vectors is as follows:

1. Source several high-quality implementations.
2. Run mutation testing on each of them.
3. Have Claude write additional test inputs intended to trigger more
   behaviors in internal functions not currently exercised by the
   incumbent test suites.
4. Re-run the mutation testing framework with the new Wycheproof harness
   and new JSON files.
5. Compare before/after.

The end result are a set of static tests that ensure implementations do not
have subtle mistakes that the barebones known answer tests do not detect.
Go's json.Marshal HTML-escapes > as \u003e; reformat_json.py expects
literal >= characters.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant