Repository navigation
v2.0.0: Hardened Independent Verifier & Anti-Tamper Framework
SHA-256 Research Framework v2.0.0
Release Highlights
1. Segregated Independent Reference Verifier Engine
- Eliminated common-mode software failure by providing IndependentVerifier with an isolated FIPS 180-4 reference engine.
- Zero code shared with Sha256Scalar; independent round execution, constant tables, padding logic, and state.
- Standalone verification gate rejecting identical inputs, tampered hashes, and custom-IV claims.
2. Strict Anti-Clamping Policy
- Replaced silent std::min(rounds, 64) clamping with explicit argument validation in CLI (src/cli/main.cpp) and SAT encoder (src/sat/sat_encoder.cpp).
- Requests with
ounds < 1 or
ounds > 64 explicitly fail closed and throw exceptions.
3. Expanded Verification Suite (5 CTest Targets, 100% Pass Rate)
- sha-tests (21 tests): Exhaustive primitive mathematical correctness, boundary sweep (0..130 bytes, 55, 56, 64, 65, 119, 120, 128 bytes), streaming chunked hashing, backend equivalence, search partitioning, Tseitin SAT semantics, and solver replay.
- sha-adversarial-tests (8 tests): 1-bit tampering detection, identical input spoofing, evidence artifact hashing, custom-IV classification, reduced-round conflation rejection, zero-round rejection, over-claimed rounds rejection, and metadata forgery rejection.
- ** est-million-a**: NIST CAVP long-message (1,000,000 'a') verification against golden digest cdc76e5c9914fb9281a1c7e284d73e67f1809a48a497200e046d39ccc7112cd0.
- �erifier-kat & �erifier-negative: Independent reference engine NIST KATs and hostile rejection test suites.
4. SPIR-V & CI Hardening
- Fixed 32-bit shift in shaders/search.comp when target zero bits is 0. Recompiled SPIR-V binaries.
- Enforced $LASTEXITCODE check in all CI PowerShell steps to prevent silent step failures.
Scientific Integrity Statement
No standard full SHA-256 collision demonstrated.
Standard full 64-round SHA-256 remains computationally secure and unbroken.