Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/om/sha256/om2-evidence/s3/README.txt # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / om / sha256 / om2-evidence / s3 / README.txt` 41 lines ยท 3147 bytes Raw Blame History 1 S3 reduced-unit check (L838, 2026-10-25). Evidence class HOST (GB10 host CPU, AArch64 Linux), no GPU. 2 TEMPORARY, like s1/ and s2/: not the delivered unit; removed when the delivered unit compiles. 3 4 Compiler: aien-dev/om2/compiler-s3 @ `ad220c05` (PR #754), omc sha256 5 `98cd1621ca4f69c5589641b3437e7e512838596fdfbf2f7775a48de19c284b16` 6 (CompilerLane's ~/workspace/om2-compiler/seed/out/omc; equals the announced pin; not re-born here) 7 Unit: sha256-s3.om (351 lines, built by gen.py from the delivered unit), sha256 8 `6d18716348c2b2181aa4e41cccd96c1172a6bea5fda0e667e40dcb417d2f9d02` 9 Byte for byte from the delivered unit (checked by diff): layout shactx (state uint 8, count scalar 10 per E5, buf uchar 64), kinit, iv, rounds, finish. sched keeps `w edit uint 64 fresh` and its body; 11 sched/compress take `m view uchar 128 o ulong` instead of `m view uchar * o ulong` (S4). 12 sha256_init (no export) and sha256_final (o edit, not out) bodies verbatim; sha256_update takes 13 (d view uchar 128, n) instead of len d. absorb is reduced (completes one pending block from at most 14 64 new bytes; no blocks/run/part). Program mode: stdin in chunks 1, 64, 3, 55, 63, 56, 17 bytes with 15 an empty update after each, digest as hex. 16 Receipts in main, exit 3 on mismatch: 17 E3 copy: a byte copy k of the live context c after the third chunk, k continued with every later 18 chunk; final(k) must equal final(c). 19 section 7 reuse: r = init, update(50 zero bytes) twice, final, then init again and fed every 20 chunk alongside c; final(r) must equal final(c). 21 Output: s3.bin, sha256 `8cf843bb78017d5678c7484c5db718fd68eebd68a57fb580ab8a421729daa6a0`, ELF64 22 AArch64; a second compile is byte-identical. 23 24 Results 25 omc < sha256-s3.om > s3.bin exit 0 26 python3 harness.py ./s3.bin vectors pass=158 fail=0 (vectors.out): 27 every vector's digest correct AND both receipts held (exit 0) on all 158 messages 28 Mutants (sed on a copy): 29 copy loop 104 -> 32 bytes (copy drops count, buf) pass=2 fail=156, all 156 exit 3 30 (the 2 passing rows, checked: fips-empty and seq-0, both the empty message: count 0, nothing buffered) 31 sha256_init without `put c count 0` pass=0 fail=158, all exit 3 (reuse receipt) 32 sched loads 15 words instead of 16 (w[15] unwritten) compile error 27, line 109 33 omc-diag 1 code=27 sev=error line=109 col=17 ... obligation=init (`y = get w add i 14`, i=1) 34 field count at 31 (overlaps state) compile error 29, line 14 (the field line) 35 field buf at 41 (past SIZE 104) compile error 29, line 15 36 rotr e 11 -> rotr e 12 pass=0 fail=158 (digest only) 37 Code (objdump 2.42): s3.bin 22468 bytes, 5604 insns, ROR imm 576, LDR imm 360, LDR reg 92 38 (s2 test unit: 17648 / 4399 / 576 / 336 / 65). Programs differ in main and absorb, so this is not 39 a like-for-like size comparison; ROR count is unchanged. 40 Delivered unit under S3: "omc: line 114: error 16", now at col 44 (found `*`, the unsized view, S4); 41 `fresh` on the same line is accepted.