interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / qualification / security673 / relational / SC1-L.txt

58 lines · 4860 bytes Raw Blame History
1SC1-L relational comparison profile, revision2
2Composition contract ced61decef1ff4efbf5bc81598db648aa810be434e373e9bc1563dbcb4523496.
3
4Source entry: compare32(a:view uchar32,b:view uchar32)->ulong.
5Public: both valid, stable entry addresses; fixed extent32; caller and runtime ABI.
6Secret: every byte in a[0,32) and b[0,32). No initially public memory declaration.
7Views may overlap because the primitive only reads. Mappings must remain stable and readable;
8concurrent mutation, invalid foreign pointers and asynchronous interference are outside this slice.
9No helpers, allocations, stores, I/O, mutable globals, early exits or variable divisors occur.
10All32 positions are explicitly listed. The earlier loop source also passed the scanner; the
11straight-line form was selected to bind the WHOLE raw function byte-for-byte inside the native
12paired executable, including its return, without relocated trap stubs. No scan instruction is omitted.
13
14Disclosure policy SC1-L-EQ1: exactly the final equality bit (1 equal, 0 different) may be returned.
15No pointer, mismatch position, intermediate byte, hash value, secret length or error is disclosed.
16The accumulator is bytewise OR of XORs, hence in[0,255]. Unsigned u64(d)-1 wraps only when d=0;
17logical shift right63 produces exactly the equality bit. This uses existing modulo semantics.
18The source annotations are a reviewed contract, not enforced information-flow types or sealing.
19A conversion from a secret value is not authorization to disclose it. The scanner does not check
20output declassification, so the native functional test and independent source review are separate.
21
22Observation model SC1-L-ARCH1: architectural conditional control-flow decisions, effective memory
23addresses, iteration counts, trap/error outcomes, and the disclosed result. Different results are
24allowed only by EQ1. Publicly equivalent inputs producing the same disclosed result must have the
25same other observations. Valid pointer identity and runtime are held fixed across a pair.
26Execution is sequential Linux AArch64 little-endian with OM-1 function ABI, main omc
27734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61, no optimizer flags.
28Scanner assumptions, decode subset and ABI invariant A1 remain those in pinned PR752 README.txt.
29No instruction latency, cache, speculation, branch predictor, power, OS scheduling, memory fault,
30shared-resource or physical-time property is claimed. No statistical timing test is a secrecy proof.
31The stronger SC1 revision2 policy separately forbids secret-dependent UDIV/SDIV. Current scanner
32taint propagation does not enforce that policy: dividend.om (secret dividend, constant divisor7,
33constant output0) scans PASS. It is UNQUALIFIED under that policy, not a successful negative kill.
34L4 division is BLOCKED pending the existing scanner owner's extension or reviewed division-free
35artifact admission. division.om's secret zero-check refusal does not close this gap.
36
37Controls: branch/helper/error/division/dividend entry x0 is secret; address x1 is secret and pointer
38x0 is public, with pub:0:0:16. public-branch has x0 public,x1 secret. public-address has x0 pointer
39public,x1 selector public,x2 secret, with pub:0:0:16. Initial public table words are7,7.
40dividend returns constant0 but still computes a secret-dependent division. Other scalar controls
41return constant7 except the explicit error/early fixtures. Public declarations label content,
42not addresses; no blanket declassification. For the omnet profile, request length and public
43candidate count/shape are public under SC1 revision2, not inferred secret-length hiding.
44
45Nondeterminism: source choice in{0,1} is independent of secret in{0,1}. Hold the same choice across
46a secret pair. The faulty lowering returns the secret, so ordinary per-run inclusion4/4 holds,
47but both same-choice pairs differ. This is a four-state finite counterexample, not an actual
48nondeterministic feature in omc and not a proof of hyperproperty-preserving compilation.
49
50Evidence classes: native paired functional execution; finite model enumeration; scanner finite
51static architectural evidence. Dynamic hardware instruction/address trace capture is NOT_RUN.
52Mechanized relational proof, general translation validation and signed receipts are NOT_RUN.
53The #623/#624 owners must supply native relation plus authenticated target/model/disclosure/checker
54binding before promoting this evidence. Current gate re-derives recorded artifacts and pins
55requested emitted bytes; it cannot certify disclosure policy, target metadata or leakage model.
56L6 real daemon emitted-word plus call/return/observation correspondence is BLOCKED; byte containment
57inside this test harness does not qualify a real program-mode daemon. L7 remains a baseline audit
58and closure inventory, not qualification of the changed omnet proposal or whole secret closure.