interplane.Get Omega
Read in your language

aien-receipts

Append-only AIEN verification receipts, indexed by repository and exact source commit. Read verdicts, signatures and retained logs before making a claim.

Brought by drakestapleton

branch main Branches Tags History

aien-receipts / audit / tls / omega-mv / fips / timing / welch.md

26 lines · 1564 bytes Raw Blame History Rendered
1# Welch t-tests for the fips.om timing modes (dudect, fixed vs random class)
2
3Binary: /tmp/tlsproof/fipsmodule/timing, sha256 0613f66e4961d03d2ac2b028b7895859b2e28d63cf941c7512fe47aed8711280
4(built from om/tls/test/tls/timing.om with health-test cut-offs H = 7, i.e. FHRCT1 6 / FHAPT1 25;
5the final code uses H = 6, FHRCT1 7 / FHAPT1 34. Only the two constants changed; fips_ht executes the
6same instructions for every sample value, so the timing rows are expected to carry over — untested.)
7Samples: *.txt in this directory, SHA256SUMS. N = 50000 (health, drbg), 20000 (pct).
8Cores: cpu0 = Cortex-A725, cpu5 = Cortex-X925, pinned with taskset, nice -n 19.
9
10Statistic computed in Wolfram from per-class (n, sum, sum of squares):
11mv[{n_,s_,q_}]:={s/n,(q-s^2/n)/(n-1),n}; welch[a_,b_]:=(a[[1]]-b[[1]])/Sqrt[a[[2]]/a[[3]]+b[[2]]/b[[3]]]
12"crop90" = samples above the pooled 90th percentile removed.
13
14| run | full t | crop90 t | label |
15|---|---|---|---|
16| drbg-cpu0 | 1.13 | 1.07 (means 17866.7 vs 17865.6 ns) | MEASURED |
17| drbg-cpu5 | 1.81 | -0.88 | MEASURED |
18| health-cpu0 | 1.02 | 3.97 (means 1704.24 vs 1703.47 ns) | MEASURED |
19| health-cpu0-run2 | -1.19 | 3.41 | MEASURED |
20| health-cpu5 | -1.01 | 1.51 | MEASURED |
21| pct-cpu0 | 0.03 | -0.15 | MEASURED |
22| pct-cpu5 | 1.63 | -0.59 | MEASURED |
23
24Every |t| < 4.5 (the dudect flag). The cropped health rows on cpu0 are positive in both runs
25(under 1 ns of ~1700 ns): below the threshold, consistent in sign, not root-caused. A dudect pass is
26evidence of no detected leak at this N, not a proof of constant time.