Repository navigation
Conversation
4f8b086 to
ffd88b1
Compare
|
Review: hold pending the changes below. Combine this with #67 into a consistent SHA256 midstate contract, and align continuation semantics with #71/#73. Share padding/byte-order vectors and add active focused metrics. Historical local validation (September 11, at this unchanged PR head): Rebase on current main, address the specific gaps above, and run the affected correctness and active metric checks. Broad/full-repository runs are not requested. Reviewed commit: |
|
Superseded by #67.\n\nThe implementation and evidence are preserved in #67's consolidated SHA-256 midstate contract for both u32 and u4 backends. That update uses one real 64-byte-prefix midstate fixture, the same 16-byte suffix vectors, the 640-bit final length, active focused metric coverage, and the corrected witness/stack documentation. |
Summary
The fragment does not authenticate the supplied state against the prefix; callers must bind that relationship. The measured script exceeds ordinary script-size and policy limits, so deployment remains unclassified.
Tests
python3 tools/kb.py validatecargo test --locked hashes::sha256::sha2_u4::tests::test_sha256_80bytes_from_midstate -- --nocapturecargo test --locked --test primitive_metrics(6 passed, 1 ignored)