Repository navigation
Merged
Conversation
added 2 commits
November 11, 2026 01:27
bench.w, runner.w and testing.w did not compile (`-> void`, `&mut T`, the old match-subject syntax) and had no caller in src/, lib/, tools/, build/ or test/; the harness in use is std.testing and `with test`. Law 9.
…56 and ECDSA that run; the dead tests/ directory goes std.crypto.hmac, bigint, ec, ecdsa and std.tls's PRF had no test that ran: the suites under tests/ were written in a syntax the compiler stopped reading (`unsafe:` prefixes, `-> void`, `&mut`), and nothing in the build names that directory. Each module gains a known-answer function beside aes128_gcm_kat's precedent, checked by one behavior fixture: - HMAC-SHA256: RFC 4231 test case 2. - Modular exponentiation: 3^7 mod 13 and 4^13 mod 497. - P_SHA256: the TLS working group's vector. - P-256: the public key of 1 is G. - ECDSA P-256: RFC 6979 A.2.5 verifies, and is refused over a digest with one bit flipped. tests/ (16 files, none compiling, none referenced) is deleted (law 9). ec.w's "Public API" header named module-private functions; it says what they are.
ehartford
marked this pull request as ready for review
November 11, 2026 09:44
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1053, #1055, #1063, #1066. Deletes the top-level
tests/directory: 16 files, none compiling, none referenced by the build (law 9).Battery: GREEN on the stack top 0855fa8 (
out/battery/battery.log: rc=0 green; uat 12 pass, 1 skip byplatforms:), one battery for stack #3253, run after rebasing onto main b7a01bd.