CodeQL / Unbounded write
This 'call to strcpy' with input from string read by fread may overflow the destination.
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
This 'call to strcpy' with input from string read by fread may overflow the destination.
This 'call to strcpy' with input from string read by fread may overflow the destination.
This 'call to strcpy' with input from string read by fread may overflow the destination.
curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/3ab8e9b2d7ebbdce.bundle -o 3ab8e9b2d7ebbdce.bundle git fetch 3ab8e9b2d7ebbdce.bundle refs/pull/979/head
github-import 1
aien-dev/omega-mv
979
ad505f528013da38bae8ae31187615c4c8a20f13
{"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":979,"url":"https://github.com/aien-dev/omega-mv/pull/979","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:38Z","metadata":"unavailable","state_derived":true}
diff --git a/.clusterfuzzlite/Dockerfile b/.clusterfuzzlite/Dockerfile new file mode 100644 index 000000000..0282bcf74 --- /dev/null +++ b/.clusterfuzzlite/Dockerfile @@ -0,0 +1,6 @@ +# ClusterFuzzLite build image for the om/tls fuzz targets (black-box: driver coverage only). +FROM gcr.io/oss-fuzz-base/base-builder +RUN apt-get update && apt-get install -y qemu-user-static zip +COPY . $SRC/omega-mv +WORKDIR $SRC/omega-mv +COPY .clusterfuzzlite/build.sh $SRC/ diff --git a/.clusterfuzzlite/build.sh b/.clusterfuzzlite/build.sh new file mode 100644 index 000000000..ddac4d22a --- /dev/null +++ b/.clusterfuzzlite/build.sh @@ -0,0 +1,26 @@ +#!/bin/bash -eu +# DRAFT (never submitted). OSS-Fuzz / ClusterFuzzLite build: compile each om/tls fuzz target with the pinned +# omc (aarch64, run through qemu-aarch64-static), then one labelled host-tooling libFuzzer driver per target. +# Guide: https://google.github.io/oss-fuzz/getting-started/new-project-guide/ +cd "$SRC/omega-mv" +F=om/tls/test/fuzz +# om/tls/build.sh execs "$1" as one argv. A space-joined qemu command is looked up as a +# single filename and fails with "not found" (PR address check, job 121881757564). +cat > "$WORK/omc-qemu" << EOF +#!/bin/sh +exec qemu-aarch64-static "$SRC/omega-mv/seed/out/omc" "\$@" +EOF +chmod +x "$WORK/omc-qemu" +for t in fz_flight fz_hs fz_x509 fz_pem fz_dns fz_http fz_https; do + cat seed/net/http.om seed/net/https.om $F/common.om $F/$t.om > "$WORK/$t.prog.om" + # The integrity tool build.sh compiles is aarch64 too; run it the same way (job 124384893839: + # "fz_flight.om.bin.tmp.itool: Exec format error"). + OMTLS_RUN=qemu-aarch64-static sh om/tls/build.sh "$WORK/omc-qemu" "$WORK/$t.prog.om" "$OUT/$t.om.bin" + $CC $CFLAGS -c $F/oss-fuzz/omexec_fuzzer.c -o "$WORK/omexec.o" + $CXX $CXXFLAGS "$WORK/omexec.o" $LIB_FUZZING_ENGINE -o "$OUT/$t" + case $t in fz_flight|fz_hs|fz_x509) a=fzstore.pem;; fz_pem) a=chain.bin;; *) a=;; esac + [ -n "$a" ] && cp $F/seeds/$a "$OUT/$a" + printf '[libfuzzer]\nmax_len = 65536\n' > "$OUT/$t.options" + [ -n "$a" ] && printf '%s\n' "$OUT/$a" > "$OUT/$t.arg" + (cd $F/seeds/$t && zip -q "$OUT/${t}_seed_corpus.zip" *) +done diff --git a/.clusterfuzzlite/project.yaml b/.clusterfuzzlite/project.yaml new file mode 100644 index 000000000..b455aa397 --- /dev/null +++ b/.clusterfuzzlite/project.yaml @@ -0,0 +1 @@ +language: c diff --git a/.crumb b/.crumb index 7591e4474..a4721f628 100644 --- a/.crumb +++ b/.crumb @@ -47,8 +47,8 @@ "purpose": "Directory calibration. Purpose not yet described by a human." }, { - "digest": "0b0dc279d12f55baae03672d30aaddc021cb5b0700f4b0cb5060aa2ea16caf95", - "last_commit": "f5c9bd89a", + "digest": "ea388ed4a2b02a78ae7b648bc725a37f5caa270eadd16f324e34a4cadbe2c7c2", + "last_commit": "8be6f9941", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -59,20 +59,20 @@ "purpose": "Directory doctrine. Purpose not yet described by a human." }, { - "digest": "53e1795a99de5ea48a195efccb27465f40c82628d663033cdf2fec9b90143b48", - "last_commit": "f5c9bd89a", + "digest": "433a4a8f9136953b8b117742979d0a72ca80e184c7334733c258c34fee783758", + "last_commit": "a773c94b5", "name": "mk", "purpose": "Directory mk. Purpose not yet described by a human." }, { "digest": "e3b64c1dcb1f3780099de62f72c818627e4dfea55a7978c84170d0d31126b162", - "last_commit": "f5c9bd89a", + "last_commit": "81404672e", "name": "native", "purpose": "Handwritten .om units of omega-mv that are not part of the seed ladder: the ORIG-4 shadow adviso" }, { "digest": "0cf0eba142c8b72205e4a3f002c1899f3961b07e3188815460d8f09673c69b88", - "last_commit": "f56a372ae", + "last_commit": "1d6277d75", "name": "neuralese", "purpose": "Bounded untrusted representation envelopes and explicit checked Omega decoding; learned extensio" }, @@ -84,38 +84,38 @@ }, { "digest": "c48e49ac936f1ca243f52f7464c9503249e1c057a7fd64d405c369efda42ca69", - "last_commit": "f5c9bd89a", + "last_commit": "64942e2df", "name": "spec", "purpose": "Directory spec. Purpose not yet described by a human." }, { - "digest": "2e166f32c0d101b4f78705870bd8213809296312aed76cffceae737f9f9d0b86", - "last_commit": "f5c9bd89a", + "digest": "2b1f6a7cc1f495b61295d671fbfa1d28c8a70e60a0027aae54004950f8b3c9e2", + "last_commit": "3c983bc35", "name": "src", "purpose": "Directory src. Purpose not yet described by a human." }, { - "digest": "3b3c30d517c9d2367e90906a585b5cc1f8c3f1ab1a1afe3da045b7507250fa83", - "last_commit": "6a6939e96", + "digest": "7da8be2f96d621486ed03ea16d7ec3f3e922f9fde6ad14c127aaf8b8f5cc4992", + "last_commit": "8be6f9941", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, { - "digest": "1da62f1e28f3b743a58c3cc1d6b8cb3298621d0fb3c258626c57cfc027196ea6", - "last_commit": "f5c9bd89a", + "digest": "14876755ba307b209e117b1b52937476bd6f6f80751a0006751b0734ff35dd3a", + "last_commit": "8be6f9941", "name": "tools", "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:c41451f0b7fca2f08f0a418b58ebc17d62f080371ce28587bbe1d0e7c24f3337", - "compiled_at": "2026-10-31T00:31:50Z", + "children_root": "sha256:b376dae462f2084266e2797caadbacf561ba57fe1a29c9b73126bf030585f5db", + "compiled_at": "2026-10-31T01:00:52Z", "compiler": "crumb-compile/1", - "digest": "sha256:3f182c11d422d38bfc749ea46bd14f9cb5ab9b2373ade9fb55fd116ab325ce14", - "evidence_files": 14460, - "evidence_root": "sha256:59287e49f62c620e14a0dd56c32f5320ebe7f1ec2e365daa19d0082c70e51dc5", - "files": 20399, - "generated_at_commit": "6a6939e966088313c76cb59ea740a514f77f16c5", - "source_tree": "sha256:2ee1e582cc6a4dbb448ed364011461e398ebf34419370433bbd2e647bb8432a3" + "digest": "sha256:b8341a27be16dd19a5324b6b37306ad5ab97a314bf413d779090f724732f6bf3", + "evidence_files": 14602, + "evidence_root": "sha256:f915fb4ec0599ad30874d7adbbb95f142c988f42f3f1b89ce2751909caa5eaf8", + "files": 21669, + "generated_at_commit": "8be6f9941258bcab4339d885a72a5c0792a8979d", + "source_tree": "sha256:52566376bd13a07d65a1f1cd48a1cf5087045011ce32da3ab1d8fe0bdf384b5c" }, "owner_lane": "", "provenance": { diff --git a/.github/workflows/cflite_pr.yml b/.github/workflows/cflite_pr.yml new file mode 100644 index 000000000..95c554125 --- /dev/null +++ b/.github/workflows/cflite_pr.yml @@ -0,0 +1,35 @@ +# ClusterFuzzLite PR fuzzing for the om/tls fuzz targets. Actions pinned by commit sha. +# Black-box: libFuzzer sees the labelled host-tooling driver (om/tls/test/fuzz/oss-fuzz/omexec_fuzzer.c), +# not .om coverage; a target exit >= 100 (Omega trap) aborts the driver and is reported as a crash. +name: ClusterFuzzLite PR fuzzing +on: + pull_request: + paths: ['om/tls/**', 'seed/net/**', '.clusterfuzzlite/**'] +permissions: read-all +jobs: + PR: + runs-on: ubuntu-latest + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + strategy: + fail-fast: false + matrix: + sanitizer: [address] + steps: + - name: Build fuzzers + id: build + uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1 + with: + language: c + github-token: ${{ secrets.GITHUB_TOKEN }} + sanitizer: ${{ matrix.sanitizer }} + - name: Run fuzzers + id: run + uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + fuzz-seconds: 600 + mode: code-change + sanitizer: ${{ matrix.sanitizer }} + output-sarif: true diff --git a/.github/workflows/om-tls-arm64.yml b/.github/workflows/om-tls-arm64.yml new file mode 100644 index 000000000..ac4a56bc7 --- /dev/null +++ b/.github/workflows/om-tls-arm64.yml @@ -0,0 +1,101 @@ +# om-tls-arm64: independent ARM64 rerun of the om/tls ECDH unit suite (CAVP KAS ECC CDH, Wycheproof, +# edge cases, mutants), the x509 suite, the om/tls suite (RFC 8448 vectors, DNS unit, DIT probe, +# interop against openssl s_server, OpenSSL 3.5.4 s_server (X25519MLKEM768) and the Python fake server +# (kyber-py for ML-KEM-768), secret-residue scan in default, approved-only and hybrid mode, mutants), +# the ML-KEM/SHA-3 suite, the hostile-server suite (hostile.py, local only, with its mutants) and +# of the seed/net HTTP/HTTPS check on a GitHub-hosted ubuntu-24.04-arm machine, with the pinned omc +# (om/units.sh OMC_PIN). Network stages stay NOT_RUN (TLS_NET unset); TLS_PQ=1 makes a missing +# post-quantum oracle a FAIL. Logs are uploaded as artifacts. workflow_dispatch with kem_mutant=true +# flips one ML-KEM ciphertext byte before decapsulation in tls.om: that run must go red. +# Advisory, like AIEN Checks: GitHub gates no merge (Alpha does). +name: om-tls-arm64 +on: + pull_request: + paths: ["om/tls/**", "seed/net/**", "seed/json/**", "seed/out/omc", "om/units.sh", ".github/workflows/om-tls-arm64.yml"] + push: + branches: [main] + workflow_dispatch: + inputs: + kem_mutant: + description: "flip a KEM ciphertext byte before decaps (the run must fail)" + type: boolean + default: false +permissions: + contents: read +jobs: + om-tls: + runs-on: ubuntu-24.04-arm + timeout-minutes: 45 + steps: + - uses: actions/checkout@v4 + - name: machine and tools + run: | + uname -a; nproc; openssl version; python3 --version + python3 -c 'import cryptography' 2>/dev/null || sudo apt-get install -y -q python3-cryptography + python3 -c 'import cryptography; print("cryptography", cryptography.__version__)' + - name: omc pin + run: | + pin=$(sed -n 's/^OMC_PIN=//p' om/units.sh | tr -d '"') + got=$(sha256sum seed/out/omc | cut -c1-64) + echo "pin $pin"; echo "got $got" + [ "$pin" = "$got" ] || { echo "seed/out/omc does not match OMC_PIN"; exit 1; } + chmod +x seed/out/omc + - name: X25519MLKEM768 oracles (OpenSSL 3.5.4, kyber-py) + uses: actions/cache@v4 + with: + path: ~/openssl-3.5.4 + key: openssl-3.5.4-967311f84955316969bdb1d8d4b983718ef42338639c621ec4c34fddef355e99-${{ runner.os }}-${{ runner.arch }}-v1 + - name: build or reuse OpenSSL 3.5.4, install kyber-py + run: | + sh om/tls/test/tls/openssl35.sh "$HOME/openssl-3.5.4" + python3 -m venv --system-site-packages "$HOME/pqpy" + "$HOME/pqpy/bin/pip" install -q --require-hashes -r om/tls/test/tls/pq-requirements.txt + "$HOME/pqpy/bin/python" -c 'import kyber_py.ml_kem, cryptography; print("kyber-py ok")' + echo "OPENSSL35=$HOME/openssl-3.5.4/bin/openssl" >> "$GITHUB_ENV" + echo "FAKESRV_PY=$HOME/pqpy/bin/python" >> "$GITHUB_ENV" + echo "TLS_PQ=1" >> "$GITHUB_ENV" + - name: apply KEM ciphertext mutant (this run must fail) + if: github.event_name == 'workflow_dispatch' && inputs.kem_mutant + run: | + cp om/tls/tls.om /tmp/tls.om.orig + sed -i '/^r = mlkem_decaps part c TLKDK 2400 ct ss$/i put ct 7 uchar xor ulong get ct 7 1' om/tls/tls.om + ! cmp -s om/tls/tls.om /tmp/tls.om.orig || { echo "mutation did not apply"; exit 1; } + diff /tmp/tls.om.orig om/tls/tls.om || true + - name: om/tls ML-KEM and SHA-3 suite + run: mkdir -p build && sh om/tls/test/mlkem/run.sh "$PWD/seed/out/omc" 2>&1 | tee build/om-tls-mlkem.log; test "${PIPESTATUS[0]}" = 0 + - name: om/tls ECDH unit suite + run: mkdir -p build && sh om/tls/test/ecdh/run.sh "$PWD/seed/out/omc" 2>&1 | tee build/om-tls-ecdh.log; test "${PIPESTATUS[0]}" = 0 + - name: om/tls DRBG unit suite + run: mkdir -p build && sh om/tls/test/drbg/run.sh "$PWD/seed/out/omc" 2>&1 | tee build/om-tls-drbg.log; test "${PIPESTATUS[0]}" = 0 + - name: om/tls self-test (fips) suite + run: mkdir -p build && sh om/tls/test/fips/run.sh "$PWD/seed/out/omc" 2>&1 | tee build/om-tls-fips.log; test "${PIPESTATUS[0]}" = 0 + - name: om/tls software integrity suite + run: mkdir -p build && sh om/tls/test/integrity/run.sh "$PWD/seed/out/omc" 2>&1 | tee build/om-tls-integrity.log; test "${PIPESTATUS[0]}" = 0 + - name: om/tls x509 suite + run: mkdir -p build && sh om/tls/test/x509/run.sh "$PWD/seed/out/omc" 2>&1 | tee build/om-tls-x509.log; test "${PIPESTATUS[0]}" = 0 + - name: om/tls revocation (rev) suite + run: mkdir -p build && sh om/tls/test/rev/run.sh "$PWD/seed/out/omc" 2>&1 | tee build/om-tls-rev.log; test "${PIPESTATUS[0]}" = 0 + - name: om/tls suite + run: mkdir -p build && sh om/tls/test/tls/run.sh "$PWD/seed/out/omc" 2>&1 | tee build/om-tls-run.log; test "${PIPESTATUS[0]}" = 0 + - name: om/tls hostile-server suite + run: mkdir -p build && sh om/tls/test/net/hostile.sh "$PWD/seed/out/omc" 2>&1 | tee build/om-tls-hostile.log; test "${PIPESTATUS[0]}" = 0 + - name: seed/net HTTP and HTTPS check + run: python3 seed/net/tests/check.py --keep build/netcheck 2>&1 | tee build/net-check.log; test "${PIPESTATUS[0]}" = 0 + - name: logs + if: always() + uses: actions/upload-artifact@v4 + with: + name: om-tls-arm64-logs + path: | + build/om-tls-run.log + build/om-tls-mlkem.log + build/om-tls-ecdh.log + build/om-tls-drbg.log + build/om-tls-fips.log + build/om-tls-integrity.log + build/om-tls-x509.log + build/om-tls-rev.log + build/om-tls-hostile.log + build/net-check.log + build/tls/tls/*.log + build/tls/tls/interop-table.txt diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 1afe5bd39..d89a8e187 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -7,7 +7,11 @@ The current development method is [Human-Directed Agentic Engineering (HDAE)](RE | Model | What it did | |---|---| +| Claude Opus 5.5 (via omp) | Train r3 final smoke (every gate rc 0 on `a00e134c`, CPUs 10-19 at nice 19) and the `om/tls/README.md` test table brought to the train tree from those logs: the `TLS_NET=1` row (`interop=99 ... mutants=62/62`, net=PASS), the ec, ecdh and x509 rows, new mlkem, rev and hostile rows, and the `openssl verify` differences (23 of 106 cases, five new refusals from the x509-limbo fixes), omc `62775d2a`. | +| Claude Opus 5.5 (via omp) | Train r3 GEN-1 protocol pins: #951 and main changed `docs/one_layer/OMEGESE.md`, so `gencheck manifest` failed on #486's pin (`9d8795bc`); re-hashed it to the train content `533887c7` and `GEN_PROTOCOL_V1.md` for a new §15 line (revision stays 1, no protocol content changed), after a consult; `make test-gen-protocol` 159 ok, 0 failed. | +| Claude Opus 5.5 (via omp) | Train r3 TLS fuzz replay repair: #859's chain check needs an authority key id on every non-self-issued certificate, so `gen_seeds.py` now writes SKI on every certificate and AKI below the root; `fz_detch` pins every key-share byte (both x25519 copies and the ML-KEM-768 encapsulation key rebuilt from a fixed seed) so the ClientHello is deterministic; `hrr_*` expects `KEY_SHARE` (011) for an HRR naming an already-shared group (RFC 8446 §4.1.4); seeds regenerated and the 21 new crafted x509 seeds given EXPECT lines that match `cases.txt`. | | Claude Opus 5.5 (via omp) | Repaired the source-aware translation guard after train r2 (#974): the ten legacy files r2 edited (#942 `osc_ir.c`, #963 `src/osh`) are pinned by the SHA-256 of their whole content, so `test-source-aware` passes on main again while any other legacy edit, addition or rename still fails and the 60-fixture IR byte-identity check still runs. Controls 6 of 6, IR decoder mutants 22 of 22 caught. | +| Claude Opus 5.5 (via omp) | Merged main `d8fc2db3` (#974) into train r3. Conflicts were the generated crumbs (`.crumb`, `tests/.crumb`) and this file (rows kept from both sides); crumbs regenerated with the pinned compiler. | | Grok 4.7 | Merged current main (`62d1d0d66`) into #934. Conflicts were generated crumbs (`.crumb`, `spec/.crumb`, `src/.crumb`, `tests/.crumb`) and CONTRIBUTORS.md. The Makefile kept the test-costmodel mutant block and the test-dagsim block. Regenerated crumbs with the crumb.lock tool (`d0f0b95d`). | | Grok 4.7 | Treated an unsupported or refused rx_cm_predict result as an unknown cell in the offline DAG evaluator, including when known is set. Merged #934's predict API to build that check. Host test and a mutant that drops it. | | Grok 4.7 | Refused inverted buffer lifetimes in the imported offline DAG evaluator so a negative live-byte ledger cannot hide a capacity overflow (#705). Host fixtures and a mutant that drops the check. | diff --git a/Makefile b/Makefile index 5527cafec..b6ceafb76 100644 --- a/Makefile +++ b/Makefile @@ -2818,6 +2818,32 @@ $(GPU_QGEMM_TEST): tests/gpu_qgemm_test.c tests/bw_qmma_model.h tests/bw_warp_si GPU_PFHOST_TEST = $(OUT_DIR)/gpu_pfhost_test $(GPU_PFHOST_TEST): tests/gpu_pfhost_test.c tests/bw_warp_sim_tc.h src/omega_gpu_pfhost.h src/omega_blackwell_codegen_pfhost.h $(OUT_DIR)/libomega_gpu.a $(CC) $(CFLAGS) -ffp-contract=off -DWS_MAX_THREADS=1024 -Itests -o $@ tests/gpu_pfhost_test.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm +# omega#456: the prefill tests above, host model and warp simulator only. Every run names --host-only or --sim, the two +# modes that never open the device (each test's main returns before its chip part); chip runs stay under the GB10 lock. +.PHONY: test-gpu-prefill-host +test-gpu-prefill-host: $(GPU_TC_PROBE_TEST) $(GPU_TCGEMM_TEST) $(GPU_PATTN_TEST) $(GPU_PF_MEM_TEST) $(GPU_PFGEMM_TEST) \ + $(GPU_QMMA_PROBE_TEST) $(GPU_QGEMM_TEST) $(GPU_PFHOST_TEST) + ./$(GPU_TC_PROBE_TEST) --host-only + ./$(GPU_QMMA_PROBE_TEST) --host-only + ./$(GPU_PF_MEM_TEST) --host-only + ./$(GPU_TCGEMM_TEST) --host-only + ./$(GPU_TCGEMM_TEST) --sim + ./$(GPU_PATTN_TEST) --host-only + ./$(GPU_PATTN_TEST) --sim + ./$(GPU_PFGEMM_TEST) --host-only + ./$(GPU_PFGEMM_TEST) --sim + ./$(GPU_QGEMM_TEST) --host-only + ./$(GPU_QGEMM_TEST) --sim + ./$(GPU_PFHOST_TEST) --host-only + ./$(GPU_PFHOST_TEST) --sim + @echo "test-gpu-prefill-host: PASS (8 prefill tests, host model + warp simulator, no device)" +# omega#456: tools/own30b_decode_profile.c is a link-only recorder built by hand on the Spark; compile it with the +# project's -Werror flags so a warning cannot land unseen. +.PHONY: check-own30b-decode-profile +check-own30b-decode-profile: tools/own30b_decode_profile.c + @mkdir -p $(OUT_DIR) + $(CC) $(CFLAGS) -c -o $(OUT_DIR)/own30b_decode_profile.o tools/own30b_decode_profile.c + @echo "check-own30b-decode-profile: PASS (compiles with -Werror)" # OWN-30B W-L2 (2026-10-13): command list (many launches, one submission) + decode glue kernels. test-gpu-cmdlist is # host-only + warp simulator; the chip gate is tools/run_gpu_cmdlist_chip.sh under the GB10 lock. .PHONY: test-gpu-cmdlist @@ -2855,7 +2881,7 @@ GPU_DECODE_GRAPH_TEST = $(OUT_DIR)/gpu_decode_graph_test GPU_DGRAPH_ABORT_TEST = $(OUT_DIR)/test_omega_gpu_decode_graph_abort $(GPU_DECODE_GRAPH_TEST): tests/gpu_decode_graph_test.c src/omega_gpu_decode_graph.h src/omega_gpu_cmdlist.h $(OUT_DIR)/libomega_gpu.a $(CC) $(CFLAGS) -ffp-contract=off -o $@ tests/gpu_decode_graph_test.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm -test-gpu-decode-graph: $(GPU_DECODE_GRAPH_TEST) $(GPU_DGRAPH_ABORT_TEST) test-gpu-decode-graph-abort-mutants +test-gpu-decode-graph: $(GPU_DECODE_GRAPH_TEST) $(GPU_DGRAPH_ABORT_TEST) test-gpu-decode-graph-abort-mutants test-gpu-decode-graph-timeline ./$(GPU_DECODE_GRAPH_TEST) --host-only ./$(GPU_DGRAPH_ABORT_TEST) @@ -2886,6 +2912,32 @@ test-gpu-decode-graph-abort-mutants: $(OUT_DIR)/libomega_gpu.a dmut abort-submits 's|^int omega_gpu_decode_graph_abort_token(OmegaGpuDecodeGraph \*g) {$$|&\n if (g \&\& g->in_token) return omega_gpu_decode_graph_end_token(g, NULL, NULL);|'; \ echo "test-gpu-decode-graph-abort-mutants: $$killed of 5 mutants killed" +# omega #456: the per-token timeline (set_stamps) never writes past stamp[]: 4096 stamped launches fill it, the 4097th +# (flush_each, one submission per launch) fails the token and leaves no timeline. Fake platform that completes every +# submission; no device. Each mutant breaks one rule in a copy of omega_gpu_decode_graph.c linked ahead of the library; +# the overflow case must FAIL on it. +.PHONY: test-gpu-decode-graph-timeline +GPU_DGRAPH_TL_TEST = $(OUT_DIR)/test_omega_gpu_decode_graph_timeline +GPU_DGRAPH_TL_MUT = $(OUT_DIR)/dgraph_tl_mut +$(GPU_DGRAPH_TL_TEST): tests/test_omega_gpu_decode_graph_timeline.c src/omega_gpu_decode_graph.h src/omega_gpu_platform.h $(OUT_DIR)/libomega_gpu.a + $(CC) $(CFLAGS) -o $@ tests/test_omega_gpu_decode_graph_timeline.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm +test-gpu-decode-graph-timeline: $(GPU_DGRAPH_TL_TEST) + ./$(GPU_DGRAPH_TL_TEST) + @mkdir -p $(GPU_DGRAPH_TL_MUT) + @set -e; \ + tmut() { name=$$1; script=$$2; \ + sed -e "$$script" src/omega_gpu_decode_graph.c > $(GPU_DGRAPH_TL_MUT)/$$name.c; \ + if cmp -s src/omega_gpu_decode_graph.c $(GPU_DGRAPH_TL_MUT)/$$name.c; then echo "mutant $$name: pattern not found"; exit 1; fi; \ + $(CC) $(filter-out -MMD -MP,$(CFLAGS)) -o $(GPU_DGRAPH_TL_MUT)/$$name tests/test_omega_gpu_decode_graph_timeline.c \ + $(GPU_DGRAPH_TL_MUT)/$$name.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm; \ + if ./$(GPU_DGRAPH_TL_MUT)/$$name > $(GPU_DGRAPH_TL_MUT)/$$name.log 2>&1; then echo "mutant $$name SURVIVED"; exit 1; fi; \ + if ! grep -q '^FAIL one launch past the timeline' $(GPU_DGRAPH_TL_MUT)/$$name.log; then \ + echo "mutant $$name: no FAIL case (did not run?)"; cat $(GPU_DGRAPH_TL_MUT)/$$name.log; exit 1; fi; \ + echo "mutant $$name killed"; }; \ + tmut room-off-by-one 's|(uint32_t)(cnt - from) > room) {|(uint32_t)(cnt - from) > room + 1u) {|'; \ + tmut timeline-after-failure 's#if (!g->stamps || g->failed || #if (!g->stamps || #'; \ + echo "test-gpu-decode-graph-timeline: 2 of 2 mutants killed" + # OWN-30B W-L2c (2026-10-14): per-launch fixed cost inside a command list (tests/gpu_launch_cost_test.c, chip only, GB10 lock). GPU_LAUNCH_COST_TEST = $(OUT_DIR)/gpu_launch_cost_test $(GPU_LAUNCH_COST_TEST): tests/gpu_launch_cost_test.c src/omega_gpu_fp8_api.h src/omega_gpu_cmdlist.h $(OUT_DIR)/libomega_gpu.a diff --git a/bench/inference_cost/.crumb b/bench/inference_cost/.crumb index 38fb9d02b..8afe89931 100644 --- a/bench/inference_cost/.crumb +++ b/bench/inference_cost/.crumb @@ -3,14 +3,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-28T12:07:07Z", + "compiled_at": "2026-10-30T18:16:56Z", "compiler": "crumb-compile/1", - "digest": "sha256:b9104063519fa30f206a096529f99c3ad17de79e002a816217d8846b6b085e6d", + "digest": "sha256:c49087bedcb4501e313d0569d35f61698491fa28ae8a8db891e8f3140bc110d5", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 251, - "generated_at_commit": "1c9a1b03c6b025c6aae6de00b46f922cc68db5bf", - "source_tree": "sha256:d3c99e593cf06a63c2609aafabd5b8a67a3c4ae9e4fc0335045183e56b3073aa" + "generated_at_commit": "14fa8bdf24eb4b9ad0758759285e6dbc0979d84c", + "source_tree": "sha256:f28a0c66cb16694f9d6682981540486cf5167c3513576f287d6db4e018454c75" } }, "name": "bench/inference_cost", diff --git a/bench/inference_cost/driver.sh b/bench/inference_cost/driver.sh index a58671405..559f3662c 100755 --- a/bench/inference_cost/driver.sh +++ b/bench/inference_cost/driver.sh @@ -80,7 +80,7 @@ build_tools() { om_build scorer "$SCRIPT_DIR/scorer.om" om_build chat "$REPO_DIR/seed/json/json.om" "$REPO_DIR/seed/json/jsonw.om" "$SCRIPT_DIR/chat.om" om_build fake_model "$REPO_DIR/seed/json/json.om" "$REPO_DIR/seed/json/jsonw.om" \ - "$REPO_DIR/seed/net/http.om" "$SCRIPT_DIR/fake_model.om" + "$REPO_DIR/seed/net/http.om" "$REPO_DIR/seed/net/notls.om" "$SCRIPT_DIR/fake_model.om" } # ---- task spec (version 2): name, param NAME TYPE lines, ret TYPE; types u32 i32 u64 diff --git a/bench/inference_cost/fake_model.om b/bench/inference_cost/fake_model.om index 3807dc9be..2a78c38e8 100644 --- a/bench/inference_cost/fake_model.om +++ b/bench/inference_cost/fake_model.om @@ -1,7 +1,7 @@ note bench/inference_cost/fake_model.om -- a deterministic stand-in for an OpenAI note chat-completions endpoint, so driver.sh --self-test can exercise --run-model end to end note without a live model. -note Compose: { printf 'om2\n'; cat seed/json/json.om seed/json/jsonw.om seed/net/http.om bench/inference_cost/fake_model.om; } | omc +note Compose: { printf 'om2\n'; cat seed/json/json.om seed/json/jsonw.om seed/net/http.om seed/net/notls.om bench/inference_cost/fake_model.om; } | omc note Run: fake_model MODE TASKSDIR [MAXCONN]; it listens on an ephemeral 127.0.0.1 port, note prints "PORT n" and serves POST /v1/chat/completions until MAXCONN connections note (default 1000) or 30 s without one. The request names its task and language in the diff --git a/docs/.crumb b/docs/.crumb index 4d770ba75..b15365b55 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -124,14 +124,14 @@ } ], "children_root": "sha256:c81d43c0c392dfec2b6ed5b38ba95ea7c592782b283950e32b777e7b9cfd9d61", - "compiled_at": "2026-10-30T18:11:44Z", + "compiled_at": "2026-10-31T01:00:52Z", "compiler": "crumb-compile/1", - "digest": "sha256:0b0dc279d12f55baae03672d30aaddc021cb5b0700f4b0cb5060aa2ea16caf95", + "digest": "sha256:ea388ed4a2b02a78ae7b648bc725a37f5caa270eadd16f324e34a4cadbe2c7c2", "evidence_files": 34, "evidence_root": "sha256:589d8b3706e6d7a202ab20b278dac5fc5bafc973f1c2a867b2668aa7210b65cc", - "files": 146, - "generated_at_commit": "af897260ac1b99e74755961a7327517d2f3dc406", - "source_tree": "sha256:1c719fa30afed5be72c9d1681b5bedc7dfa6e78f7b46620d369fbddcf370c817" + "files": 147, + "generated_at_commit": "8be6f9941258bcab4339d885a72a5c0792a8979d", + "source_tree": "sha256:68b01bcaee762279ae1b892df9b772cbb9bffab7bde933a8cbd6010023f5a0b4" }, "owner_lane": "", "provenance": { diff --git a/docs/one_layer/GEN_PROTOCOL_V1.md b/docs/one_layer/GEN_PROTOCOL_V1.md new file mode 100644 index 000000000..9d6470042 --- /dev/null +++ b/docs/one_layer/GEN_PROTOCOL_V1.md @@ -0,0 +1,450 @@ +# GEN: compositional generalization from verified abstractions, pre-registered protocol (v1) + +Issue: aien-spark/omega#476 (GEN-1), program aien-spark/omega#475. This file is committed BEFORE any GEN +generation and before the custodian authors any held-out task. Every setting below is frozen by its +commit; the machine-checked copy is `tests/one_layer/generalization/protocol.json`, validated by +`tools/gen/protocol/gencheck` (`make test-gen-protocol`). A change follows section 15. GEN is a separate +experiment from EXP445 (`docs/one_layer/EXP445_PROTOCOL.md`): it reuses EXP445's tools by calling them, +never edits EXP445's protocol, PARAMS, seals or data, and never opens EXP445's sealed tasks. + +## 1. Question + +Does retrieving **checker-verified reusable abstractions** (helper functions extracted from earlier +verified solutions) help a model write correct Omegese programs for **unfamiliar combinations of known +primitives**, compared with one example, a fixed set of many examples, and retrieval of earlier raw +solutions under the same budget? + +A positive answer is claimed only when the abstraction condition beats every control, including raw +retrieval, on held-out task families that no example, dev task or retrieved record shares (section 9). +FAIL and INCONCLUSIVE are legitimate outcomes and are reported as such. + +## 2. Tasks and splits + +Three splits, each made of composition **families** defined by the family contract +`tests/one_layer/generalization/families/FAMSIG_V1.md` (frozen first; tool `tools/gen/protocol/famsig`). +A family is the primitive multiset plus nesting shape the task SPECIFICATION asks for, over the +primitives `arith branch loop array call nested`; it is declared from the prompt, never from a solution. +Renaming identifiers or changing constants never makes a new family. + +| split | count | author | visibility | role | +|---|---|---|---|---| +| dev | 10: `devgen01`..`devgen10` | protocol author (GEN-1) | public: `tests/one_layer/generalization/dev/` | prompt and tool development, gates, negative controls; never evidence | +| corpus (exemplars) | about 48 | abstraction builder (GEN-3) | public: `tests/one_layer/generalization/corpus/` | the B prefix (section 3) and the only source of retrieved records | +| held-out | 60, in at least 6 families | custodian (Unix user `gencust`), who builds no corpus or tool | sealed | the only evidence | + +- Disjointness (FAMSIG_V1 section 4, checked mechanically by `famsig rule`): corpus, dev and held-out + families are pairwise disjoint by signature (R3); every primitive a held-out task uses is used by some + corpus task (R4); every held-out family combines at least two distinct primitives (R5); coarse + signatures (duplicate siblings collapsed, `nested` read as `arith`, a top-level `seq` wrapper around one + container plus leaves dropped) are pairwise disjoint across the three splits (R6); every held-out family + has at least one coarse composition edge that no corpus shape has, `novel_edges >= 1` (R7); no top-level + step of a dev or held-out shape (after `seq` flattening) is a container whose coarse form equals a corpus + coarse signature (R8). +- Held-out family metadata lives only in the sealed `SPLIT` file (FAMSIG_V1 section 6), never inside + `tasks.tar`. Before any held-out generation the custodian publishes `HELDOUT.pub` (FAMSIG_V1 section 7): + task ids, the salted family-list digest, the split digest, counts. The independent reviewer verifies + SPLIT against HELDOUT.pub and R1..R8 after the seal (`gencheck split`) and audits semantic overlap with + the corpus using `famsig rule --show-heldout` (`novel_edges` per family). The reviewer who runs any + `--show-heldout` or `--show` command is never a corpus, record or tool builder. +- **Blind re-declaration (before the seal is opened):** the reviewer reads every held-out prompt and + requirement read-only, as `gencust`, without seeing SPLIT, and declares each task's metadata line in + its own `gen-split 1` file (own salt). `famsig compare SPLIT REDECLARED` (as `gencust`; prints only + `tasks=<n> mismatches=<k>`) must give `mismatches=0`. Any mismatch forces the custodian to fix the + declaration or the task and re-seal (new SPLIT, HELDOUT.pub and pack digests, R1..R8 again) before the + seal is opened. The compare line is published with the run meta. +- **Near-duplicate check (before the seal is opened):** `tools/gen/protocol/genjac scan` (as `gencust`) + of every held-out prompt against every corpus prompt and every corpus reference solution: word + 3-gram Jaccard (genret tokenization: lowercase `[a-z0-9]+` words, set of consecutive word triples); + the number of held-out prompts with any Jaccard strictly above 0.5 (`above=`) must be 0, compared + exactly. Only the summary line (`heldout= corpus= threshold= max_jaccard= above=`) is published. A + non-zero count forces a rewrite and re-seal as above. +- Task layout: exactly `tests/one_layer/acceptance/HARNESS_INTERFACE_V2.md` section 3 (requirement, + prompt, `hidden/inputs`, `hidden/expected`, `hidden/reference.osc`), reused unchanged. The prompt + states every trap kind (HARNESS_INTERFACE_V2 section 3), so a held-out trap line is `TRAP <code>` with + that code whenever the code is unambiguous (a bare `TRAP` accepts any code). Held-out ids + must not start with `dev`, must not reveal family or difficulty. Expected values are computed + independently of the reference (an oracle written from the prompt, as + `tests/one_layer/generalization/dev/gen_expected.c`), and every reference must be ACCEPTed by + `ola.sh tasks-check` (RUN VALID) before the seal is published. The custodian publishes in the run meta + `oracle_match=<k>/60` (tasks whose `hidden/expected` equals the oracle's output byte for byte; must be + 60/60) and the sha256 of the oracle source file. +- Every held-out `hidden/reference.osc` carries one comment line `// canary <32 lowercase hex>` with a + fresh random value per task, used by the source-leak probe (section 8). +- Dev fixtures: packed and sealed by `tests/one_layer/generalization/dev/pack_dev.sh`; `ola.sh tasks-check` + on that pack gives references_accepted=10/10, RUN VALID (dev pack sha256 in protocol.json). +- Entry names: no corpus task may share an entry name with a held-out task; checked by the custodian + against the public view, printing only the count (as EXP445 13.2). + +## 3. Conditions + +Every condition writes Omegese (`docs/one_layer/OMEGESE.md`); the reader is the EXP445 omegese chain +(`tools/exp445/reader.sh`: `omegese emit`, `omega_emit emit`, `x445 check`); harness kind `oscir`. +Decode-time masking is OFF in every condition (the mask is not qualified); a masked sub-experiment needs +its own revision and is never pooled with these results. + +| condition | system message = prefix ++ suffix | +|---|---| +| A (1-shot) | prefix: `arms/common.md` + `arms/omegese.md` + 1 fixed example; suffix empty | +| B (many-shot) | prefix: the same two documents + 14 fixed corpus examples; suffix empty | +| C (B + raw retrieval) | B's prefix byte for byte + suffix: top-k verified raw corpus solutions | +| D (B + abstraction retrieval) | B's prefix byte for byte + suffix: top-k verified abstraction records | + +- **B prefix pick (deterministic, diverse):** order the corpus tasks by family signature (byte order), + then task id; walk the families round robin in signature order, taking each family's lowest unused + task id, until 14 tasks are taken. Every task line of corpus META is eligible, GEN-3 transfer-probe tasks + included (probes are withheld from both retrieval pools, see Candidate pool below). A's single example is the first task + taken. The 14 ids (`record_sets.prefix_ids`, in pick order) and `record_sets.prefix_sha256` = sha256 of + `tests/one_layer/generalization/records/PREFIX` (those ids, one per line) are pinned in protocol.json when + the corpus is frozen. If the prefix reuses EXP445 + examples, they are corpus tasks with corpus META lines and must pass `famsig rule`. +- **Retrieval (C and D):** the file-backed provider `genret` (`tools/gen/retrieval/CONTRACT.md`, + contract `genret-cli-v3`, pinned in protocol.json `interfaces` at commit `4a48b613` with CONTRACT.md + sha256 `48006271d18394c40daf96120eaa20fbe3908d9a12b08cab7994ee02a6351e9d`; it validates every record + with the GEN-3 `recheck`), the same `--k`, `--cap-bytes`, mode `normal` and lexical ranker for C and D; + only `--kind raw` (C) versus `--kind abstraction` (D) and the record manifest differ. k = 3, + cap_bytes = 4096. **Query** = the task's public `requirement` and `prompt` files passed as + `--requirement` and `--prompt`: genret's query text is the `entry`, `params` and `ret` values plus the + whole prompt, the same bytes `tools/exp445/reader.sh` `user_msg` shows the model (CONTRACT.md section + 3). Retrieved text appears only in the suffix, after the shared prefix. A and B never call the provider. +- **Candidate pool:** C's raw-record manifest is the probe-free set: the verified corpus solutions EXCEPT every + GEN-3 transfer-probe task (`split=probe` in the GEN-3 manifest) and EXCEPT the 14 prefix tasks (already in + every B, C, D prompt; retrieving them would waste C's budget): 23 records. D's manifest holds the probe-free + abstraction records produced by the deterministic GEN-3 tool from the corpus solutions, EXCEPT every + abstraction whose ancestry lies entirely within the 14 prefix tasks (the same rule as C: nothing the + prefix already shows). Both are filtered views of the GEN-3 `records/MANIFEST`, written in the genret + manifest format inside `records/`. Their paths (`record_sets.raw_manifest`, + `record_sets.abstraction_manifest`) and sha256 (`record_sets.raw_manifest_sha256`, + `record_sets.abstraction_manifest_sha256`) are frozen in protocol.json and re-hashed by `gencheck` + BEFORE the seal is opened for the run; no record is added, removed or edited afterwards. Every genret + receipt's `manifest_sha256` must equal the frozen digest of its condition. +- **Shared record skeleton:** C and D records follow one schema (GEN-3 + `tools/gen/abstract/RECORD_SCHEMA.md`, `gen-record 1`). An abstraction record is a callable Omegese + helper with a one-line pre/post, one example call, a test receipt, ancestry of at least 2 distinct + corpus solutions, and an IR fingerprint different from every corpus solution. No pattern templates. +- **What the model sees (rendering, genret-cli-v3, approved here):** the C and D renderings are + byte-identical except for record content. Both start with the one neutral heading, the same 66 bytes + for C and D: `"\nVerified reference code from earlier tasks, most relevant first.\n"` (approved + verbatim). Then per record `Record <i>.`, the `entry`, `params` and `ret` lines (the signature), the + one-line description, and the body in a fenced block. Only those record fields differ between C and D + (a whole raw solution versus a factored helper `fn`). The omission of D's pre/post, example call, test + receipt, ancestry and fingerprint from the prompt is approved: they are validated by `recheck` and + logged in the retrieval output, never shown. A heading or any other framing text that names the record + kind is a confound and is not allowed (genret-cli-v2 used kind-specific headings and is not used). +- **Selection cap report:** per task and condition the number of records genret selected (`selected`) + is logged; the dev and held-out reports give, for C and D separately, how many tasks got fewer than k + = 3 records (cap or pool exhausted), so a lift cannot hide behind D simply receiving fewer, shorter + records. +- Realised prompt tokens and suffix bytes are logged per condition and task (run row, GEN-2 FORMATS.md). + +## 4. Model and configuration + +- Config A only: the model, endpoint, request extra, server pin and weight list of EXP445 config A, read + from `tools/exp445/PARAMS` (sha256 pinned in protocol.json): Qwen3-30B-A3B-Instruct-2507 FP8 on Omega's + own `aien-serve-http` (`--engine omega`, :18091). Read-only inference; no weights change. Config B and + OWN-8B need a later revision. +- The GPU run happens after EXP445 Stage 1 attempt 1, under the quiet flag and GPU lock, never + concurrently with any other use of :18091. +- No paid model, new hardware or external service. + +## 5. Generation procedure + +1. Requests: `messages = [{system: prefix ++ suffix}, {user: reader.sh user_msg(requirement, prompt)}]`, + one POST to `<base_url>/chat/completions`, `stream: false`, the configuration's request extra merged. + `base_url` is PARAMS `config.A.base_url` and already ends in `/v1` (`http://127.0.0.1:18091/v1`); + `sampling-gate.sh` takes the base WITHOUT `/v1` (it posts to `<base>/v1/chat/completions`), so the + gate is called with `config.A.base_url` minus its trailing `/v1`. Both reach the same endpoint. +2. **One request in flight:** gates and run send exactly one request at a time to the server (no + concurrency, no batching across tasks or conditions); the next request starts only after the previous + one has returned or failed. +3. **Budget:** `max_tokens = 3072` per round in every condition, task and attempt (EXP445 section 5: + 3.3 times the longest dev reference in the most verbose spelling; Omegese references are shorter + than OSC text, OMEGESE.md section 5, so the cap is not binding for a correct answer). + `finish_reason=length` is logged. +4. **Greedy gate (before attempt 1):** the 10 dev tasks in condition B, each sent twice at temperature 0: + both replies byte-identical in content and every reply reports `mode=greedy`. No gate PASS, no + primary result (verdict INVALID). +5. **Attempt 1 = PRIMARY:** temperature 0 (greedy), round 1 only. Its candidate is set `<c>-1` + (`a-1` .. `d-1`). Every attempt-1 response must report `usage.aien_sampling.mode = greedy`; a single + attempt-1 response reporting anything else (or nothing) makes the run INVALID (section 8). +6. **Attempts 2 and 3 (pass@3, secondary):** temperature 0.7, top_p 0.8, seeded, only when the G0 sampling + gate passes: the Stage S gate vendored as `tools/exp445/sampling-gate.sh` (sha256 in protocol.json) + with its repro requests set to `devgen01` in condition B at the eight seeds s1..s8 = 476901, 476902, + 476903, 476904, 476905, 476906, 476907, 476908 (protocol.json `gates.g0.seed_values`; disjoint from + every run seed), plus one repeat of s1 = 476901, PASS rules as EXP445 13.4. Otherwise pass@3 is + reported `UNAVAILABLE`. Sets `<c>-2`, `<c>-3`. + **pass@3** of a condition = the tasks with an `ACCEPT` in the union of the round-1 sets `<c>-1`, + `<c>-2`, `<c>-3` only (never a `-final` set), labelled "pass@3 (1 greedy + 2 sampled)". +7. **Repair (secondary only):** exactly one public-check repair round when round 1 is refused, as EXP445 + section 6 step 4; the final candidate is set `<c>-<attempt>-final`. Never part of the primary or of + pass@3. +8. **Seeds:** `seed = 476000 + 1000 x attempt + task index` (1-based position in the sorted task list), + the same for the four conditions of one task and attempt; sent and logged for attempt 1 too. +9. **Transport retry:** a try fails at transport level when there is a transport error, an HTTP status + other than 200, or a 200 with **no usable answer**, defined mechanically: the body is not valid JSON, + or it has no `choices` array, or `choices[0].message.content` is missing or not a string. A failed try + is retried up to 2 times with the byte-identical request (same seed, same temperature, same top_p) + after K x 5 s before try K. A retry repeats the same sample; it is never an extra sample. Still + failing after the third try = no candidate (`no_candidate`, a failure). A well-formed 200 whose + content is empty, a refusal or not a program is NOT a transport failure: that content is the + candidate and is graded (it fails). Attempt-1 `no_candidate` is counted per condition; any count + above 0 makes the run INVALID (section 8), because a transport failure that hits one condition more + than another biases the paired comparison. +10. **Order:** attempt, then task, then condition (A, B, C, D), so attempt 1 of every task in all four + conditions finishes first. A run resumes only with identical settings; finished generations are + never redone. +11. Everything is hashed and logged as `tools/gen/runner/FORMATS.md` (GEN-2) specifies: raw requests and + responses, prompt manifests, retrieval outputs, run rows, SHA256SUMS. + +## 6. Success + +- **Functional success** of a candidate = the sealed harness (`ola.sh experiment`, kind `oscir`) gives + `ACCEPT` on the task's hidden inputs. Anything else (any REJECT reason, `no_candidate`) is failure. +- **Primary measure:** attempt-1, round-1 functional success per condition over the 60 held-out tasks, + paired by task. +- **Checker acceptance** (the public check or checker2 accepting a candidate) is NOT success: a program + that compiles and passes the checker can compute the wrong function. It is reported separately + (`checker_ok`) and never pooled with, or substituted for, functional success. +- The grader runs as `gencust` from a clean tree and publishes a public grading receipt that the reducer + consumes. +- **Outcome classes (decision input):** the grading receipt gives, for every held-out task x condition + (attempt 1, round 1), exactly one class: `ACCEPT`, `REJECT:<reason>` (the harness reason, e.g. + `REJECT:wrong_result`), `no_candidate` (section 5 step 9) or `MISSING` (no row for that task and + condition). Only `ACCEPT` is success. The reducer refuses to reduce (no verdict at all, not even + INVALID) when any cell is `MISSING`, when the number of distinct held-out tasks n is not 60, or when a + task x condition cell appears more than once. + +## 7. Secondary measures (reported, never decisive) + +Checker acceptance; pass@3 (1 greedy + 2 sampled, or UNAVAILABLE); success after the repair round; +refusal and REJECT reasons by class; prompt and completion tokens per condition; realised suffix bytes; +records selected per task and the number of tasks with fewer than 3 records, for C and D separately +(section 3); wall time; tokens and wall seconds per correct program; Wilson 95% intervals for every +proportion; the 90% Newcombe bounds. + +## 8. Validity (any failure: verdict INVALID) + +- complete paired matrix: every held-out task x A, B, C, D x attempt 1, exactly once (60 x 4); +- every attempt-1 response reports `mode=greedy`, and attempt-1 `no_candidate` is 0 in each of A, B, C + and D (section 5 steps 5 and 9; the per-condition counts are in the receipt); +- the harness run ends `RUN VALID` (every reference accepted, zero errors, identical replay, probes + PASS, clean tree); +- the greedy gate PASSed before attempt 1; every request was sent one at a time (section 5 step 2); +- every pin of section 13 equals protocol.json; every run SHA256SUMS verifies; every candidate re-derives + from its hashed response; protocol.json passes `gencheck manifest` and `gencheck run-ready` (no null + field, every interface file present, `genret-cli-v3` pinned; there is no "pending merge" exception); +- **seal-open receipt:** before the first `tasks-public` of the sealed pack for generation (= the seal is + opened), the custodian runs its published seal-open script, which runs `gencheck open` and writes + `OPEN`, five lines exactly: + `gen-open 1` / `omega_commit <40 hex>` / `protocol_sha256 <sha256 of protocol.json at that commit>` / + `tasks_sha256 <64 hex>` / `heldout_pub_sha256 <64 hex>`, commits it as + `evidence/GEN/OPEN` and pushes that commit to origin. The run is valid only if that push happened + before the first `tasks-public`, and protocol.json at `omega_commit` passes `gencheck open` with that + OPEN: the record-set manifests (paths and digests), corpus META, prefix, `splits.heldout.pub_sha256` + and `splits.heldout.tasks_sha256` all set (none null) and matching. The reducer refuses a run whose + OPEN commit has a null or different digest; +- `gencheck split` PASSed on SPLIT and HELDOUT.pub against protocol.json at the OPEN commit (it fails + closed when either held-out digest is null), the blind re-declaration gave `mismatches=0` and the + near-duplicate scan gave `above=0` (section 2), all before the seal was opened; +- `oracle_match=60/60` published by the custodian (section 2); +- clean generation tree whose tool files equal the scoring commit's; +- **sanity flag:** B's attempt-1 successes are not lower than A's by more than 2 tasks + (A - B > 2 = the many-shot prefix is broken: INVALID); +- **source-leak probe:** no request, retrieval output or record contains any held-out canary + (section 2) or the bytes of any held-out `hidden/inputs` file; checked by the custodian as `gencust` + after generation, printing only a count (must be 0); +- isolation audit clean (section 12), including no model request by the custodian. + +## 9. Statistics and decision (exact) + +Notation for condition D against a control X in {A, B, C}, over the n held-out tasks (n = 60): `both`, +`d_only`, `x_only`, `neither` = tasks where both / only D / only X / neither succeed (attempt 1, round 1). + +- **Lift:** `diff = (d_only - x_only) / n`; `lift_ok` iff `10 x (d_only - x_only) >= n` (exact integers; + delta = 10 percentage points = 6 tasks at n = 60). +- **Exact one-sided McNemar** (H1: D better): `p = P(Y >= d_only)`, Y ~ Binomial(d_only + x_only, 1/2), + computed exactly as `p_num / 2^(d_only + x_only)` (p = 1 when there are no discordant tasks); + `p_ok` iff `20 x p_num < 2^(d_only + x_only)` (p < 0.05, exact). +- **Newcombe paired interval for D - X**, method 10 of Newcombe (1998), Statist. Med. 17:2635-2650: + a = both, b = d_only, c = x_only, d = neither, p1 = (a+b)/n, p2 = (a+c)/n, theta = (b - c)/n. + (l1, u1), (l2, u2) = Wilson score intervals (no continuity correction) of p1, p2, with lower limit + exactly 0 at a count of 0 and upper exactly 1 at a count of n. phi = N / sqrt((a+b)(c+d)(a+c)(b+d)), + N = a d - b c, replaced by max(a d - b c - n/2, 0) when a d > b c; phi = 0 when the denominator is 0. + delta = sqrt((p1-l1)^2 - 2 phi (p1-l1)(u2-p2) + (u2-p2)^2), eps = sqrt((u1-p1)^2 - 2 phi (u1-p1)(p2-l2) + + (p2-l2)^2) (a negative radicand from rounding is taken as 0); interval [theta - delta, theta + eps], + clamped to [-1, 1]. Constants: z = 1.959963984540054 (95%), z = 1.644853626951472 (90%, two-sided; + its upper limit is a one-sided 95% bound). IEEE double arithmetic. +- **Verdict**, in this order: + 1. **INVALID** when any validity condition (section 8) fails. + 2. **INCONCLUSIVE, reason `floor`** when max(successes of A, B, C, D) <= 3, and **INCONCLUSIVE, reason + `ceiling`** when min(successes of A, B, C, D) >= 57 (both reasons when both hold): with at most 3 + successes everywhere, or at least 57 everywhere, the paired comparison cannot measure anything, and + neither PASS nor FAIL is claimed. Integers, exact (protocol.json `decision.floor_max = 3`, + `decision.ceiling_min = 57`). + 3. **PASS** when, for every X in {A, B, C}: `lift_ok` and `p_ok` (intersection-union test: each control + at level 0.05, no multiplicity correction needed). PASS is reported in exactly these words: "D beats + every control at one-sided 0.05 with observed lift >= 10pp". It never means "a lift of 10pp or more + is established": the observed lift is a point estimate, and the Newcombe intervals are reported + beside it. + 4. **FAIL** when the upper limit of the 95% Newcombe interval for D - C, as the full IEEE double (never + the 6-decimal value printed in the receipt), is below 0.10. C (raw retrieval) is the designated FAIL + control: the strongest fair baseline by design. + 5. **INCONCLUSIVE** otherwise (reasons: each failing `lift_<X>` and `p_<X>`). + PASS and FAIL cannot both hold (PASS needs theta(D-C) >= 0.10, and the upper limit is at least theta). + The receipt names the verdict and its reason tags. +- At n = 60 this test can only separate large effects: most outcomes that are not a clear win will be + **INCONCLUSIVE**, and that is the honest report, not a failure of the experiment. The 90% upper limit is + reported beside the 95% one and is not decisive. +- **Test vectors:** `tests/one_layer/generalization/stats_vectors.tsv`, generated by + `tools/gen/protocol/genstats vectors` (never by hand), with Wilson, McNemar, Newcombe and full verdict + records (including the floor and ceiling boundaries) and length-match records (section 10). `genstats selftest` reproduces methods 8 and 10 on all 18 rows of the paper's Table III to the + printed 4 decimals (one method-10 cell, row 1/97/1/1, is printed 0.8736 where the paper's own method-8 + cell for the identical formula is 0.8737; the computed value is 0.873672). The GEN reducer must + reproduce every vector (reals within 1e-9; counts, p_num, p_den, yes/no and verdicts exactly). +- The receipt (`omega.gen.decision.v1`, GEN-2 FORMATS.md) reports for each condition the attempt-1 + successes with Wilson 95% intervals and checker acceptance, and for each D-X pair the four counts, diff, + p, both Newcombe intervals, lift_ok and p_ok, and the verdict with its reasons. + +## 10. Negative controls (pre-registered; run on the dev tasks; diagnostics, not decisive) + +| control | how | expectation if retrieval works as intended | +|---|---|---| +| no retrieval | C and D with genret mode `empty` | equals B up to sampling noise | +| irrelevant records | genret mode `irrelevant` | no better than B | +| length-matched C | C plus whole extra raw records (rank k+1, ...) until at least D's realised suffix bytes for the same task (genret `length-matched`, `--target-bytes` = D's `suffix_bytes`) | separates "more context" from "better content" on matched tasks only (see below) | +| cross-family | C and D with `--exclude-family <the dev task's own family token>` | shows how much a lift depends on same-family records (on dev, own-family records do not exist in the corpus by R3, so this must change nothing: a check of the split) | +| source-leak probe | canaries and hidden inputs searched in every request (section 8) | 0 hits | + +**Length-matched C (secondary, dev-only diagnostic).** It never feeds the PASS / FAIL / INCONCLUSIVE +verdict or run validity. genret-cli-v3 pads C with whole extra raw records, never truncated, in rank order +after the k selected (rank k+1, k+2, ...), until C's suffix is at least D's realised `suffix_bytes` for +the same task (`--target-bytes`): `pad_reason=reached` (it may overshoot by up to one record), +`exhausted` (candidates ran out, still short) or `c_not_shorter` (C was already at least as long; nothing +padded). Its receipt logs `length_gap` = padded C `suffix_bytes` - target, signed. Because padding moves +in whole solutions, it cannot hit a fine target, so each dev task is classified: + +- **matched** when |length_gap| <= max(256 bytes, 15% of the target), compared exactly as + `100 x |gap| <= max(25600, 15 x target)` (protocol.json `retrieval.length_match_abs_bytes = 256`, + `retrieval.length_match_frac = 0.15`); +- **unmatched** otherwise: listed with its gap and pad_reason, never silently dropped. + +The report gives, per dev task, C's and D's `suffix_bytes`, the padded C `suffix_bytes`, pad count, +pad_reason, length_gap and class; then the matched and unmatched counts; then the attempt-1 success of +length-matched C on the matched tasks only, next to normal C and D on those same tasks. When fewer than +50% of the dev tasks are matched (`retrieval.length_match_min_matched_frac = 0.5`; fewer than 5 of 10), +the result is reported plainly as `length-matched ablation: UNAVAILABLE (<m> of <n> dev tasks matched)` +and no conclusion about prompt length is drawn. The matched tasks are a selected subset (tasks with +short solutions match more easily), so the report states that the length-matched result applies to the +matched subset only, gives its size, and is not an estimate for the whole dev set. The comparison is +read in both directions: when C's suffix is longer than D's (gap > 0, including `c_not_shorter`) and C +still does worse than D, that is evidence against the "D only wins because its prompt is longer" +explanation and is reported as such; when C is shorter and loses, length is not ruled out. Reference +values: `genstats lenmatch <target>:<suffix> ...`, and the `lenmatch` / `lenset` records in +`stats_vectors.tsv`. +The held-out decision uses only conditions A, B, C, D in mode `normal`. + +## 11. Dev pilot (before the held-out run, never evidence) + +Config A, the 10 dev tasks, all four conditions, attempt 1, plus the negative controls of section 10. +GO when: the greedy gate passes; every generation is logged and re-derives; the dev harness run ends +RUN VALID; B is not worse than A by more than 2 tasks. Builders may change prompts, records or tools +using dev results only, then rerun, at most twice; each change before the seal is opened is a protocol +revision under section 15. + +## 12. Isolation + +- The custodian is the dedicated Unix user `gencust`; the sealed directory is owned by it, mode 0700. + The custodian authors, seals and grades through `sudo -u gencust`. Builders and the runner never read + it; the runner sees only `ola.sh tasks-public` output. +- Every sudo call is in the system journal. Before the run, and again before the receipt is accepted, + the operator audits the journal (`journalctl _COMM=sudo` for the run window) and lists every command + run as `gencust`; any command not in the custodian's published script list is an isolation failure + (INVALID). +- **The custodian never queries any model.** No custodian script and no command run as `gencust` sends + a request to a model endpoint (:18091, :18097 or any other). The journal audit above also searches + every `gencust` command line for `18091`, `18097`, `chat/completions` and `/v1/`; any hit is an + isolation failure (INVALID). The audit sees command lines only, not traffic inside an allowed script, + so every script in the custodian's published list is reviewed before the run to contain no network + request (stated as a limit of the audit). +- Hidden inputs, expected values, references and grader output are never inputs to generation or + retrieval (GEN-2 manifests record every input). No grader feedback reaches the treatment during + generation; the repair round uses only the public check. + +## 13. Pins recorded with the run (all in protocol.json or the run's meta) + +Model id, endpoint, request extra, server binary sha256 and source commits (via `tools/exp445/PARAMS`); +weight file hashes (`tools/exp445/weights.A.sha256`, re-checked by the operator before the run); +tokenizer files (in the weight list); Omega commit of the run and of scoring; harness contract +(HARNESS_INTERFACE_V2.md) sha256; reader chain (`tools/exp445/reader.sh`) and arm documents sha256; +B and A prefix sha256 and the 14 prefix ids; C and D manifest paths and sha256 (record-set digests); the OPEN +receipt and its commit; genret contract +and binary sha256; dev pack sha256; held-out `TASKS.sha256`, `split_sha256`, `famlist_sha256`; +family contract and famsig sha256; the blind re-declaration line (`tasks= mismatches=`), the genjac summary +line and `oracle_match` with the oracle source sha256; stats vectors sha256; seeds (run and G0), k, +cap_bytes, max_tokens; per-condition attempt-1 `no_candidate` counts; hardware +(DGX Spark GB10) and the GPU-lock / quiet-flag state at run time; this protocol's sha256. + +## 14. Commands + +``` +make test-gen-protocol # famsig, gencheck, genstats, genjac, dev pack (CPU only) +tools/gen/protocol/gencheck manifest tests/one_layer/generalization/protocol.json . +tests/one_layer/generalization/dev/pack_dev.sh <out> +tests/one_layer/acceptance/ola.sh tasks-check <out>/tasks.tar <out>/TASKS.sha256 +famsig rule tests/one_layer/generalization/dev/META tests/one_layer/generalization/corpus/META <SPLIT> # custodian, as gencust +famsig compare <SPLIT> <REDECLARED> # reviewer's blind re-declaration, as gencust +genjac scan <heldout-prompts.list> <corpus-prompts-and-solutions.list> # near-duplicate check, as gencust +gencheck split tests/one_layer/generalization/protocol.json . <SPLIT> <HELDOUT.pub> # reviewer, after the seal +gencheck run-ready tests/one_layer/generalization/protocol.json . # before seal-open and before the run +gencheck open tests/one_layer/generalization/protocol.json . <OPEN> # custodian at seal-open; reducer before reducing +``` + +The runner, reducer, corpus builder and custodian scripts are specified by their own issues (GEN-2 +#477, GEN-3 #478, GEN-4 #479, GEN-6 #480) and must implement sections 3 to 9 as written here. + +## 15. Revisions + +- Before the seal is opened for the held-out run, a change is a new revision: edit this file and + protocol.json in one commit, add a line below, bump `revision`, and re-run `make test-gen-protocol`. + A revision may use dev results only; no held-out content is ever opened to justify it. +- After the seal is opened, nothing in sections 2 to 9 changes. Any change (tasks, conditions, budget, + decision rule) is a new protocol version (`GEN_PROTOCOL_V2.md`) with a NEW sealed held-out pack; the + v1 result stands as reported. Negative or inconclusive results are never a reason to rewrite v1. + +- **v1**: first registration (PR #486). +- **v1, amended at review of PR #486 before merge and before any held-out task existed** (revision stays + 1: v1 was never on main): record-set manifest paths re-hashed and the public OPEN seal-open receipt; + R6 coarse disjointness and R7 novel edges; blind re-declaration (`famsig compare`) and the genjac + near-duplicate check; floor and ceiling INCONCLUSIVE; PASS wording; mode=greedy and zero attempt-1 + `no_candidate` as validity conditions; mechanical "no usable answer", identical retries, one request in + flight; pass@3 from round-1 sets; outcome classes and reducer refusal on MISSING or n != 60; D pool + excludes prefix-only abstractions; FAIL on the full double; `gencheck run-ready`, `open`, split fail + closed on null digests; custodian model-query ban; oracle_match; numeric G0 seeds; base_url and query + bytes stated; genret-cli-v3 pinned with its heading approved; length-matched ablation made a dev-only + diagnostic with matched/unmatched tasks and UNAVAILABLE below 50% matched. +- **v1, record sets pinned (before merge, before any held-out task):** corpus META, the 14 prefix ids, + records/PREFIX and the C and D manifests from GEN-3 commit 856cc977 (prefix recomputed from the pick + rule and matching); genret-cli-v3 re-pinned at 4a48b613. +- **v1, R8 and verdict n (before merge, before any held-out task):** rule R8 (no dev or held-out + top-level step is a corpus family in coarse form; dev/META passes against the GEN-3 corpus META); + `genstats verdict` refuses n != 60; the dev-pack tasks-check test runs in a private git worktree; the C and D pools stated as + probe-free (GEN-3 `split=probe` filtered out; C pool count pending from GEN-3). The sentence "Every task + line of corpus META is eligible, GEN-3 transfer-probe tasks included" (probes allowed in the B prefix) + was added in commit 8d940556; probes stay eligible for the prefix only. +- **v1, record sets re-pinned to GEN-3 commit e521e818 (before merge, before any held-out task):** C.MANIFEST + is the probe-free raw pool, 23 records (sha256 `d6b8a9a4...`); D.MANIFEST 9 records (sha256 `1fe9af29...`); + corpus META and records/PREFIX unchanged. Pool sizes bound k: k = 3 is below both pools, and any k above 9 + (D's pool) would let D exhaust its pool and is a new revision. The file pins of `OMEGESE.md`, `ola.sh`, + `reader.sh` and `sampling-gate.sh` re-hashed after main's Apache-2.0 header and OM-2 changes (no protocol + content changed); `famsig_lib.h` and `genstats.c` re-hashed after bounded-write fixes (CodeQL 537-541). +- **v1, file pins re-hashed in train r3 (before merge, before any held-out task; revision stays 1):** + `OMEGESE.md` re-hashed to `533887c7...` after main's recursion-depth note (#645), the seed/equiv + section (#826) and #951's `new` row (omc 1..16777216; the C reference path the reader uses stays + 1..64, `OSC_MAX_ARRAY_LEN`, as FAMSIG_V1.md requires); none is protocol content: conditions, reader + chain, section 5 reference lengths and the decision rule are unchanged. `GEN_PROTOCOL_V1.md` + re-hashed for this line. `make test-gen-protocol` re-run at the train head. `famsig_lib.h` re-hashed + after the three `strcpy` calls that copy metadata-file fields (task id and shape into the parsed line, + then the task id into the ascending-order check's previous id) became `snprintf` into the same-size + buffers (CodeQL "unbounded write" on #979). The first version of this note said "its last two `strcpy` + calls", which was wrong: the third copy was fixed after CodeQL flagged it, and the remaining `strcpy` + calls copy derived shape text, not file fields. All inputs are already length-checked (`fs_task_id_ok` + 1..40, `fs_shape` 1..512), so no accepted or refused input changes. `GEN_PROTOCOL_V1.md` re-hashed again. diff --git a/docs/one_layer/OMEGESE.md b/docs/one_layer/OMEGESE.md index 0fc26b9c1..031cb1499 100644 --- a/docs/one_layer/OMEGESE.md +++ b/docs/one_layer/OMEGESE.md @@ -87,7 +87,7 @@ itself be an op, so no brackets are needed: `add mul r r 4` is add(mul(r, r), 4) | `neg` a / `not` a | 1 | negate (signed) / logical not (bool) or bitwise not (number) | un | | `<type>` a | 1 | a typed number (`uint 5`) or a conversion (`ulong x`, `ulong add a b`) | const / cast | | `get` arr i | 2 | load (arr is an array name) | load | -| `new` type len init | 3 | a new own array of len (1..64) elements; only as the whole value of `<name> =` | alloc | +| `new` type len init | 3 | a new own array of len elements (omc: 1..16777216, at most 4 MiB of local arrays, s.9.4; the C reference path through OSC IR: 1..64, `OSC_MAX_ARRAY_LEN`); only as the whole value of `<name> =` | alloc | | `own` / `edit` / `view` arr | 1 | move / mutable borrow / shared borrow (arr is an array name) | mov | | `<function>` args | its parameter count | call an earlier function | call | diff --git a/evidence/om-tls-review-2026-10-26/PORTING.md b/evidence/om-tls-review-2026-10-26/PORTING.md new file mode 100644 index 000000000..b5b116154 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/PORTING.md @@ -0,0 +1,57 @@ +# Porting note: catalog.py, omega_projects_pusher.py and allen_relay_mailer.py onto om/tls + +Source: aien-dev/omega-mv PR #813, MERGED as 705c0f010e782408c270f66d67462bb46170e5b5 (2026-10-26). +Pin that merge commit. omc on main is 189ada82…3b54 (suites re-run on it). + +## Build + +- Run `sh om/tls/build.sh OMC your.om OUT`. It composes `om2`, then the nine TLS units, then your + program. +- The units take 329 of omc's 512 functions per unit, which leaves about 180 for your code and + OmegaNet's http/json. +- Local arrays: `c` needs `new uchar 119296` (TLCSZ) and the trust store `new uchar 262144` + (TLSTSZ), together about 372 KiB of the 4 MiB local-array limit. Allocate both in `main`. + Globals cannot be passed (error 19). + +## Calls + +``` +e = tls_store st +e = tls_init c host 1 (1 offers ALPN http/1.1; use 0 for SMTP) +fd = tls_dial host 443 (465 for mail.gandi.net) +tls_deadline c add monons 30000000000 +e = tls_connect c st int fd (0, or a TLS_ERR_* code; tls_errname and tls_detail say why) +n = tls_write c req +n = tls_read c buf (repeat: >0 bytes, 0 = close_notify, <0 = -code) +tls_close c +x = fclose int fd +``` + +## Behaviour to rely on + +- Every failure fails closed. There is no insecure option to look for. +- `TLS_ERR_EOF` (-4 from `tls_read`) means the TCP connection ended without close_notify. Treat it + as truncation, not success. + +## SMTP + +- Port 465 (implicit TLS): the server's banner comes first, then EHLO, AUTH and the rest. +- Port 587 (STARTTLS): do the plaintext exchange on the fd first (banner, EHLO, STARTTLS, 220), + then `tls_connect`. After the handshake the client speaks first. +- `om/tls/test/tls/client.om` modes `smtp` and `tsmtp` show both. They match Python ssl + byte for byte against mail.gandi.net. + +## HTTP + +- The HTTP framing comes from OmegaNet's http.om; it calls `tls_read` and `tls_write` with + `c = part io HTB HTL`. +- `client.om` mode `get` is a working minimal GET that uses `Connection: close`. It matched Python + ssl on bodies of up to 680548 bytes. + +## Limits + +- IPv4 only, with DNS over UDP from `/etc/resolv.conf`. +- No revocation checking. +- No HelloRetryRequest, so servers that refuse x25519 are refused. All three target hosts accept + x25519. +- See `om/tls/README.md`. diff --git a/evidence/om-tls-review-2026-10-26/README.md b/evidence/om-tls-review-2026-10-26/README.md new file mode 100644 index 000000000..9a57419af --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/README.md @@ -0,0 +1,15 @@ +# om/tls security review bundle, 2026-10-26 (imported from /home/drakestapleton/handoffs/omega-tls) + +Prior-lane review reports and raw logs for om/tls at omega-mv main 705c0f01 (omc pin 189ada82), +retained here so an outside auditor can read what the inside review found and reproduce the runs. + +- `security-review.md`, `security-rereview.md`: the two inside review passes and their fix status +- `tls-contract.md`, `PORTING.md`: the port contract and porting notes +- `handoff-evidence/`: raw unit logs (sha2, x25519, chacha, aesgcm, ec, rsa, x509), the interop table, + `tls-run-20261026T1706Z.log` (full suite), `main-pin-189ada82/` and `review-fix/` logs +- `SHA256SUMS`: `sha256sum` of every file above, taken when they were copied (verify with + `sha256sum -c SHA256SUMS` from this directory) + +Evidence level: the logs are MEASURED on the DGX Spark host (arm64, GB10); nothing here is a +hardware or third-party qualification. The outside-review fixes that followed are in the +`audit/tls-outside-review` branch (om/tls/THREAT_MODEL.md, om/tls/AUDIT_SCOPE.md). diff --git a/evidence/om-tls-review-2026-10-26/SHA256SUMS b/evidence/om-tls-review-2026-10-26/SHA256SUMS new file mode 100644 index 000000000..acaef6fea --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/SHA256SUMS @@ -0,0 +1,33 @@ +7aabf89a7979adec1ee810774b8857c9c31aa93dee6d9f6a82d48145d390ea26 ./handoff-evidence/aesgcm.log +e4395706c6508603a87e4a80baa47fc92274b3eade562a77c9ba621b691cb4fa ./handoff-evidence/chacha.log +dfee35d66bfb4b38b6f60d176de854e40d178666c361cb80ea96c92a3924333c ./handoff-evidence/ec.log +e4b6c328ca37acd37d09de2a433fd6984bb16991dbb6a7fbbe1d8880812e7f44 ./handoff-evidence/interop-table.txt +8affc77c543cc124d2c5c507b075dacc46a8844767ad45af6c171f251a048b73 ./handoff-evidence/main-pin-189ada82/aesgcm.log +bb7cc82b5963eedc99153fddb0f7922c3a2c0f7717e4dc11f1eec6e605e757cf ./handoff-evidence/main-pin-189ada82/chacha.log +20db29226c9d0a9d9193cb37a88e96d1bdbe53e6bca8694dc6a90b5e7e050130 ./handoff-evidence/main-pin-189ada82/ec.log +5c7afc1d84f622fe6ec1c129e4b41502e052b748cfada876f02aa04716171ec1 ./handoff-evidence/main-pin-189ada82/interop-table.txt +d191307cf551f0992ef694dd0fab22fd6c5a925ccbf3fb2092a46d20cb1506f0 ./handoff-evidence/main-pin-189ada82/omc.sha256 +86ee51fd497f39ffe64208b0cba9ba603b77d632ab2f1ceea358c1c1de568b0a ./handoff-evidence/main-pin-189ada82/rsa.log +e6e2370c7772dd2eeec12fda6a43da78e431a926848733de5cdeb73a7aa0446e ./handoff-evidence/main-pin-189ada82/sha2.log +ba8ae60e9146a49cf9c184e374a3b1c055ac30d891f2261c641f8123ec421eca ./handoff-evidence/main-pin-189ada82/tls.log +8355d3a4c8eff4f0e0145c97222cf720a24e3e6136cad13c8e7c1bbfd194cebf ./handoff-evidence/main-pin-189ada82/x25519.log +f08b6f2ea5de9e055da7bc9f2f2954182014cea0d3f014da35cad2339270dfce ./handoff-evidence/main-pin-189ada82/x509.log +3f7d7eba1ec3d266752035362d90aa96a8bf94cba2cac89d3f67ce81165c535c ./handoff-evidence/review-fix/aesgcm.log +85ab5e7f1359bb22aba0688ce8d8f0dd2b86cc3de4e4017108e0a80a22ebf36e ./handoff-evidence/review-fix/chacha.log +d01f8c9676fa414a8ea540eafe437b0749c6120d2152e8b900d234b4bd8ba099 ./handoff-evidence/review-fix/ec.log +068cd4f72207bcadc64de7cd90abc42e1b972871b25c824a3cdb6f8380e91373 ./handoff-evidence/review-fix/interop-table.txt +a2c1408f0302775250fde3f20ab42463013e07625ce21ec257ba251b7f6380f2 ./handoff-evidence/review-fix/rsa.log +a884c6abceaa13b379e099fa7bed993bff2f4d79751463169bca52676df34b87 ./handoff-evidence/review-fix/sha2.log +3779dc3496493a0e3943ae75f27e4e4b88532b9daddb40f93a2dd0596a2dc370 ./handoff-evidence/review-fix/tls.log +0742aaad42e40a48477429d0802e55b7bd82c3fd6e1bed8e840cd89fa8af1e6e ./handoff-evidence/review-fix/x25519.log +61a31648cd314650e280f5717f33f2a4600fdd1af59f447d1e06d07061160499 ./handoff-evidence/review-fix/x509.log +fee090a8a808842293352200ac79ca65ec43504688a87fb11a159001977655fa ./handoff-evidence/rsa.log +a884c6abceaa13b379e099fa7bed993bff2f4d79751463169bca52676df34b87 ./handoff-evidence/sha2.log +eb96dd04282fca4a2bec465639f094d89482628e4ac28515b64bd3111a1f6f37 ./handoff-evidence/tls-run-20261026T1706Z.log +8b1a87f15ba77ac7cb5636665dbf2c399a52ea9b3848a804f0bc433d90747484 ./handoff-evidence/x25519.log +affde751ccde591e1404fdb6d5f60bde50af8555aa64e93777f8e1f07336aecf ./handoff-evidence/x509.log +9e594695dd95b2861599d7170081c43beebb9c631153f2fc684203baeae2af6c ./PORTING.md +148bc626ad0ddaadcd982c659189408661e2ba579aa7e4a6bd553a24986f8cd7 ./security-rereview.md +4c88a99fce50837c60f622714d066aaea89fe6a8b723b10b9c9b5f07817f4236 ./security-review.md +db01ad9395e3c7183b735feed14b59e9f230c8fe549cc41986ad499016b68b9b ./tls-contract.md +57090d10d30eafd7177c3f0aa8f9accfaaacccaab56b18ed68e3c09c4901a2f2 README.md diff --git a/evidence/om-tls-review-2026-10-26/errata-tls-coverage/PORTING.md b/evidence/om-tls-review-2026-10-26/errata-tls-coverage/PORTING.md new file mode 100644 index 000000000..f1026d5b7 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/errata-tls-coverage/PORTING.md @@ -0,0 +1,60 @@ +# Porting note: catalog.py, omega_projects_pusher.py and allen_relay_mailer.py onto om/tls + +Source: aien-dev/omega-mv PR #813, MERGED as 705c0f010e782408c270f66d67462bb46170e5b5 (2026-10-26). +Pin that merge commit. omc on main is 189ada82…3b54 (suites re-run on it). + +## Build + +- Run `sh om/tls/build.sh OMC your.om OUT`. It composes `om2`, then the nine TLS units, then your + program. +- The units take 329 of omc's 512 functions per unit, which leaves about 180 for your code and + OmegaNet's http/json. +- Local arrays: `c` needs `new uchar 119296` (TLCSZ) and the trust store `new uchar 262144` + (TLSTSZ), together about 372 KiB of the 4 MiB local-array limit. Allocate both in `main`. + Globals cannot be passed (error 19). +- Correction (2026-10-27): 119296 was TLCSZ when this was written. Since cb6e46510 (HelloRetryRequest + and the hybrid key share) TLCSZ is 121696: TLKDK = 119296 plus the 2400-byte ML-KEM-768 decapsulation + key. Allocate `new uchar TLCSZ` by name. + +## Calls + +``` +e = tls_store st +e = tls_init c host 1 (1 offers ALPN http/1.1; use 0 for SMTP) +fd = tls_dial host 443 (465 for mail.gandi.net) +tls_deadline c add monons 30000000000 +e = tls_connect c st int fd (0, or a TLS_ERR_* code; tls_errname and tls_detail say why) +n = tls_write c req +n = tls_read c buf (repeat: >0 bytes, 0 = close_notify, <0 = -code) +tls_close c +x = fclose int fd +``` + +## Behaviour to rely on + +- Every failure fails closed. There is no insecure option to look for. +- `TLS_ERR_EOF` (-4 from `tls_read`) means the TCP connection ended without close_notify. Treat it + as truncation, not success. + +## SMTP + +- Port 465 (implicit TLS): the server's banner comes first, then EHLO, AUTH and the rest. +- Port 587 (STARTTLS): do the plaintext exchange on the fd first (banner, EHLO, STARTTLS, 220), + then `tls_connect`. After the handshake the client speaks first. +- `om/tls/test/tls/client.om` modes `smtp` and `tsmtp` show both. They match Python ssl + byte for byte against mail.gandi.net. + +## HTTP + +- The HTTP framing comes from OmegaNet's http.om; it calls `tls_read` and `tls_write` with + `c = part io HTB HTL`. +- `client.om` mode `get` is a working minimal GET that uses `Connection: close`. It matched Python + ssl on bodies of up to 680548 bytes. + +## Limits + +- IPv4 only, with DNS over UDP from `/etc/resolv.conf`. +- No revocation checking. +- No HelloRetryRequest, so servers that refuse x25519 are refused. All three target hosts accept + x25519. +- See `om/tls/README.md`. diff --git a/evidence/om-tls-review-2026-10-26/errata-tls-coverage/README.md b/evidence/om-tls-review-2026-10-26/errata-tls-coverage/README.md new file mode 100644 index 000000000..25e105e50 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/errata-tls-coverage/README.md @@ -0,0 +1,15 @@ +# Corrections carried by #862 (TlsCoverage) + +evidence/ is immutable (evidence-immutable gate), so the TlsCoverage edits to existing files of this folder +are kept here as full replacement copies instead of in-place modifications: + +- +`PORTING.md` +- +`README.md` +- +`SHA256SUMS` +- +`security-review.md` + +Each copy is the original file plus the TLCSZ correction notes and the SHA256SUMS over the timing folders. diff --git a/evidence/om-tls-review-2026-10-26/errata-tls-coverage/SHA256SUMS b/evidence/om-tls-review-2026-10-26/errata-tls-coverage/SHA256SUMS new file mode 100644 index 000000000..a9b6e0bce --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/errata-tls-coverage/SHA256SUMS @@ -0,0 +1,62 @@ +c89ee130119a903886fc327a1f7116b2f1fe98c33d9206a495a69f45f4206b2f ./PORTING.md +45154a6a6e5b84aaa83a5a0fcf9fb38610e18a92278897d9a7644433aa456865 ./README.md +7aabf89a7979adec1ee810774b8857c9c31aa93dee6d9f6a82d48145d390ea26 ./handoff-evidence/aesgcm.log +e4395706c6508603a87e4a80baa47fc92274b3eade562a77c9ba621b691cb4fa ./handoff-evidence/chacha.log +dfee35d66bfb4b38b6f60d176de854e40d178666c361cb80ea96c92a3924333c ./handoff-evidence/ec.log +e4b6c328ca37acd37d09de2a433fd6984bb16991dbb6a7fbbe1d8880812e7f44 ./handoff-evidence/interop-table.txt +8affc77c543cc124d2c5c507b075dacc46a8844767ad45af6c171f251a048b73 ./handoff-evidence/main-pin-189ada82/aesgcm.log +bb7cc82b5963eedc99153fddb0f7922c3a2c0f7717e4dc11f1eec6e605e757cf ./handoff-evidence/main-pin-189ada82/chacha.log +20db29226c9d0a9d9193cb37a88e96d1bdbe53e6bca8694dc6a90b5e7e050130 ./handoff-evidence/main-pin-189ada82/ec.log +5c7afc1d84f622fe6ec1c129e4b41502e052b748cfada876f02aa04716171ec1 ./handoff-evidence/main-pin-189ada82/interop-table.txt +d191307cf551f0992ef694dd0fab22fd6c5a925ccbf3fb2092a46d20cb1506f0 ./handoff-evidence/main-pin-189ada82/omc.sha256 +86ee51fd497f39ffe64208b0cba9ba603b77d632ab2f1ceea358c1c1de568b0a ./handoff-evidence/main-pin-189ada82/rsa.log +e6e2370c7772dd2eeec12fda6a43da78e431a926848733de5cdeb73a7aa0446e ./handoff-evidence/main-pin-189ada82/sha2.log +ba8ae60e9146a49cf9c184e374a3b1c055ac30d891f2261c641f8123ec421eca ./handoff-evidence/main-pin-189ada82/tls.log +8355d3a4c8eff4f0e0145c97222cf720a24e3e6136cad13c8e7c1bbfd194cebf ./handoff-evidence/main-pin-189ada82/x25519.log +f08b6f2ea5de9e055da7bc9f2f2954182014cea0d3f014da35cad2339270dfce ./handoff-evidence/main-pin-189ada82/x509.log +3f7d7eba1ec3d266752035362d90aa96a8bf94cba2cac89d3f67ce81165c535c ./handoff-evidence/review-fix/aesgcm.log +85ab5e7f1359bb22aba0688ce8d8f0dd2b86cc3de4e4017108e0a80a22ebf36e ./handoff-evidence/review-fix/chacha.log +d01f8c9676fa414a8ea540eafe437b0749c6120d2152e8b900d234b4bd8ba099 ./handoff-evidence/review-fix/ec.log +068cd4f72207bcadc64de7cd90abc42e1b972871b25c824a3cdb6f8380e91373 ./handoff-evidence/review-fix/interop-table.txt +a2c1408f0302775250fde3f20ab42463013e07625ce21ec257ba251b7f6380f2 ./handoff-evidence/review-fix/rsa.log +a884c6abceaa13b379e099fa7bed993bff2f4d79751463169bca52676df34b87 ./handoff-evidence/review-fix/sha2.log +3779dc3496493a0e3943ae75f27e4e4b88532b9daddb40f93a2dd0596a2dc370 ./handoff-evidence/review-fix/tls.log +0742aaad42e40a48477429d0802e55b7bd82c3fd6e1bed8e840cd89fa8af1e6e ./handoff-evidence/review-fix/x25519.log +61a31648cd314650e280f5717f33f2a4600fdd1af59f447d1e06d07061160499 ./handoff-evidence/review-fix/x509.log +fee090a8a808842293352200ac79ca65ec43504688a87fb11a159001977655fa ./handoff-evidence/rsa.log +a884c6abceaa13b379e099fa7bed993bff2f4d79751463169bca52676df34b87 ./handoff-evidence/sha2.log +eb96dd04282fca4a2bec465639f094d89482628e4ac28515b64bd3111a1f6f37 ./handoff-evidence/tls-run-20261026T1706Z.log +8b1a87f15ba77ac7cb5636665dbf2c399a52ea9b3848a804f0bc433d90747484 ./handoff-evidence/x25519.log +affde751ccde591e1404fdb6d5f60bde50af8555aa64e93777f8e1f07336aecf ./handoff-evidence/x509.log +148bc626ad0ddaadcd982c659189408661e2ba579aa7e4a6bd553a24986f8cd7 ./security-rereview.md +2483c0f9ae2573ad81a4337ea692e8a6475ff8e8a29e87d04fc59599a77e0149 ./security-review.md +bdf8aabbae835ffee3c3d8975135d0157f608a89052898d6772461d4f26d9869 ./timing-v3/RAW-SHA256SUMS +a9b23e2f6a60e4e3f7a40e5cbcbc8689cd4e864546cbbb08e3830b1c146733b5 ./timing-v3/README.md +9629dba3f166c3658d093346e5283bc29a4cb0d9d8f4ebdb0cc90199286db498 ./timing-v3/SHA256SUMS +a8c37e25bbfe9e72bef44db69950a33bc3097190de5ea58e102153f6e06a014c ./timing-v3/aa.om +4a078df0e288f8b61d174c431f342f4482bda4cfb1809cd45b8a93ea7ba76e37 ./timing-v3/cteq/load.log +19e1d118823e8c2122e652dabf2102029764368a7a6e8795093e8f1ca09f4b32 ./timing-v3/cteq/sums.json +133b47a2e954ad6093e65acaa2fc98a1e382a228cca83356cd2f2092eb201598 ./timing-v3/cteq/wolfram-out.txt +3956ca17439fdf1ba68133370cf142abbb19f0f3925f4107e71ab6fa477189a1 ./timing-v3/cteq/wolfram-query.wl +1e3ae97ba5c94816fe51c9c2f89e294b587e7fc28439fe00c074525e2b99a247 ./timing-v3/cteq2/load.log +7f34d0244bac65653ecf0ed3e4d77481a7d5a50593b031e2d5ede463c562543c ./timing-v3/cteq2/sums.json +d0b6a84d698fcc62eb360f8bebf67acd24fd0482c41ae64dba1450622566efb7 ./timing-v3/cteq2/wolfram-out.txt +bb87c96bf71d026523599e23b3bae2f72fd3c952e08c088e5f3805ecce783a73 ./timing-v3/cteq2/wolfram-query.wl +ff000c1017238cf92e8c4de4e510df9c1779e0fa6dd48d42b771ab223cd0a705 ./timing-v3/rc/load.log +6a5eeb93553f02eabde77b94d93b7d28cd01709a080ce9d0b9094cd2fb79b078 ./timing-v3/rc/sums.json +3861c62a69613bd0fd104eed0e68b0e24b27d46ce261172aaf3f94c153d09054 ./timing-v3/rc/wolfram-out.txt +cd588a2241dc347fec9bcaf6918de78b650c6f1ccd0fc3b813f714b0fc5371f9 ./timing-v3/sums.py +8f8be4a0cd229b887c928ca99c7409e2599a787eb1ade497e35a163085cc90a3 ./timing-v3/tls_cteq.dis +d9e4af2471c3625fce6c3f173c7168307ff91054f666cddda3a092df9267375f ./timing-v3/v1r.om +501760d72984eba9501a83a6c6311224ac90562377333ca731f148e2298d238c ./timing-v3/v2.om +878d8479a50cc723d5949db04df60e6d6b8eb0de1ac95246b8e7f08be1dc5ebf ./timing-v3/v3/load.log +42367a83ceb8095dc7a49c1dc85048048b0d8a203a37791300545e64183b446b ./timing-v3/v3/sums.json +3c57cc75bad5e73ef525df8e78be31c12e8d370de0ba635f9c638d88c481230e ./timing-v3/v3/wolfram-out.txt +14f26fe2b53947c74f856261008d6dde0281da4a0da8031d1f2b1977223cdc8e ./timing-v3/v3/wolfram-query.wl +43d4067002ffbe57aac7c9b76a5225c54f623ca0d5779b7deda2217f697ed81d ./timing/SHA256SUMS +9c83458eb8860d0fd61f138cd8311263b330b50a964f0cbc9088b420a24b32fc ./timing/v1/SHA256SUMS +94cab61f583178287b476c99ab6c031687d63e41896096aef23fc102ebd84ba8 ./timing/v1/sums.json +688c671d64ac35a54051c43b80ffa5d01ca920064c384925ba2d363dc9154394 ./timing/v2/SHA256SUMS +1da327a3146d37ba12c85736f359e8d9025467915b39fb1e57cfa3ca29b0c3af ./timing/v2/sums.json +25ee00055ba726a3f250672c76bce54aa8b0f22eca4beacb20a7a32ece394a5c ./timing/welch.md +db01ad9395e3c7183b735feed14b59e9f230c8fe549cc41986ad499016b68b9b ./tls-contract.md diff --git a/evidence/om-tls-review-2026-10-26/errata-tls-coverage/security-review.md b/evidence/om-tls-review-2026-10-26/errata-tls-coverage/security-review.md new file mode 100644 index 000000000..6b9187bf8 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/errata-tls-coverage/security-review.md @@ -0,0 +1,267 @@ +# Security review: om/tls (aien-dev/omega-mv, branch feat/om-tls, tree /tmp/omtls) + +Reviewer: security-reviewer subagent, read-only. **Nothing was compiled or run.** Every runtime +statement below comes from reading the code and the OMEGESE trap rules (`docs/one_layer/OMEGESE.md:58-60,131-134`: +a `while … bound N` traps 4 if its condition is still true at the head of pass N+1; a trap ends the process with +exit 100+code). Runtime status is NOT_RUN: no finding was EXERCISED. +Contract: `/home/drakestapleton/handoffs/omega-tls/tls-contract.md` ("untrusted input must never trap", +"secrets constant time", "tag compare constant time"). + +Line numbers refer to the tree as read on 2026-10-26 (tls.om 2130 lines, x509.om 1955 lines). + +## Findings + +### F1. MEDIUM: certificate with 5 uniqueIDs traps the client before authentication. x509.om:1004 +`x509_tbs2` reads issuerUniqueID/subjectUniqueID with `while lt s b bound 4`. Each `0x81`/`0x82` element +`continue`s, and nothing enforces order or uniqueness. +- Failing input: a v2 or v3 TBSCertificate whose subjectPublicKeyInfo is followed by `81 00 81 00 81 00 81 00 81 00`, + or by four `81 00` and then the `[3]` extensions. Pass 5's head sees `s < b` and the process traps 4 (exit 104). +- Reach: the leaf is parsed in `chain_leaf`, and presented intermediates in `chain_try`, before any signature is + checked. Any server can kill the client. So can an on-path or DNS attacker, because the Certificate comes from + whoever terminates the handshake. +- Violates the contract rule "untrusted input must never trap", and README.md:165. +- Fix: accept at most one `0x81`, then at most one `0x82`, in that order (track the last tag), otherwise + X5EMAL; or replace the bound with a counter that returns X5EMAL. + +### F2. MEDIUM: element-count bounds of 10000 are reachable from a single certificate (trap 4). x509.om:809, 845, 930, 1534 +`x509_eku` (809), `x509_san` (845), `x509_exts` (930) and `chain_host` (1534) each loop +`while lt s b bound 10000`, one element per pass. +- Failing inputs (smallest elements): + - EKU containing 10001 × `06 00`: about 20 KB. + - SAN containing 10001 × `80 00` (an otherName-tag-shaped GeneralName, skipped as non-dNSName): about 20 KB. + This traps in `x509_san`, or in `chain_host` if parsing passes. + - Extensions containing 10001 × `30 04 06 00 04 00`: about 60 KB. The duplicate check needs a known OID, so + empty or unknown OIDs repeat freely; if empty OIDs are refused, use `30 05 06 01 00 04 00`, 7 bytes, 70 KB, + which still fits. +- Reach: the leaf has no size cap before `x509_chain_verify`; TLLFSZ is only checked in `tls_leaf`, after + verification (tls.om:1240-1250). A Certificate message can be up to TLHBSZ = 65536 bytes. Presented + intermediates are capped at X5KBUF = 16384 bytes, which is below the EKU/SAN threshold, so the leaf is the + vector. Same attacker set as F1. +- Fix: return X5EMAL when a counter reaches the cap instead of relying on `bound`. Alternatively set each bound + above the largest count the byte budget allows (len/2 + 1 for 2-byte elements). Cheapest of all: cap leaf + size at TLLFSZ before calling `x509_chain_verify`, then make each bound ≥ 16896/2. + +### F3. MEDIUM: `tls_hsmsg` traps on 4096 records that add no handshake bytes (on-path, before authentication). tls.om:588 +`tls_hsmsg` is `while true bound 4096`, one record per pass. `tls_rdrec` (tls.om:527-532) accepts an +unencrypted ChangeCipherSpec record (`14 03 03 00 01 01`) at any time, including after handshake keys are +installed, because the type-20 test runs before the `TLRK` test. `tls_hsmsg` then skips it without counting. +- Failing input: an on-path attacker injects 4096 six-byte CCS records (24 KB) into the server's flight after + ServerHello. The client traps 4. With an error instead of a trap, the same attacker would only cause an + ordinary connection failure. +- Second trigger: a hostile but authenticated-later server fragments EncryptedExtensions/Certificate into ≥ 4096 + one-byte records. The record layer is legal and Certificate may be 65 KB. +- `ret TLEUNEX` at the end of the loop (≈ line 619) can never run. +- Fix: allow at most one plaintext CCS (RFC 8446 §5 middlebox compatibility), and none after the first protected + record. Count records in a variable and return TLEUNEX/TLEBIG at a cap at or above TLHBSZ + 8, rather than + reaching `bound`. + +### F4. LOW-MEDIUM: `tls_read` traps on 999,999 records that carry no data (authenticated peer). tls.om:1714 +`while true bound 999999` only exits when `TLPN > 0`, at close_notify, or on an error. Zero-length +application_data records are valid. Each is 22 bytes on the wire: header, inner type, tag. +NewSessionTicket-only records (`tls_post` → `tls_hsdrop`) and KeyUpdate also leave `TLPN = 0`. +- Failing input: the authenticated server (or a compromised CDN edge) sends 999,999 empty type-23 records + (≈ 22 MB). The client traps 4 inside `tls_read`. +- Fix: count consecutive records that deliver no data and return a normal error (for example TLEUNEX after + 1024), or turn the loop into an explicit counter that ends in an error. + +### F5. MEDIUM: a non-critical nameConstraints extension is silently ignored. x509.om `x509_ext` (≈861-917), README.md:79-80 +Only a *critical* nameConstraints (known-OID index 20) returns X5ECRIT. A non-critical one is parsed past +and its restrictions are never applied. +- Scenario: a technically constrained subordinate CA, for example `permitted;DNS:example.com`, marked + non-critical. Historically the CA/B Forum Baseline Requirements and Mozilla allowed this for compatibility. + If that CA issues for `api.github.com` or `mail.gandi.net`, this client accepts the chain. OpenSSL and NSS + enforce the constraint and refuse it. +- The README documents the behaviour ("a critical one is refused"), but it is a fail-open default on a path + that protects the GitHub token and SMTP credentials. The only test is `name_constraints_critical` + (gen_pki.sh intNC, `critical,permitted;DNS:example.test`), so no non-critical case is covered. +- Fix: refuse nameConstraints on any issuer whether critical or not (X5ECRIT), or implement dNSName + permitted/excluded subtree matching for the leaf SAN. Add a non-critical test case either way. + +### F6. LOW: attacker-chosen RSA exponents give a large CPU cost per presented certificate. rsa.om:16-17, 28-29 (policy), `rsa_key` (340-389); x509.om:1568-1581 (`chain_sig`) +`rsa_key` accepts any odd e ≥ 3 with bitlen(e) ≤ bitlen(n), and n up to 8192 bits. The rsa.om note says the +cost "is a CPU cost the caller accepts by passing such a key". x509.om's `chain_sig` passes keys taken from +*presented* candidate certificates, which the attacker controls, and limits only the modulus minimum (≥ 2048). +- Modelled cost: one Montgomery product for s = 256 limbs is about 2s² = 131,072 limb mul-adds. An all-ones + 8192-bit e needs about 8192 squarings and 8192 multiplies, about 2.1 × 10⁹ limb mul-adds per verification. + For e = 65537 with a 2048-bit key it is 2·32²·18 ≈ 36,864. + `WolframLanguageEvaluator: s=256; {2 s^2, 2 s^2*16384, 2*32^2*18} -> {131072, 2147483648, 36864}`. +- Up to 15 presented candidates can be tried, and none of this time counts against `tls_deadline`, which only + covers I/O waits. A MITM can hold the client CPU-bound for a long time. Wall-clock time is not measured. +- Fix: at the X.509 layer, require e ≤ 2³² − 1 (or exactly 65537) and n ≤ 4096 bits for keys in presented + certificates and the leaf. Web PKI root programs already require these limits. + +### F7. LOW: protected and repeated ChangeCipherSpec records are accepted during the handshake. tls.om:527-532, 609-616 +Two defects share one root cause: +1. A record whose *inner* content type is 20 after decryption is skipped silently in `tls_hsmsg`, because the + test is `if ne ty 20`. RFC 8446 §5 requires the unexpected_message alert for an encrypted CCS. +2. Plaintext CCS is accepted any number of times, and also before ServerHello. + +The fix in F3 covers both: accept CCS only as an unprotected record, at most once, between ServerHello and the +server Finished. + +### F8. LOW-MEDIUM (DoS) / INFO: DNS answer handling. tls.om:1886-1890 (comment), 1930 (`dns_skip`), 1950-2000 (`dns_parse`) +- `dns_skip` is `while lt p z bound 128`. An answer owner name made of ≥ 128 one-byte labels (256 bytes) traps 4. + Attackers able to send this: the resolver, an on-path attacker, or an off-path spoofer that matches the 16-bit + ID on the connected UDP port. Fix: return 0 after 127 labels, or when the name passes 255 bytes. +- The flag mask 33295 (0x820F) at line 1959 tests QR, TC and RCODE, but not the opcode (bits 11-14). This + contradicts the comment at line 1789 ("opcode 0"). Fix: mask 0xFA0F, expect 0x8000. +- The owner name of the answer RR is never compared with the question. The first IN A record anywhere in the + answer section is used. +- One `recv` per attempt, so a single garbage datagram fails the lookup. +- TLS authentication limits all of this to denial of service, as README.md:81-83 says. + +### F9. LOW (test gap): no negative control for CertificateVerify. test/tls/run.sh, interop.sh, kat.om +- No interop row and no KAT check reaches `TLECV`, and kat.om has no CV or x509 reference at all. +- In every row, the chain is either valid with an honest CertificateVerify, or rejected earlier at the chain + check. +- A mutant `s/^ret TLECV$/ret 0/` (tls.om:1278) or "ignore `tls_cvcall`" would survive the whole suite + [INFERENCE from reading the rows; not executed]. +- CertificateVerify is the only proof that the server holds the leaf key. Without it, an attacker who replays a + valid public certificate chain is stopped only by the Finished MAC, which the same attacker can compute + because it chose the ECDHE share. +- Fix: + - Add a fakesh-style server that sends a valid chain for `localhost` (from the test PKI) plus a CV signed by a + different key, expecting TLS_ERR_CERTIFICATE_VERIFY (alert 51). + - Add a server that skips CV (Certificate followed directly by Finished), expecting TLEUNEX. + - Add both as `imut` mutants. + +### F10. LOW (test gap): fuzzing and interop do not exercise F1-F4 or F7. test/x509/vectors/cases.txt:181-184, test/tls/fakesh.py +- The x509 fuzz applies 800 deterministic single mutations to valid lists. Those never repeat an element 5 or + 10001 times. +- fakesh only crafts the ServerHello. +- No case covers CCS flooding, inner type 20, record fragmentation, zero-length application data, KeyUpdate, + NewSessionTicket floods, truncation before close_notify, or CertificateRequest. +- Add each as an interop or fakesh row that expects a named error and treats any exit ≥ 100 (trap) as FAIL. + +### F11. INFO +- `tls_close` (tls.om:1772-1782) sets TLPH = 2 even from state 3 (failed). A later `tls_read` then returns 0, + which reads like a clean close_notify. Keep state 3 when the connection had failed. +- A close_notify received during the handshake makes `tls_connect` return internal code TLCLOSE (100), which + `tls_errname` maps to TLS_ERR_UNKNOWN. The return is nonzero, so this is not a bypass, but it should be a + named error. +- `tls_deadline` 0 means 30 s per wait with no overall cap (README.md:45 is accurate but easy to misread), so a + slow-drip server can stretch the handshake. CPU time (F6) is not covered by any deadline. +- `tls_hq` uses the realtime clock, so the host clock decides certificate validity. +- Wildcards are not checked against a public-suffix list (`*.co.uk`); this relies on CA policy. +- Caller-contract traps, not attacker-reachable: + - `dns_query` with a hostname longer than the query buffer (`tls_dial` does not validate it, unlike + `tls_init`); + - `tls_write` with more than 16 GB (bound 999999 × 16384); + - `/etc/resolv.conf` with more than 4096 consecutive blanks (tls.om:1869); + - a trust bundle larger than TLSTSZ fails closed. +- CertificateRequest extensions are not validated. This is harmless because an empty Certificate is always + sent. +- `chain_pres`/`chain_path` (x509.om ≈1703-1745) commit to the first presented candidate whose signature + verifies, then check `chain_ca`, with no backtracking. This fails closed and affects availability only. + +## Checked and found sound + +**AEAD** +- `aead_chacha_open` (chacha.om:423-445): the Poly1305 tag is computed over AAD and ciphertext first, then the + 16 bytes are OR-accumulated with no early exit, and the one-time key is wiped. On mismatch the ciphertext + region is zeroed and 1 is returned. Decryption runs only after the tag matches. +- `gcm_open1` (aesgcm.om:615-630): the same pattern (GHASH, then OR-accumulated tag compare, then wipe or CTR). + `gcm_clear` wipes round keys, H and state on every path. The bitsliced AES has no secret-indexed tables + (per the module notes; not timed). + +**X25519** (x25519.om:298-326) +- Inputs are length-checked, the scalar is clamped, the ladder has a fixed count of 255 steps, cswap is masked, + and the all-zero result is detected without branching (`x25519_fenc`). +- The workspace and scalar copy are wiped. +- tls.om:1035 propagates the zero result: the fakesh `zero` row expects ZERO_SHARED_SECRET. + +**ECDSA** (ec.om:495-646) +- Public key: exactly `04‖X‖Y`, X < p and Y < p, and an on-curve equation check. +- DER: strict, short-form, minimal INTEGERs, no trailing bytes. An oversized INTEGER is replaced by n, so it + fails the range check. +- r and s are both checked to lie in [1, n−1]. +- A result at infinity is rejected, and x(R) mod n is compared with r. +- Curve constants are recorded as Wolfram-checked in test/ec/wolfram.txt (the file was not re-checked here). + +**RSA** +- PKCS#1 v1.5 builds the whole k-byte block and compares it byte for byte; the block is never parsed. The + DigestInfo prefixes are verbatim from RFC 8017. +- The PSS path checks the exact salt length. The X.509 layer requires salt = hash length, the trailer, the + emBits mask and the zero PS. +- s ≥ n and a signature length different from the modulus length are both rejected. +- Only the exponent policy is weak (F6). + +**Handshake order and authentication** +- Order: ServerHello → EncryptedExtensions → optional CertificateRequest → Certificate (empty context) → + CertificateVerify → Finished (32 bytes, `tls_cteq`). +- Transcript ranges and key-schedule labels follow RFC 8446 §7.1. The RFC 8448 KAT covers them, and 4 library + mutants were read. +- `TLHF == 0` is enforced at each key change. +- Every failure goes through `tls_abort` (phase 3, keys wiped). +- A `TLECV`/`TLEFIN` result is mapped to alert 51 (tls.om:1494). + +**ServerHello** +- Exact version, HRR detection, constant-time session-ID echo, offered suite only, compression 0. +- Extensions are exactly supported_versions (0x0304) and an x25519 key_share, each at most once, with exact + framing. +- Only TLS 1.3 is offered, so there is no downgrade path. + +**EncryptedExtensions** +- Only SNI (empty), supported_groups and ALPN are accepted, with no duplicates. ALPN must be exactly the offered + `http/1.1`. + +**Record layer** +- Lengths: at most 16640 on the wire, at most 16384 of plaintext, ciphertext of at least 17. +- After keys are installed, only type 23 is accepted (CCS excepted, F7). A plaintext alert or handshake record + is refused. +- Nonce = IV XOR seq. Seq refuses 2⁶⁴−1 instead of wrapping and is reset on key install. +- An all-zero inner plaintext is refused, and plaintext is exposed only after a successful open. +- An alert must be 2 bytes long. EOF without close_notify gives `-TLS_ERR_EOF`. +- Buffer offsets end exactly at TLCSZ = 119296. + Correction (2026-10-27): true for the reviewed revision. Since cb6e46510 TLCSZ is 121696, and + 119296 is TLKDK, the start of the 2400-byte ML-KEM-768 decapsulation key that now ends at TLCSZ. + +**Post-handshake** +- `tls_post` (bound 4096 messages per record ≤ 16384/4 is unreachable). +- NewSessionTicket is dropped, and anything other than NewSessionTicket or KeyUpdate is refused. + +**Bounded loops checked unreachable** +- The ServerHello/EncryptedExtensions extension loops (bound 64) end within 4 passes. +- The padding scan (bound 20000 > 16624). +- `chain_index` (bound 100000 > 65536/5). +- `der_hdr` (≤ 3 length octets, minimal, never reads past the end). +- `rsa_bits`. +- The MGF1 loop (bound 999 > 1024/32). + +**X.509** +- Strict DER for time (UTC pivot, GeneralizedTime, Z only), AlgorithmIdentifier (NULL or absent, exact PSS + parameters, ECDSA without parameters), tbs/outer algorithm equality, version, and serial of 1..21 bytes. +- basicConstraints, keyUsage, EKU and SAN framing. Known extensions at most once; an unknown critical extension + gives X5ECRIT. +- Leaf: + - SAN dNSName only, with no CN fallback. + - LDH host names; IP literals refused. + - Wildcard only as the whole leftmost label. + - Not a CA; digitalSignature; serverAuth. + - RSA ≥ 2048 bits. +- Issuers: + - Byte-equal DER names and consistent algorithm/key pairs. + - CA:TRUE, pathLen, keyCertSign, EKU, validity. + - Each presented certificate used at most once, depth ≤ 8, at most 16 entries. +- `x509_cv_verify`: the curve must match the scheme, rsa_pkcs1 is refused, and RSA must be ≥ 2048 bits. The leaf + in TLLF is the same bytes `chain_leaf` validated. +- PEM/base64 decoding of the local trust store is strict. + +**Constant time for secrets** +- `tls_cteq` (tls.om:172) for Finished, the session ID and ALPN. +- The README side-channel table (README.md:85-103) matches the code read; the DIT and padding caveats are + stated. + +**README claims checked** +- The API, the documented limits and the "not implemented" list match the code. +- Two claims are contradicted: + - "Untrusted input must never trap" (README.md:165, and the module notes such as x509 and tls): see F1-F4 and + F8. + - Mutant counts: run.sh has 1 expectation + 4 KAT + 4 interop mutants = 9, matching "9/9". x509 run.sh has + 3 library + 1 expectation = 4, matching "4/4". These counts are accurate, but none of the mutants targets + CertificateVerify (F9). + +## Not reviewed in depth +- sha2.om and hkdf.om internals. Their KATs and Wycheproof counts are cited in the README and were not re-run. +- client.om and parity.py. +- AES S-box gate correctness. diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/aesgcm.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/aesgcm.log new file mode 100644 index 000000000..350dc14e7 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/aesgcm.log @@ -0,0 +1,28 @@ +omc sha256 befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +library sha256 b19d8ce88fc65eb0e69e51f52f3af70b9c46c4bfbbc84004d43e536bf4ced17f +library functions 37 +PASS fips197: aesgcm driver: 4 checks, 0 failed +PASS wycheproof: aesgcm driver: 316 checks, 0 failed +PASS gcmEncryptExtIV128: aesgcm driver: 7875 checks, 0 failed +PASS gcmEncryptExtIV192: aesgcm driver: 7875 checks, 0 failed +PASS gcmEncryptExtIV256: aesgcm driver: 7875 checks, 0 failed +PASS gcmDecrypt128: aesgcm driver: 7875 checks, 0 failed +PASS gcmDecrypt192: aesgcm driver: 7875 checks, 0 failed +PASS gcmDecrypt256: aesgcm driver: 7875 checks, 0 failed +nist: 47250 vectors (11908 decrypt vectors expect FAIL) +PASS params: aesgcm driver: 19 checks, 0 failed +PASS speed: aesgcm driver: 3 checks, 0 failed +aesgcm speed bytes=1048576 seal_ns=38564056 open_ns=29788786 seal_MBps=27 open_MBps=35 +aesgcm speed bytes=1048576 seal_ns=20868955 open_ns=20884652 seal_MBps=50 open_MBps=50 +aesgcm speed bytes=1048576 seal_ns=21268959 open_ns=21078718 seal_MBps=49 open_MBps=49 +PASS mutant-sbox: detected, exit 1, 233 MISMATCH (aesgcm driver: 320 checks, 233 failed) +PASS mutant-ghash: detected, exit 1, 226 MISMATCH (aesgcm driver: 320 checks, 226 failed) +PASS mutant-rcon: detected, exit 1, 81 MISMATCH (aesgcm driver: 320 checks, 81 failed) +PASS mutant-tagcheck: detected, exit 1, 310 MISMATCH (aesgcm driver: 320 checks, 310 failed) +PASS mutant-expect: detected, exit 1, 1 MISMATCH (aesgcm driver: 316 checks, 1 failed) +NOT_RUN wycheproof aes_gcm_siv_test.json: AES-GCM-SIV (RFC 8452) is not implemented +NOT_RUN wycheproof aria_gcm_test.json, seed_gcm_test.json, sm4_gcm_test.json: other block ciphers +NOT_RUN wycheproof c2sp_chunked_encryption_aes_{128,256}_gcm_test.json: chunked-encryption construction, not raw AES-GCM +wycheproof: 316 tests: valid 229 passed, invalid 87 refused, acceptable 0 +checks outside the vectors: params=19 speed=3 (both passed) +AESGCM PASS vectors=47570 (fips197=4, nist=47250, wycheproof=316) mutants=5/5 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/chacha.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/chacha.log new file mode 100644 index 000000000..a2d4d2845 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/chacha.log @@ -0,0 +1,20 @@ +omc sha256 befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +library sha256 8431257bc8e83474983c572cfdfa7f8f4b62a1b867748868e88fbc9c1b37d3af +driver sha256 1130187a2edc36c4b12fbafbe7295a61cbb184fe62891427fdcc0728737dba00 +PASS rfc8439: chacha driver: 36 checks, 0 failed +PASS wycheproof-regenerate: committed conversions equal a fresh conversion at d17cc89fa5c8f4f4d378b5385ebf75da5d0926c9 +PASS wycheproof-chacha20-poly1305: chacha driver: 325 checks, 0 failed +PASS wycheproof-chacha20-counter: chacha driver: 14 checks, 0 failed +NOTE wycheproof chacha20_poly1305_test.json: expected codes 0:256 1:60 2:9; NOT_RUN 0 (0 valid sealed+opened, 1 invalid tag refused, 2 invalid nonce size refused; no acceptable) +NOTE wycheproof chacha20_counter_test.json: expected codes 0:11 2:3; NOT_RUN 28 (NOT_RUN = XChaCha20 groups, not implemented) +PASS cryptography-diff(seed 1): chacha driver: 2709 checks, 0 failed +PASS tamper-refused: chacha driver: 3 checks, 0 failed +PASS tamper-claimed-valid: 3 of 3 tampered records rejected +PASS mutant-expectation: detected, exit 1, 1 MISMATCH (chacha driver: 36 checks, 1 failed) +PASS mutant-qr-rotation: detected, exit 1, 278 MISMATCH (chacha driver: 361 checks, 278 failed) +PASS mutant-poly-clamp: detected, exit 1, 133 MISMATCH (chacha driver: 361 checks, 133 failed) +PASS mutant-poly-fold: detected, exit 1, 267 MISMATCH (chacha driver: 361 checks, 267 failed) +PASS mutant-poly-final: detected, exit 1, 272 MISMATCH (chacha driver: 361 checks, 272 failed) +PASS bench-1MiB: 16 open+reseal rounds restored the plaintext; sealed sha256 314d4f2a5908e50854a934af2df4cee3f86baa891a64a68a384a58432b1e260b equals cryptography +THROUGHPUT bench-1MiB: 33 MiB through seal/open in 170604512 ns = 202.8 MB/s (whole process, incl. start-up and pattern checks) +CHACHA PASS vectors=3087 (wycheproof=339) mutants=5/5 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/ec.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/ec.log new file mode 100644 index 000000000..9c632a601 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/ec.log @@ -0,0 +1,92 @@ +omc befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +ec.om 909f37c797e187bd0663bde9f57c75d6ce41eb2c9726a6b50d6fc714e424c060 functions 27 +sha2.om 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +driver e0424968291256158695a6c339806ba158c475144ce13662e8ce8717607b7e66 +PASS cavp_sigver: cases 180 verifies 180 controls 108 mismatches 0 ns 493265566 codes 36 144 0 0 0 0 +PASS edge: cases 56 verifies 56 controls 12 mismatches 0 ns 26344787 codes 4 0 16 20 12 4 +PASS wycheproof_secp256r1_sha256: cases 484 verifies 484 controls 522 mismatches 0 ns 302705888 codes 174 23 221 0 66 0 +PASS wycheproof_secp256r1_sha256_p1363: cases 262 verifies 262 controls 519 mismatches 0 ns 276694216 codes 173 18 21 0 50 0 +PASS wycheproof_secp256r1_sha512: cases 554 verifies 554 controls 729 mismatches 0 ns 406244962 codes 243 25 220 0 66 0 +PASS wycheproof_secp256r1_sha512_p1363: cases 332 verifies 332 controls 726 mismatches 0 ns 356895845 codes 242 19 21 0 50 0 +PASS wycheproof_secp384r1_sha256: cases 472 verifies 472 controls 486 mismatches 0 ns 786480837 codes 162 24 220 0 66 0 +PASS wycheproof_secp384r1_sha384: cases 504 verifies 504 controls 582 mismatches 0 ns 925188254 codes 194 23 221 0 66 0 +PASS wycheproof_secp384r1_sha384_p1363: cases 280 verifies 280 controls 579 mismatches 0 ns 868910628 codes 193 18 19 0 50 0 +PASS wycheproof_secp384r1_sha512: cases 542 verifies 542 controls 693 mismatches 0 ns 1059887025 codes 231 23 221 0 67 0 +PASS wycheproof_secp384r1_sha512_p1363: cases 318 verifies 318 controls 690 mismatches 0 ns 1013540826 codes 230 19 19 0 50 0 +NOT_RUN wycheproof ecdsa_brainpoolP224r1_sha224_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP224r1_sha224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP224r1_sha3_224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP256r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP256r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP256r1_sha3_256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP320r1_sha384_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP320r1_sha384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP320r1_sha3_384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP384r1_sha384_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP384r1_sha384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP384r1_sha3_384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP512r1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP512r1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP512r1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r2_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r2_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha224_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha224_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha3_224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha3_256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_shake128_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_shake128_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha256_bitcoin_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha3_256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake128_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake128_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256r1_sha3_256_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp256r1_sha3_512_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp256r1_shake128_p1363_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp256r1_shake128_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_sha3_384_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_sha3_512_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_shake256_p1363_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_shake256_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp521r1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_shake256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_shake256_test.json: curve not P-256/P-384 +NOT_RUN cavp SigVer.rsp P-256/P-384 with SHA-1, SHA-224: hash not in om/tls/sha2.om +NOT_RUN cavp SigVer.rsp P-192, P-224, P-521, K-*, B-* sections: curve not P-256/P-384 +NOT_RUN cavp SigVer_TruncatedSHAs.rsp (SHA-512/224, SHA-512/256): hash not in om/tls/sha2.om +PASS mutant-expectation detected: 1 mismatches, cases 484 verifies 484 controls 519 mismatches 1 ns 290819864 codes 174 23 221 0 66 0 +PASS mutant-b256 detected: 696 mismatches, cases 484 verifies 484 controls 522 mismatches 696 ns 10891612 codes 0 0 0 484 0 0 +PASS mutant-padd detected: 194 mismatches, cases 504 verifies 504 controls 582 mismatches 194 ns 901496660 codes 0 217 221 0 66 0 +PASS mutant-n0 detected: 36 mismatches, cases 180 verifies 180 controls 108 mismatches 36 ns 493530663 codes 0 180 0 0 0 0 +PASS mutant-der detected: 2 mismatches, cases 56 verifies 56 controls 12 mismatches 2 ns 17187590 codes 6 0 14 20 12 4 +PASS mutant-digest-column detected: 1 mismatches, cases 504 verifies 504 controls 582 mismatches 1 ns 880274870 codes 194 23 221 0 66 0 +PASS fuzz: cases 3000 verifies 3000 controls 0 mismatches 0 ns 1543832248 codes 0 533 1290 1172 5 0 +TIME secp256r1_sha256: 200 verifies, 309657397 ns total, 1548286 ns per verify +TIME secp384r1_sha384: 200 verifies, 762225788 ns total, 3811128 ns per verify +EC PASS vectors=3984 (wycheproof=3748 cavp=180 edge=56) mutants=6/6 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/interop-table.txt b/evidence/om-tls-review-2026-10-26/handoff-evidence/interop-table.txt new file mode 100644 index 000000000..c9d9c5d3b --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/interop-table.txt @@ -0,0 +1,24 @@ +PASS | good EC chain, chacha | expect OK | got OK +PASS | good EC chain, aes128gcm | expect OK | got OK +PASS | good RSA leaf (rsa_pss) | expect OK | got OK +PASS | expired leaf | expect TLSERR TLS_ERR_CERTIFICATE detail 2 X509_ERR_EXPIRED | got TLSERR TLS_ERR_CERTIFICATE detail 2 X509_ERR_EXPIRED (exit 27) +PASS | not-yet-valid leaf | expect TLSERR TLS_ERR_CERTIFICATE detail 3 | got TLSERR TLS_ERR_CERTIFICATE detail 3 X509_ERR_NOT_YET_VALID (exit 27) +PASS | wrong name | expect TLSERR TLS_ERR_CERTIFICATE detail 4 | got TLSERR TLS_ERR_CERTIFICATE detail 4 X509_ERR_NAME_MISMATCH (exit 27) +PASS | self-signed leaf (CA:TRUE) | expect TLSERR TLS_ERR_CERTIFICATE detail 15 | got TLSERR TLS_ERR_CERTIFICATE detail 15 X509_ERR_LEAF_IS_CA (exit 27) +PASS | self-signed leaf (CA:FALSE) | expect TLSERR TLS_ERR_CERTIFICATE detail 5 | got TLSERR TLS_ERR_CERTIFICATE detail 5 X509_ERR_UNKNOWN_ISSUER (exit 27) +PASS | bad cert signature | expect TLSERR TLS_ERR_CERTIFICATE detail 6 | got TLSERR TLS_ERR_CERTIFICATE detail 6 X509_ERR_BAD_SIGNATURE (exit 27) +PASS | unknown issuer | expect TLSERR TLS_ERR_CERTIFICATE detail 5 | got TLSERR TLS_ERR_CERTIFICATE detail 5 X509_ERR_UNKNOWN_ISSUER (exit 27) +PASS | missing intermediate | expect TLSERR TLS_ERR_CERTIFICATE detail 5 | got TLSERR TLS_ERR_CERTIFICATE detail 5 X509_ERR_UNKNOWN_ISSUER (exit 27) +PASS | TLS 1.2 only server | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 70 | got TLSERR TLS_ERR_ALERT_RECEIVED detail 70 (exit 31) +PASS | AES-256 suite only | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 40 | got TLSERR TLS_ERR_ALERT_RECEIVED detail 40 (exit 31) +PASS | P-256 group only | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 40 | got TLSERR TLS_ERR_ALERT_RECEIVED detail 40 (exit 31) +PASS | fake ServerHello: tls12 | expect TLSERR TLS_ERR_PROTOCOL_VERSION | got TLSERR TLS_ERR_PROTOCOL_VERSION detail 0 (exit 19) +PASS | fake ServerHello: hrr | expect TLSERR TLS_ERR_HELLO_RETRY_UNSUPPORTED | got TLSERR TLS_ERR_HELLO_RETRY_UNSUPPORTED detail 0 (exit 23) +PASS | fake ServerHello: suite | expect TLSERR TLS_ERR_CIPHER_SUITE | got TLSERR TLS_ERR_CIPHER_SUITE detail 0 (exit 20) +PASS | fake ServerHello: sid | expect TLSERR TLS_ERR_SESSION_ID_ECHO | got TLSERR TLS_ERR_SESSION_ID_ECHO detail 0 (exit 24) +PASS | fake ServerHello: group | expect TLSERR TLS_ERR_KEY_SHARE | got TLSERR TLS_ERR_KEY_SHARE detail 0 (exit 21) +PASS | fake ServerHello: zero | expect TLSERR TLS_ERR_ZERO_SHARED_SECRET | got TLSERR TLS_ERR_ZERO_SHARED_SECRET detail 0 (exit 25) +PASS | fake ServerHello: dupext | expect TLSERR TLS_ERR_EXTENSION | got TLSERR TLS_ERR_EXTENSION detail 0 (exit 22) +PASS | fake ServerHello: trail | expect TLSERR TLS_ERR_DECODE | got TLSERR TLS_ERR_DECODE detail 0 (exit 18) +PASS | tampered record (proxy) | expect TLSERR TLS_ERR_BAD_RECORD_MAC | got TLSERR TLS_ERR_BAD_RECORD_MAC detail 0 (exit 16) +INTEROP PASS rows=23 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/aesgcm.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/aesgcm.log new file mode 100644 index 000000000..76a86ea7d --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/aesgcm.log @@ -0,0 +1,28 @@ +omc sha256 189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54 +library sha256 b19d8ce88fc65eb0e69e51f52f3af70b9c46c4bfbbc84004d43e536bf4ced17f +library functions 37 +PASS fips197: aesgcm driver: 4 checks, 0 failed +PASS wycheproof: aesgcm driver: 316 checks, 0 failed +PASS gcmEncryptExtIV128: aesgcm driver: 7875 checks, 0 failed +PASS gcmEncryptExtIV192: aesgcm driver: 7875 checks, 0 failed +PASS gcmEncryptExtIV256: aesgcm driver: 7875 checks, 0 failed +PASS gcmDecrypt128: aesgcm driver: 7875 checks, 0 failed +PASS gcmDecrypt192: aesgcm driver: 7875 checks, 0 failed +PASS gcmDecrypt256: aesgcm driver: 7875 checks, 0 failed +nist: 47250 vectors (11908 decrypt vectors expect FAIL) +PASS params: aesgcm driver: 19 checks, 0 failed +PASS speed: aesgcm driver: 3 checks, 0 failed +aesgcm speed bytes=1048576 seal_ns=38392438 open_ns=32630098 seal_MBps=27 open_MBps=32 +aesgcm speed bytes=1048576 seal_ns=19680191 open_ns=19661023 seal_MBps=53 open_MBps=53 +aesgcm speed bytes=1048576 seal_ns=19668047 open_ns=19672063 seal_MBps=53 open_MBps=53 +PASS mutant-sbox: detected, exit 1, 233 MISMATCH (aesgcm driver: 320 checks, 233 failed) +PASS mutant-ghash: detected, exit 1, 226 MISMATCH (aesgcm driver: 320 checks, 226 failed) +PASS mutant-rcon: detected, exit 1, 81 MISMATCH (aesgcm driver: 320 checks, 81 failed) +PASS mutant-tagcheck: detected, exit 1, 310 MISMATCH (aesgcm driver: 320 checks, 310 failed) +PASS mutant-expect: detected, exit 1, 1 MISMATCH (aesgcm driver: 316 checks, 1 failed) +NOT_RUN wycheproof aes_gcm_siv_test.json: AES-GCM-SIV (RFC 8452) is not implemented +NOT_RUN wycheproof aria_gcm_test.json, seed_gcm_test.json, sm4_gcm_test.json: other block ciphers +NOT_RUN wycheproof c2sp_chunked_encryption_aes_{128,256}_gcm_test.json: chunked-encryption construction, not raw AES-GCM +wycheproof: 316 tests: valid 229 passed, invalid 87 refused, acceptable 0 +checks outside the vectors: params=19 speed=3 (both passed) +AESGCM PASS vectors=47570 (fips197=4, nist=47250, wycheproof=316) mutants=5/5 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/chacha.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/chacha.log new file mode 100644 index 000000000..c9e0f566d --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/chacha.log @@ -0,0 +1,20 @@ +omc sha256 189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54 +library sha256 8431257bc8e83474983c572cfdfa7f8f4b62a1b867748868e88fbc9c1b37d3af +driver sha256 1130187a2edc36c4b12fbafbe7295a61cbb184fe62891427fdcc0728737dba00 +PASS rfc8439: chacha driver: 36 checks, 0 failed +PASS wycheproof-regenerate: committed conversions equal a fresh conversion at d17cc89fa5c8f4f4d378b5385ebf75da5d0926c9 +PASS wycheproof-chacha20-poly1305: chacha driver: 325 checks, 0 failed +PASS wycheproof-chacha20-counter: chacha driver: 14 checks, 0 failed +NOTE wycheproof chacha20_poly1305_test.json: expected codes 0:256 1:60 2:9; NOT_RUN 0 (0 valid sealed+opened, 1 invalid tag refused, 2 invalid nonce size refused; no acceptable) +NOTE wycheproof chacha20_counter_test.json: expected codes 0:11 2:3; NOT_RUN 28 (NOT_RUN = XChaCha20 groups, not implemented) +PASS cryptography-diff(seed 1): chacha driver: 2709 checks, 0 failed +PASS tamper-refused: chacha driver: 3 checks, 0 failed +PASS tamper-claimed-valid: 3 of 3 tampered records rejected +PASS mutant-expectation: detected, exit 1, 1 MISMATCH (chacha driver: 36 checks, 1 failed) +PASS mutant-qr-rotation: detected, exit 1, 278 MISMATCH (chacha driver: 361 checks, 278 failed) +PASS mutant-poly-clamp: detected, exit 1, 133 MISMATCH (chacha driver: 361 checks, 133 failed) +PASS mutant-poly-fold: detected, exit 1, 267 MISMATCH (chacha driver: 361 checks, 267 failed) +PASS mutant-poly-final: detected, exit 1, 272 MISMATCH (chacha driver: 361 checks, 272 failed) +PASS bench-1MiB: 16 open+reseal rounds restored the plaintext; sealed sha256 314d4f2a5908e50854a934af2df4cee3f86baa891a64a68a384a58432b1e260b equals cryptography +THROUGHPUT bench-1MiB: 33 MiB through seal/open in 166130870 ns = 208.3 MB/s (whole process, incl. start-up and pattern checks) +CHACHA PASS vectors=3087 (wycheproof=339) mutants=5/5 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/ec.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/ec.log new file mode 100644 index 000000000..40b4115dd --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/ec.log @@ -0,0 +1,92 @@ +omc 189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54 +ec.om 909f37c797e187bd0663bde9f57c75d6ce41eb2c9726a6b50d6fc714e424c060 functions 27 +sha2.om 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +driver e0424968291256158695a6c339806ba158c475144ce13662e8ce8717607b7e66 +PASS cavp_sigver: cases 180 verifies 180 controls 108 mismatches 0 ns 472474895 codes 36 144 0 0 0 0 +PASS edge: cases 56 verifies 56 controls 12 mismatches 0 ns 11781302 codes 4 0 16 20 12 4 +PASS wycheproof_secp256r1_sha256: cases 484 verifies 484 controls 522 mismatches 0 ns 264263768 codes 174 23 221 0 66 0 +PASS wycheproof_secp256r1_sha256_p1363: cases 262 verifies 262 controls 519 mismatches 0 ns 250936346 codes 173 18 21 0 50 0 +PASS wycheproof_secp256r1_sha512: cases 554 verifies 554 controls 729 mismatches 0 ns 383287144 codes 243 25 220 0 66 0 +PASS wycheproof_secp256r1_sha512_p1363: cases 332 verifies 332 controls 726 mismatches 0 ns 345547449 codes 242 19 21 0 50 0 +PASS wycheproof_secp384r1_sha256: cases 472 verifies 472 controls 486 mismatches 0 ns 747823734 codes 162 24 220 0 66 0 +PASS wycheproof_secp384r1_sha384: cases 504 verifies 504 controls 582 mismatches 0 ns 857973762 codes 194 23 221 0 66 0 +PASS wycheproof_secp384r1_sha384_p1363: cases 280 verifies 280 controls 579 mismatches 0 ns 858897329 codes 193 18 19 0 50 0 +PASS wycheproof_secp384r1_sha512: cases 542 verifies 542 controls 693 mismatches 0 ns 999816038 codes 231 23 221 0 67 0 +PASS wycheproof_secp384r1_sha512_p1363: cases 318 verifies 318 controls 690 mismatches 0 ns 973452272 codes 230 19 19 0 50 0 +NOT_RUN wycheproof ecdsa_brainpoolP224r1_sha224_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP224r1_sha224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP224r1_sha3_224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP256r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP256r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP256r1_sha3_256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP320r1_sha384_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP320r1_sha384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP320r1_sha3_384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP384r1_sha384_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP384r1_sha384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP384r1_sha3_384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP512r1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP512r1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP512r1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r2_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r2_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha224_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha224_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha3_224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha3_256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_shake128_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_shake128_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha256_bitcoin_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha3_256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake128_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake128_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256r1_sha3_256_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp256r1_sha3_512_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp256r1_shake128_p1363_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp256r1_shake128_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_sha3_384_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_sha3_512_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_shake256_p1363_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_shake256_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp521r1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_shake256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_shake256_test.json: curve not P-256/P-384 +NOT_RUN cavp SigVer.rsp P-256/P-384 with SHA-1, SHA-224: hash not in om/tls/sha2.om +NOT_RUN cavp SigVer.rsp P-192, P-224, P-521, K-*, B-* sections: curve not P-256/P-384 +NOT_RUN cavp SigVer_TruncatedSHAs.rsp (SHA-512/224, SHA-512/256): hash not in om/tls/sha2.om +PASS mutant-expectation detected: 1 mismatches, cases 484 verifies 484 controls 519 mismatches 1 ns 266099301 codes 174 23 221 0 66 0 +PASS mutant-b256 detected: 696 mismatches, cases 484 verifies 484 controls 522 mismatches 696 ns 23178382 codes 0 0 0 484 0 0 +PASS mutant-padd detected: 194 mismatches, cases 504 verifies 504 controls 582 mismatches 194 ns 873675413 codes 0 217 221 0 66 0 +PASS mutant-n0 detected: 36 mismatches, cases 180 verifies 180 controls 108 mismatches 36 ns 468841393 codes 0 180 0 0 0 0 +PASS mutant-der detected: 2 mismatches, cases 56 verifies 56 controls 12 mismatches 2 ns 34366147 codes 6 0 14 20 12 4 +PASS mutant-digest-column detected: 1 mismatches, cases 504 verifies 504 controls 582 mismatches 1 ns 869240443 codes 194 23 221 0 66 0 +PASS fuzz: cases 3000 verifies 3000 controls 0 mismatches 0 ns 1485590760 codes 0 533 1290 1172 5 0 +TIME secp256r1_sha256: 200 verifies, 267134764 ns total, 1335673 ns per verify +TIME secp384r1_sha384: 200 verifies, 787074708 ns total, 3935373 ns per verify +EC PASS vectors=3984 (wycheproof=3748 cavp=180 edge=56) mutants=6/6 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/interop-table.txt b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/interop-table.txt new file mode 100644 index 000000000..b28158da9 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/interop-table.txt @@ -0,0 +1,39 @@ +PASS | good EC chain, chacha | expect OK | got OK +PASS | good EC chain, aes128gcm | expect OK | got OK +PASS | good RSA leaf (rsa_pss) | expect OK | got OK +PASS | expired leaf | expect TLSERR TLS_ERR_CERTIFICATE detail 2 X509_ERR_EXPIRED | got TLSERR TLS_ERR_CERTIFICATE detail 2 X509_ERR_EXPIRED (exit 27) +PASS | not-yet-valid leaf | expect TLSERR TLS_ERR_CERTIFICATE detail 3 | got TLSERR TLS_ERR_CERTIFICATE detail 3 X509_ERR_NOT_YET_VALID (exit 27) +PASS | wrong name | expect TLSERR TLS_ERR_CERTIFICATE detail 4 | got TLSERR TLS_ERR_CERTIFICATE detail 4 X509_ERR_NAME_MISMATCH (exit 27) +PASS | self-signed leaf (CA:TRUE) | expect TLSERR TLS_ERR_CERTIFICATE detail 15 | got TLSERR TLS_ERR_CERTIFICATE detail 15 X509_ERR_LEAF_IS_CA (exit 27) +PASS | self-signed leaf (CA:FALSE) | expect TLSERR TLS_ERR_CERTIFICATE detail 5 | got TLSERR TLS_ERR_CERTIFICATE detail 5 X509_ERR_UNKNOWN_ISSUER (exit 27) +PASS | bad cert signature | expect TLSERR TLS_ERR_CERTIFICATE detail 6 | got TLSERR TLS_ERR_CERTIFICATE detail 6 X509_ERR_BAD_SIGNATURE (exit 27) +PASS | unknown issuer | expect TLSERR TLS_ERR_CERTIFICATE detail 5 | got TLSERR TLS_ERR_CERTIFICATE detail 5 X509_ERR_UNKNOWN_ISSUER (exit 27) +PASS | missing intermediate | expect TLSERR TLS_ERR_CERTIFICATE detail 5 | got TLSERR TLS_ERR_CERTIFICATE detail 5 X509_ERR_UNKNOWN_ISSUER (exit 27) +PASS | TLS 1.2 only server | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 70 | got TLSERR TLS_ERR_ALERT_RECEIVED detail 70 (exit 31) +PASS | AES-256 suite only | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 40 | got TLSERR TLS_ERR_ALERT_RECEIVED detail 40 (exit 31) +PASS | P-256 group only | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 40 | got TLSERR TLS_ERR_ALERT_RECEIVED detail 40 (exit 31) +PASS | fake ServerHello: tls12 | expect TLSERR TLS_ERR_PROTOCOL_VERSION | got TLSERR TLS_ERR_PROTOCOL_VERSION detail 0 (exit 19) +PASS | fake ServerHello: hrr | expect TLSERR TLS_ERR_HELLO_RETRY_UNSUPPORTED | got TLSERR TLS_ERR_HELLO_RETRY_UNSUPPORTED detail 0 (exit 23) +PASS | fake ServerHello: suite | expect TLSERR TLS_ERR_CIPHER_SUITE | got TLSERR TLS_ERR_CIPHER_SUITE detail 0 (exit 20) +PASS | fake ServerHello: sid | expect TLSERR TLS_ERR_SESSION_ID_ECHO | got TLSERR TLS_ERR_SESSION_ID_ECHO detail 0 (exit 24) +PASS | fake ServerHello: group | expect TLSERR TLS_ERR_KEY_SHARE | got TLSERR TLS_ERR_KEY_SHARE detail 0 (exit 21) +PASS | fake ServerHello: zero | expect TLSERR TLS_ERR_ZERO_SHARED_SECRET | got TLSERR TLS_ERR_ZERO_SHARED_SECRET detail 0 (exit 25) +PASS | fake ServerHello: dupext | expect TLSERR TLS_ERR_EXTENSION | got TLSERR TLS_ERR_EXTENSION detail 0 (exit 22) +PASS | fake ServerHello: trail | expect TLSERR TLS_ERR_DECODE | got TLSERR TLS_ERR_DECODE detail 0 (exit 18) +PASS | fakesrv: ok | expect OK | got OK +PASS | fakesrv: empty50 | expect OK | got OK +PASS | fakesrv: ccs2 | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: ccsflood | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: ccspre | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: ccslate | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: encccs | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: frag | expect TLSERR TLS_ERR_MESSAGE_TOO_BIG detail 0 (exit 32) | got TLSERR TLS_ERR_MESSAGE_TOO_BIG detail 0 (exit 32) +PASS | fakesrv: cvbad | expect TLSERR TLS_ERR_CERTIFICATE_VERIFY | got TLSERR TLS_ERR_CERTIFICATE_VERIFY detail 6 X509_ERR_BAD_SIGNATURE (exit 29) +PASS | fakesrv: cvkey | expect TLSERR TLS_ERR_CERTIFICATE_VERIFY | got TLSERR TLS_ERR_CERTIFICATE_VERIFY detail 6 X509_ERR_BAD_SIGNATURE (exit 29) +PASS | fakesrv: cvskip | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: empty1500 | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: tickets1500 | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: closehs | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 0 (exit 31) | got TLSERR TLS_ERR_ALERT_RECEIVED detail 0 (exit 31) +PASS | fakesrv: closepre | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 0 (exit 31) | got TLSERR TLS_ERR_ALERT_RECEIVED detail 0 (exit 31) +PASS | tampered record (proxy) | expect TLSERR TLS_ERR_BAD_RECORD_MAC | got TLSERR TLS_ERR_BAD_RECORD_MAC detail 0 (exit 16) +INTEROP PASS rows=38 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/omc.sha256 b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/omc.sha256 new file mode 100644 index 000000000..26a0a4762 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/omc.sha256 @@ -0,0 +1 @@ +189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54 seed/out/omc diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/rsa.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/rsa.log new file mode 100644 index 000000000..8a450b15e --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/rsa.log @@ -0,0 +1,139 @@ +omc 189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54 +rsa.om 07414c1104f73f3f0d815ce8a7af9e736233c633f4a2ea080e20307ea1919c11 +sha2.om 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +functions rsa.om 32 +driver 46ca78f0fcb5429cf80151dc71bce48fb58c02e028d7b6e3cdd2963b309eac63 +PASS wycheproof/rsa_pkcs1_1024_sig_gen_test: cases 17 verifies 17 mismatches 0 controls 17 ns 1799184 +PASS wycheproof/rsa_pkcs1_1536_sig_gen_test: cases 24 verifies 24 mismatches 0 controls 24 ns 5436224 +PASS wycheproof/rsa_pkcs1_2048_sig_gen_test: cases 27 verifies 27 mismatches 0 controls 27 ns 23692020 +PASS wycheproof/rsa_pkcs1_3072_sig_gen_test: cases 26 verifies 26 mismatches 0 controls 26 ns 22294807 +PASS wycheproof/rsa_pkcs1_4096_sig_gen_test: cases 24 verifies 24 mismatches 0 controls 24 ns 36936041 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_0_params_test: cases 103 verifies 103 mismatches 0 controls 61 ns 39060266 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_0_test: cases 103 verifies 103 mismatches 0 controls 61 ns 38973147 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_32_params_test: cases 108 verifies 108 mismatches 0 controls 63 ns 59191843 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_32_test: cases 108 verifies 108 mismatches 0 controls 63 ns 40977118 +PASS wycheproof/rsa_pss_2048_sha384_mgf1_48_test: cases 141 verifies 141 mismatches 0 controls 95 ns 69974702 +PASS wycheproof/rsa_pss_2048_sha512_mgf1sha256_32_params_test: cases 178 verifies 178 mismatches 0 controls 132 ns 79329859 +PASS wycheproof/rsa_pss_3072_sha256_mgf1_32_params_test: cases 108 verifies 108 mismatches 0 controls 63 ns 90709818 +PASS wycheproof/rsa_pss_3072_sha256_mgf1_32_test: cases 108 verifies 108 mismatches 0 controls 63 ns 92144035 +PASS wycheproof/rsa_pss_4096_sha256_mgf1_32_test: cases 108 verifies 108 mismatches 0 controls 63 ns 157593127 +PASS wycheproof/rsa_pss_4096_sha384_mgf1_48_test: cases 141 verifies 141 mismatches 0 controls 95 ns 226596211 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_32_params_test: cases 177 verifies 177 mismatches 0 controls 132 ns 268860553 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_32_test: cases 177 verifies 177 mismatches 0 controls 132 ns 280380262 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_64_params_test: cases 179 verifies 179 mismatches 0 controls 132 ns 268821538 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_64_test: cases 179 verifies 179 mismatches 0 controls 132 ns 284644202 +PASS wycheproof/rsa_pss_misc_params_test: cases 54 verifies 54 mismatches 0 controls 54 ns 21757391 +PASS wycheproof/rsa_pss_misc_test: cases 54 verifies 54 mismatches 0 controls 54 ns 21760499 +PASS wycheproof/rsa_signature_2048_sha256_test: cases 259 verifies 259 mismatches 0 controls 9 ns 99577947 +PASS wycheproof/rsa_signature_2048_sha384_test: cases 258 verifies 258 mismatches 0 controls 7 ns 130817381 +PASS wycheproof/rsa_signature_2048_sha512_test: cases 259 verifies 259 mismatches 0 controls 8 ns 101090009 +PASS wycheproof/rsa_signature_3072_sha256_test: cases 259 verifies 259 mismatches 0 controls 8 ns 222348673 +PASS wycheproof/rsa_signature_3072_sha384_test: cases 259 verifies 259 mismatches 0 controls 7 ns 247576579 +PASS wycheproof/rsa_signature_3072_sha512_test: cases 260 verifies 260 mismatches 0 controls 8 ns 239450070 +PASS wycheproof/rsa_signature_4096_sha256_test: cases 258 verifies 258 mismatches 0 controls 7 ns 390380926 +PASS wycheproof/rsa_signature_4096_sha384_test: cases 259 verifies 259 mismatches 0 controls 7 ns 409010525 +PASS wycheproof/rsa_signature_4096_sha512_test: cases 259 verifies 259 mismatches 0 controls 7 ns 390005424 +PASS wycheproof/rsa_signature_8192_sha256_test: cases 258 verifies 258 mismatches 0 controls 7 ns 1533767267 +PASS wycheproof/rsa_signature_8192_sha384_test: cases 259 verifies 259 mismatches 0 controls 7 ns 1562265104 +PASS wycheproof/rsa_signature_8192_sha512_test: cases 259 verifies 259 mismatches 0 controls 7 ns 1584891699 +PASS edge: cases 48 verifies 48 mismatches 0 controls 1 ns 3619327 +PASS pyca_gen: cases 324 verifies 324 mismatches 0 controls 324 ns 1176259438 +PASS fuzz: cases 864 verifies 864 mismatches 0 controls 0 ns 104480800 +NOT_RUN rsa_oaep_2048_sha1_mgf1sha1_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha224_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha224_mgf1sha224_test.json tests=35 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha256_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha256_mgf1sha256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha384_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha384_mgf1sha384_test.json tests=34 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_224_mgf1sha1_test.json tests=32 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_224_mgf1sha512_224_test.json tests=35 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_mgf1sha512_test.json tests=33 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha256_mgf1sha1_test.json tests=32 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha256_mgf1sha256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_256_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_256_mgf1sha512_256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_mgf1sha512_test.json tests=33 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha256_mgf1sha1_test.json tests=32 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha256_mgf1sha256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha512_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha512_mgf1sha512_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_misc_test.json tests=395 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pkcs1_1024_sig_gen_test.json tests=8 reason: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_1024_sig_gen_test.json tests=8 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_1536_sig_gen_test.json tests=8 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_2048_sig_gen_test.json tests=8 reason: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_2048_sig_gen_test.json tests=8 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_2048_test.json tests=67 reason: RSAES-PKCS1-v1_5 encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pkcs1_3072_test.json tests=67 reason: RSAES-PKCS1-v1_5 encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pkcs1_4096_test.json tests=67 reason: RSAES-PKCS1-v1_5 encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pss_2048_sha1_mgf1_20_params_test.json tests=88 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha1_mgf1_20_test.json tests=88 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha256_mgf1sha1_20_test.json tests=108 reason: hash SHA-256 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha512_224_mgf1_28_test.json tests=100 reason: hash SHA-512/224 mgf1 SHA-512/224: SHA-512/224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha512_256_mgf1_32_test.json tests=115 reason: hash SHA-512/256 mgf1 SHA-512/256: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_shake128_test.json tests=114 reason: hash SHAKE128 mgf SHAKE128: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_2048_shake256_test.json tests=184 reason: hash SHAKE256 mgf SHAKE256: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_3072_shake128_test.json tests=114 reason: hash SHAKE128 mgf SHAKE128: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_3072_shake256_test.json tests=184 reason: hash SHAKE256 mgf SHAKE256: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_4096_shake256_test.json tests=184 reason: hash SHAKE256 mgf SHAKE256: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-224: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-256: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-384: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-512: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-1: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-256: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-384: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-512: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-256 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-256 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-384 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-384 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-512 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-512 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-224: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-256: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-384: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-512: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-1: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-256: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-384: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-512: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-256 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-256 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-384 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-384 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-512 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-512 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha224_test.json tests=258 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_224_test.json tests=258 reason: SHA3-224: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_256_test.json tests=257 reason: SHA3-256: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_384_test.json tests=258 reason: SHA3-384: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_512_test.json tests=258 reason: SHA3-512: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha512_224_test.json tests=258 reason: SHA-512/224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha512_256_test.json tests=257 reason: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha3_256_test.json tests=258 reason: SHA3-256: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha3_384_test.json tests=259 reason: SHA3-384: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha3_512_test.json tests=259 reason: SHA3-512: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha512_256_test.json tests=258 reason: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_4096_sha512_256_test.json tests=258 reason: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_three_primes_oaep_2048_sha1_mgf1sha1_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_three_primes_oaep_3072_sha224_mgf1sha224_test.json tests=38 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_three_primes_oaep_4096_sha256_mgf1sha256_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +WYCHEPROOF valid=1556 invalid=3636 acceptable=58 (accepted 46: SmallModulus/SmallPublicKey; refused 12: MissingNull) +PASS mutant-expectation detected: 1 mismatches, cases 259 verifies 259 mismatches 1 controls 8 ns 99981777 +PASS mutant-mont-carry detected: 9 mismatches, cases 259 verifies 259 mismatches 9 controls 0 ns 130126329 +PASS mutant-digestinfo detected: 10 mismatches, cases 259 verifies 259 mismatches 10 controls 0 ns 133351929 +PASS mutant-mgf1-counter detected: 63 mismatches, cases 108 verifies 108 mismatches 63 controls 0 ns 41096610 +TIME rsa_signature_2048_sha256_test: 100 verifies, 40037365 ns total, 400373 ns per verify (nice 19) +TIME rsa_signature_4096_sha256_test: 100 verifies, 154989206 ns total, 1549892 ns per verify (nice 19) +TIME rsa_pss_2048_sha256_mgf1_32_test: 100 verifies, 40294391 ns total, 402943 ns per verify (nice 19) +TIME rsa_pss_4096_sha256_mgf1_32_test: 100 verifies, 156028015 ns total, 1560280 ns per verify (nice 19) +CONTROLS flipped-signature-byte controls=1927 (all refused) +RSA PASS vectors=6486 (wycheproof=5250) mutants=4/4 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/sha2.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/sha2.log new file mode 100644 index 000000000..7b303f901 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/sha2.log @@ -0,0 +1,25 @@ +omc sha256 189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54 +sha2.om sha256 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +hkdf.om sha256 5c3ce5f67627f89ce42961c3076c556d16a2eb6c72d704ff68e13b2819333778 +PASS nist-sha256-ShortMsg: 65 vectors, sha2 driver: 130 checks, 0 failed +PASS nist-sha256-LongMsg: 64 vectors, sha2 driver: 128 checks, 0 failed +PASS nist-sha256-Monte: 100 vectors, sha2 driver: 100 checks, 0 failed +PASS nist-sha384-ShortMsg: 129 vectors, sha2 driver: 258 checks, 0 failed +PASS nist-sha384-LongMsg: 128 vectors, sha2 driver: 256 checks, 0 failed +PASS nist-sha384-Monte: 100 vectors, sha2 driver: 100 checks, 0 failed +PASS nist-sha512-ShortMsg: 129 vectors, sha2 driver: 258 checks, 0 failed +PASS nist-sha512-LongMsg: 128 vectors, sha2 driver: 256 checks, 0 failed +PASS nist-sha512-Monte: 100 vectors, sha2 driver: 100 checks, 0 failed +PASS rfc4231-hmac: 21 vectors, sha2 driver: 42 checks, 0 failed +PASS rfc5869-hkdf: 6 vectors, sha2 driver: 9 checks, 0 failed +PASS generated-long: 33 vectors, sha2 driver: 33 checks, 0 failed +PASS wycheproof-hmac: 522 vectors, sha2 driver: 720 checks, 0 failed +PASS wycheproof-hkdf: 252 vectors, sha2 driver: 495 checks, 0 failed +PASS mutant-sha256-k0: detected (130 failure lines; sha2 driver: 130 checks, 130 failed) +PASS mutant-sha512-k0: detected (258 failure lines; sha2 driver: 258 checks, 258 failed) +PASS mutant-hmac-ipad: detected (21 failure lines; sha2 driver: 42 checks, 21 failed) +PASS mutant-hkdf-ctr: detected (243 failure lines; sha2 driver: 495 checks, 243 failed) +PASS mutant-expect: detected (2 failure lines; sha2 driver: 130 checks, 2 failed) +PASS neg-malformed: detected (1 failure lines; sha2 driver: 1 checks, 1 failed) +PASS neg-tag-flip: detected (1 failure lines; sha2 driver: 42 checks, 1 failed) +SHA2 PASS vectors=1777 (wycheproof=774) mutants=5/5 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/tls.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/tls.log new file mode 100644 index 000000000..06c5a40d0 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/tls.log @@ -0,0 +1,40 @@ +omc 189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54 +sha2.om 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +hkdf.om 5c3ce5f67627f89ce42961c3076c556d16a2eb6c72d704ff68e13b2819333778 +x25519.om c2a3a01d6cffff95cbaa130a586ca8f7365fb56c67ec1b2f4920eceebfed23f5 +chacha.om 8431257bc8e83474983c572cfdfa7f8f4b62a1b867748868e88fbc9c1b37d3af +aesgcm.om b19d8ce88fc65eb0e69e51f52f3af70b9c46c4bfbbc84004d43e536bf4ced17f +ec.om 909f37c797e187bd0663bde9f57c75d6ce41eb2c9726a6b50d6fc714e424c060 +rsa.om 07414c1104f73f3f0d815ce8a7af9e736233c633f4a2ea080e20307ea1919c11 +x509.om 193a8cd93638d85e4256d4d298ea00bb1c60d9e154efe81dd2f88827f093f8be +tls.om 72ca585b4e55413a8a67c7743f8e8c00fb50da334231739ec590864a12e68545 +PASS rfc8448: tls kat: 24 checks, 0 failed +PASS expectation mutant detected: 2 mismatches +PASS mutant label c hs traffic detected: 5 mismatches +PASS mutant nonce ignores seq detected: 1 mismatches +PASS mutant label length detected: 21 mismatches +PASS mutant finished key detected: 2 mismatches +PASS dns: dns unit: 23 checks, 0 failed +PASS mutant dns flags only QR detected: 4 mismatches +PASS mutant dns owner ignored detected: 6 mismatches +PASS mutant dns label cap gone detected: trap (exit 104) +PASS mutant dns_a4 name length unchecked detected: trap (exit 103) +PASS interop: INTEROP PASS rows=38 +PASS mutant chain result ignored detected: 8 rows fail +PASS mutant CertificateVerify ignored detected: 2 rows fail +PASS mutant CCS count not checked detected: 4 rows fail +PASS mutant close revives failed detected: 33 rows fail +PASS mutant read record cap gone detected: 2 rows fail +PASS mutant handshake record cap gone detected: 1 rows fail +PASS mutant handshake close_notify unmapped detected: 2 rows fail +PASS mutant version not checked detected: 4 rows fail +PASS mutant record MAC ignored detected: 1 rows fail +PASS mutant session id not checked detected: 1 rows fail +PARITY PASS https://api.github.com/licenses/mit status='HTTP/1.1 200 OK' bytes=1956/1956 sha256=15b2a5994e7c6e3d/15b2a5994e7c6e3d +PARITY PASS https://api.github.com/licenses/apache-2.0 status='HTTP/1.1 200 OK' bytes=12478/12478 sha256=c9fb7d13de08da3c/c9fb7d13de08da3c +PARITY PASS https://api.github.com/repos/torvalds/linux/license status='HTTP/1.1 200 OK' bytes=1528/1528 sha256=afc6dbc05fb592ec/afc6dbc05fb592ec +PARITY PASS https://raw.githubusercontent.com/torvalds/linux/v6.0/README status='HTTP/1.1 200 OK' bytes=727/727 sha256=bad58d396f62102b/bad58d396f62102b +PARITY PASS https://raw.githubusercontent.com/torvalds/linux/v6.0/MAINTAINERS status='HTTP/1.1 200 OK' bytes=680548/680548 sha256=2e65a67b1f2ecd4e/2e65a67b1f2ecd4e +PARITY PASS smtp://mail.gandi.net:465 exit=0 bytes=194/194 sha256=d5fbda7743efc6b0/d5fbda7743efc6b0 +PARITY PASS tsmtp://mail.gandi.net:587 exit=0 bytes=383/383 sha256=b618c769ed2c6b81/b618c769ed2c6b81 +TLS PASS vectors=24 (rfc8448) dns=23 interop=38 net=PASS mutants=19/19 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/x25519.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/x25519.log new file mode 100644 index 000000000..c6c2a43b4 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/x25519.log @@ -0,0 +1,16 @@ +omc 189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54 +x25519.om c2a3a01d6cffff95cbaa130a586ca8f7365fb56c67ec1b2f4920eceebfed23f5 +driver 863448df5f4f1c76016be39a278d9bf5cd9136680f6a8c0daee60576d91d4ae2 +PASS rfc7748: cases 9 calls 13 mismatches 0 ns 176309040 +PASS wycheproof: cases 518 calls 518 mismatches 0 ns 116202826 +NOTE rfc7748-iter1m not run (opt-in: X25519_ITER1M=1) +PASS negative-control detected: 1 mismatches, cases 9 calls 13 mismatches 1 ns 200687658 +PASS mutant-expectation detected: 1 mismatches, cases 518 calls 518 mismatches 1 ns 90631283 +PASS mut-a24 detected: 8 mismatches, cases 9 calls 13 mismatches 8 ns 175737645 +PASS mut-step detected: 8 mismatches, cases 9 calls 13 mismatches 8 ns 202900253 +PASS mut-clamp detected: 1 mismatches, cases 518 calls 518 mismatches 1 ns 90933803 +PASS mut-zero detected: 518 mismatches, cases 518 calls 518 mismatches 518 ns 115503269 +PASS mut-canon detected: 34 mismatches, cases 518 calls 518 mismatches 34 ns 116374221 +TIME low-weight scalar (clamped weight 1): 400 calls, 71006872 ns, 177517 ns per call +TIME high-weight scalar (clamped weight 252): 400 calls, 70965015 ns, 177412 ns per call +X25519 PASS vectors=531 (wycheproof=518) mutants=7/7 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/x509.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/x509.log new file mode 100644 index 000000000..7dd3dfcf0 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/main-pin-189ada82/x509.log @@ -0,0 +1,40 @@ +omc sha256 189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54 +library sha256 193a8cd93638d85e4256d4d298ea00bb1c60d9e154efe81dd2f88827f093f8be (70 functions) +driver sha256 68ac1629bbb735399ad0a459e77d16463441e02aeffd717b6f74a6114c6acf3a +PASS cases.txt: x509 driver: 187 checks, 0 failed +PASS fuzz fuzz_rsa n=300 rejected=300 +PASS fuzz fuzz_ec n=300 rejected=300 +PASS fuzz fuzz_pss n=200 rejected=200 +openssl OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) +DIFF wildcard_partial x509=reject openssl=accept +DIFF no_san x509=reject openssl=accept +DIFF name_constraints_critical x509=reject openssl=accept +DIFF depth_8_intermediates x509=reject openssl=accept +DIFF leaf_is_ca x509=reject openssl=accept +DIFF leaf_ku_no_digsig x509=reject openssl=accept +DIFF rsa_1024_leaf x509=reject openssl=accept +DIFF sha1_signed x509=reject openssl=accept +DIFF rsassa_pss_key x509=reject openssl=accept +DIFF ed25519_key x509=reject openssl=accept +DIFF leaf_too_big x509=reject openssl=accept +DIFF name_constraints_noncritical x509=reject openssl=accept +DIFF rsa_6144_leaf x509=reject openssl=accept +DIFF rsa_e_2_32_plus_1_leaf x509=reject openssl=accept +DIFF rsa_e_even_leaf x509=reject openssl=accept +DIFF rsa_e_1_leaf x509=reject openssl=accept +DIFF rsa_6144_intermediate x509=reject openssl=accept +DIFF rsa_e_2_32_plus_1_intermediate x509=reject openssl=accept +PASS mutant name-wildcard-labels detected (2 MISMATCH: wildcard_one_label_parent wild_one_label_parent ) +PASS mutant date-not-after detected (76 MISMATCH: rsa_good rsa_good_apex ) +PASS mutant date-at-not-after detected (1 MISMATCH: at_not_after ) +PASS mutant anchor-self-issued detected (1 MISMATCH: store_intermediate_anchor ) +PASS mutant bc-ca-flag detected (1 MISMATCH: intermediate_not_ca ) +PASS mutant unique-id-order detected (driver trapped, exit 104, after 3 MISMATCH) +PASS mutant name-constraints-noncritical detected (3 MISMATCH: name_constraints_critical name_constraints_noncritical ) +PASS mutant rsa-modulus-max detected (8 MISMATCH: rsa_6144_leaf rsa_e_2_32_plus_1_leaf ) +PASS mutant rsa-exponent detected (2 MISMATCH: rsa_e_even_leaf rsa_e_1_leaf ) +PASS mutant leaf-size detected (1 MISMATCH: leaf_too_big ) +PASS mutant elemcap detected (driver trapped, exit 104, after 0 MISMATCH) +PASS mutant expectation detected +driver checks=187 fuzz-mutations=800 +X509 PASS cases=91 (openssl-parity=73/91) mutants=12/12 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/aesgcm.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/aesgcm.log new file mode 100644 index 000000000..0871603c1 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/aesgcm.log @@ -0,0 +1,28 @@ +omc sha256 befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +library sha256 b19d8ce88fc65eb0e69e51f52f3af70b9c46c4bfbbc84004d43e536bf4ced17f +library functions 37 +PASS fips197: aesgcm driver: 4 checks, 0 failed +PASS wycheproof: aesgcm driver: 316 checks, 0 failed +PASS gcmEncryptExtIV128: aesgcm driver: 7875 checks, 0 failed +PASS gcmEncryptExtIV192: aesgcm driver: 7875 checks, 0 failed +PASS gcmEncryptExtIV256: aesgcm driver: 7875 checks, 0 failed +PASS gcmDecrypt128: aesgcm driver: 7875 checks, 0 failed +PASS gcmDecrypt192: aesgcm driver: 7875 checks, 0 failed +PASS gcmDecrypt256: aesgcm driver: 7875 checks, 0 failed +nist: 47250 vectors (11908 decrypt vectors expect FAIL) +PASS params: aesgcm driver: 19 checks, 0 failed +PASS speed: aesgcm driver: 3 checks, 0 failed +aesgcm speed bytes=1048576 seal_ns=38532788 open_ns=30423231 seal_MBps=27 open_MBps=34 +aesgcm speed bytes=1048576 seal_ns=19704742 open_ns=19679509 seal_MBps=53 open_MBps=53 +aesgcm speed bytes=1048576 seal_ns=19681333 open_ns=19686230 seal_MBps=53 open_MBps=53 +PASS mutant-sbox: detected, exit 1, 233 MISMATCH (aesgcm driver: 320 checks, 233 failed) +PASS mutant-ghash: detected, exit 1, 226 MISMATCH (aesgcm driver: 320 checks, 226 failed) +PASS mutant-rcon: detected, exit 1, 81 MISMATCH (aesgcm driver: 320 checks, 81 failed) +PASS mutant-tagcheck: detected, exit 1, 310 MISMATCH (aesgcm driver: 320 checks, 310 failed) +PASS mutant-expect: detected, exit 1, 1 MISMATCH (aesgcm driver: 316 checks, 1 failed) +NOT_RUN wycheproof aes_gcm_siv_test.json: AES-GCM-SIV (RFC 8452) is not implemented +NOT_RUN wycheproof aria_gcm_test.json, seed_gcm_test.json, sm4_gcm_test.json: other block ciphers +NOT_RUN wycheproof c2sp_chunked_encryption_aes_{128,256}_gcm_test.json: chunked-encryption construction, not raw AES-GCM +wycheproof: 316 tests: valid 229 passed, invalid 87 refused, acceptable 0 +checks outside the vectors: params=19 speed=3 (both passed) +AESGCM PASS vectors=47570 (fips197=4, nist=47250, wycheproof=316) mutants=5/5 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/chacha.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/chacha.log new file mode 100644 index 000000000..f67400df3 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/chacha.log @@ -0,0 +1,20 @@ +omc sha256 befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +library sha256 8431257bc8e83474983c572cfdfa7f8f4b62a1b867748868e88fbc9c1b37d3af +driver sha256 1130187a2edc36c4b12fbafbe7295a61cbb184fe62891427fdcc0728737dba00 +PASS rfc8439: chacha driver: 36 checks, 0 failed +PASS wycheproof-regenerate: committed conversions equal a fresh conversion at d17cc89fa5c8f4f4d378b5385ebf75da5d0926c9 +PASS wycheproof-chacha20-poly1305: chacha driver: 325 checks, 0 failed +PASS wycheproof-chacha20-counter: chacha driver: 14 checks, 0 failed +NOTE wycheproof chacha20_poly1305_test.json: expected codes 0:256 1:60 2:9; NOT_RUN 0 (0 valid sealed+opened, 1 invalid tag refused, 2 invalid nonce size refused; no acceptable) +NOTE wycheproof chacha20_counter_test.json: expected codes 0:11 2:3; NOT_RUN 28 (NOT_RUN = XChaCha20 groups, not implemented) +PASS cryptography-diff(seed 1): chacha driver: 2709 checks, 0 failed +PASS tamper-refused: chacha driver: 3 checks, 0 failed +PASS tamper-claimed-valid: 3 of 3 tampered records rejected +PASS mutant-expectation: detected, exit 1, 1 MISMATCH (chacha driver: 36 checks, 1 failed) +PASS mutant-qr-rotation: detected, exit 1, 278 MISMATCH (chacha driver: 361 checks, 278 failed) +PASS mutant-poly-clamp: detected, exit 1, 133 MISMATCH (chacha driver: 361 checks, 133 failed) +PASS mutant-poly-fold: detected, exit 1, 267 MISMATCH (chacha driver: 361 checks, 267 failed) +PASS mutant-poly-final: detected, exit 1, 272 MISMATCH (chacha driver: 361 checks, 272 failed) +PASS bench-1MiB: 16 open+reseal rounds restored the plaintext; sealed sha256 314d4f2a5908e50854a934af2df4cee3f86baa891a64a68a384a58432b1e260b equals cryptography +THROUGHPUT bench-1MiB: 33 MiB through seal/open in 195200809 ns = 177.3 MB/s (whole process, incl. start-up and pattern checks) +CHACHA PASS vectors=3087 (wycheproof=339) mutants=5/5 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/ec.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/ec.log new file mode 100644 index 000000000..00d21416f --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/ec.log @@ -0,0 +1,92 @@ +omc befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +ec.om 909f37c797e187bd0663bde9f57c75d6ce41eb2c9726a6b50d6fc714e424c060 functions 27 +sha2.om 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +driver e0424968291256158695a6c339806ba158c475144ce13662e8ce8717607b7e66 +PASS cavp_sigver: cases 180 verifies 180 controls 108 mismatches 0 ns 497966202 codes 36 144 0 0 0 0 +PASS edge: cases 56 verifies 56 controls 12 mismatches 0 ns 26370382 codes 4 0 16 20 12 4 +PASS wycheproof_secp256r1_sha256: cases 484 verifies 484 controls 522 mismatches 0 ns 262771851 codes 174 23 221 0 66 0 +PASS wycheproof_secp256r1_sha256_p1363: cases 262 verifies 262 controls 519 mismatches 0 ns 262806634 codes 173 18 21 0 50 0 +PASS wycheproof_secp256r1_sha512: cases 554 verifies 554 controls 729 mismatches 0 ns 357329144 codes 243 25 220 0 66 0 +PASS wycheproof_secp256r1_sha512_p1363: cases 332 verifies 332 controls 726 mismatches 0 ns 343345966 codes 242 19 21 0 50 0 +PASS wycheproof_secp384r1_sha256: cases 472 verifies 472 controls 486 mismatches 0 ns 732528833 codes 162 24 220 0 66 0 +PASS wycheproof_secp384r1_sha384: cases 504 verifies 504 controls 582 mismatches 0 ns 872948271 codes 194 23 221 0 66 0 +PASS wycheproof_secp384r1_sha384_p1363: cases 280 verifies 280 controls 579 mismatches 0 ns 829943693 codes 193 18 19 0 50 0 +PASS wycheproof_secp384r1_sha512: cases 542 verifies 542 controls 693 mismatches 0 ns 1013958873 codes 231 23 221 0 67 0 +PASS wycheproof_secp384r1_sha512_p1363: cases 318 verifies 318 controls 690 mismatches 0 ns 980163019 codes 230 19 19 0 50 0 +NOT_RUN wycheproof ecdsa_brainpoolP224r1_sha224_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP224r1_sha224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP224r1_sha3_224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP256r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP256r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP256r1_sha3_256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP320r1_sha384_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP320r1_sha384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP320r1_sha3_384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP384r1_sha384_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP384r1_sha384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP384r1_sha3_384_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP512r1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP512r1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_brainpoolP512r1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r2_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp160r2_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp192r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha224_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha224_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha3_224_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha3_256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_shake128_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp224r1_shake128_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha256_bitcoin_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha3_256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake128_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake128_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256k1_shake256_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp256r1_sha3_256_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp256r1_sha3_512_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp256r1_shake128_p1363_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp256r1_shake128_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_sha3_384_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_sha3_512_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_shake256_p1363_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp384r1_shake256_test.json: hash not SHA-256/384/512 (om/tls/sha2.om) +NOT_RUN wycheproof ecdsa_secp521r1_sha3_512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_sha512_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_sha512_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_shake256_p1363_test.json: curve not P-256/P-384 +NOT_RUN wycheproof ecdsa_secp521r1_shake256_test.json: curve not P-256/P-384 +NOT_RUN cavp SigVer.rsp P-256/P-384 with SHA-1, SHA-224: hash not in om/tls/sha2.om +NOT_RUN cavp SigVer.rsp P-192, P-224, P-521, K-*, B-* sections: curve not P-256/P-384 +NOT_RUN cavp SigVer_TruncatedSHAs.rsp (SHA-512/224, SHA-512/256): hash not in om/tls/sha2.om +PASS mutant-expectation detected: 1 mismatches, cases 484 verifies 484 controls 519 mismatches 1 ns 268251909 codes 174 23 221 0 66 0 +PASS mutant-b256 detected: 696 mismatches, cases 484 verifies 484 controls 522 mismatches 696 ns 10736618 codes 0 0 0 484 0 0 +PASS mutant-padd detected: 194 mismatches, cases 504 verifies 504 controls 582 mismatches 194 ns 872094358 codes 0 217 221 0 66 0 +PASS mutant-n0 detected: 36 mismatches, cases 180 verifies 180 controls 108 mismatches 36 ns 473762523 codes 0 180 0 0 0 0 +PASS mutant-der detected: 2 mismatches, cases 56 verifies 56 controls 12 mismatches 2 ns 17032702 codes 6 0 14 20 12 4 +PASS mutant-digest-column detected: 1 mismatches, cases 504 verifies 504 controls 582 mismatches 1 ns 854205109 codes 194 23 221 0 66 0 +PASS fuzz: cases 3000 verifies 3000 controls 0 mismatches 0 ns 1525378854 codes 0 533 1290 1172 5 0 +TIME secp256r1_sha256: 200 verifies, 285225654 ns total, 1426128 ns per verify +TIME secp384r1_sha384: 200 verifies, 767543963 ns total, 3837719 ns per verify +EC PASS vectors=3984 (wycheproof=3748 cavp=180 edge=56) mutants=6/6 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/interop-table.txt b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/interop-table.txt new file mode 100644 index 000000000..986fba6b6 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/interop-table.txt @@ -0,0 +1,38 @@ +PASS | good EC chain, chacha | expect OK | got OK +PASS | good EC chain, aes128gcm | expect OK | got OK +PASS | good RSA leaf (rsa_pss) | expect OK | got OK +PASS | expired leaf | expect TLSERR TLS_ERR_CERTIFICATE detail 2 X509_ERR_EXPIRED | got TLSERR TLS_ERR_CERTIFICATE detail 2 X509_ERR_EXPIRED (exit 27) +PASS | not-yet-valid leaf | expect TLSERR TLS_ERR_CERTIFICATE detail 3 | got TLSERR TLS_ERR_CERTIFICATE detail 3 X509_ERR_NOT_YET_VALID (exit 27) +PASS | wrong name | expect TLSERR TLS_ERR_CERTIFICATE detail 4 | got TLSERR TLS_ERR_CERTIFICATE detail 4 X509_ERR_NAME_MISMATCH (exit 27) +PASS | self-signed leaf (CA:TRUE) | expect TLSERR TLS_ERR_CERTIFICATE detail 15 | got TLSERR TLS_ERR_CERTIFICATE detail 15 X509_ERR_LEAF_IS_CA (exit 27) +PASS | self-signed leaf (CA:FALSE) | expect TLSERR TLS_ERR_CERTIFICATE detail 5 | got TLSERR TLS_ERR_CERTIFICATE detail 5 X509_ERR_UNKNOWN_ISSUER (exit 27) +PASS | bad cert signature | expect TLSERR TLS_ERR_CERTIFICATE detail 6 | got TLSERR TLS_ERR_CERTIFICATE detail 6 X509_ERR_BAD_SIGNATURE (exit 27) +PASS | unknown issuer | expect TLSERR TLS_ERR_CERTIFICATE detail 5 | got TLSERR TLS_ERR_CERTIFICATE detail 5 X509_ERR_UNKNOWN_ISSUER (exit 27) +PASS | missing intermediate | expect TLSERR TLS_ERR_CERTIFICATE detail 5 | got TLSERR TLS_ERR_CERTIFICATE detail 5 X509_ERR_UNKNOWN_ISSUER (exit 27) +PASS | TLS 1.2 only server | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 70 | got TLSERR TLS_ERR_ALERT_RECEIVED detail 70 (exit 31) +PASS | AES-256 suite only | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 40 | got TLSERR TLS_ERR_ALERT_RECEIVED detail 40 (exit 31) +PASS | P-256 group only | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 40 | got TLSERR TLS_ERR_ALERT_RECEIVED detail 40 (exit 31) +PASS | fake ServerHello: tls12 | expect TLSERR TLS_ERR_PROTOCOL_VERSION | got TLSERR TLS_ERR_PROTOCOL_VERSION detail 0 (exit 19) +PASS | fake ServerHello: hrr | expect TLSERR TLS_ERR_HELLO_RETRY_UNSUPPORTED | got TLSERR TLS_ERR_HELLO_RETRY_UNSUPPORTED detail 0 (exit 23) +PASS | fake ServerHello: suite | expect TLSERR TLS_ERR_CIPHER_SUITE | got TLSERR TLS_ERR_CIPHER_SUITE detail 0 (exit 20) +PASS | fake ServerHello: sid | expect TLSERR TLS_ERR_SESSION_ID_ECHO | got TLSERR TLS_ERR_SESSION_ID_ECHO detail 0 (exit 24) +PASS | fake ServerHello: group | expect TLSERR TLS_ERR_KEY_SHARE | got TLSERR TLS_ERR_KEY_SHARE detail 0 (exit 21) +PASS | fake ServerHello: zero | expect TLSERR TLS_ERR_ZERO_SHARED_SECRET | got TLSERR TLS_ERR_ZERO_SHARED_SECRET detail 0 (exit 25) +PASS | fake ServerHello: dupext | expect TLSERR TLS_ERR_EXTENSION | got TLSERR TLS_ERR_EXTENSION detail 0 (exit 22) +PASS | fake ServerHello: trail | expect TLSERR TLS_ERR_DECODE | got TLSERR TLS_ERR_DECODE detail 0 (exit 18) +PASS | fakesrv: ok | expect OK | got OK +PASS | fakesrv: empty50 | expect OK | got OK +PASS | fakesrv: ccs2 | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: ccsflood | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: ccspre | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: ccslate | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: encccs | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: frag | expect TLSERR TLS_ERR_MESSAGE_TOO_BIG detail 0 (exit 32) | got TLSERR TLS_ERR_MESSAGE_TOO_BIG detail 0 (exit 32) +PASS | fakesrv: cvbad | expect TLSERR TLS_ERR_CERTIFICATE_VERIFY | got TLSERR TLS_ERR_CERTIFICATE_VERIFY detail 6 X509_ERR_BAD_SIGNATURE (exit 29) +PASS | fakesrv: cvkey | expect TLSERR TLS_ERR_CERTIFICATE_VERIFY | got TLSERR TLS_ERR_CERTIFICATE_VERIFY detail 6 X509_ERR_BAD_SIGNATURE (exit 29) +PASS | fakesrv: empty1500 | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: tickets1500 | expect TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) | got TLSERR TLS_ERR_UNEXPECTED_MESSAGE detail 0 (exit 17) +PASS | fakesrv: closehs | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 0 (exit 31) | got TLSERR TLS_ERR_ALERT_RECEIVED detail 0 (exit 31) +PASS | fakesrv: closepre | expect TLSERR TLS_ERR_ALERT_RECEIVED detail 0 (exit 31) | got TLSERR TLS_ERR_ALERT_RECEIVED detail 0 (exit 31) +PASS | tampered record (proxy) | expect TLSERR TLS_ERR_BAD_RECORD_MAC | got TLSERR TLS_ERR_BAD_RECORD_MAC detail 0 (exit 16) +INTEROP PASS rows=37 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/rsa.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/rsa.log new file mode 100644 index 000000000..6b141c215 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/rsa.log @@ -0,0 +1,139 @@ +omc befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +rsa.om 07414c1104f73f3f0d815ce8a7af9e736233c633f4a2ea080e20307ea1919c11 +sha2.om 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +functions rsa.om 32 +driver 46ca78f0fcb5429cf80151dc71bce48fb58c02e028d7b6e3cdd2963b309eac63 +PASS wycheproof/rsa_pkcs1_1024_sig_gen_test: cases 17 verifies 17 mismatches 0 controls 17 ns 3988689 +PASS wycheproof/rsa_pkcs1_1536_sig_gen_test: cases 24 verifies 24 mismatches 0 controls 24 ns 5435485 +PASS wycheproof/rsa_pkcs1_2048_sig_gen_test: cases 27 verifies 27 mismatches 0 controls 27 ns 23694249 +PASS wycheproof/rsa_pkcs1_3072_sig_gen_test: cases 26 verifies 26 mismatches 0 controls 26 ns 31090874 +PASS wycheproof/rsa_pkcs1_4096_sig_gen_test: cases 24 verifies 24 mismatches 0 controls 24 ns 53488674 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_0_params_test: cases 103 verifies 103 mismatches 0 controls 61 ns 39062909 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_0_test: cases 103 verifies 103 mismatches 0 controls 61 ns 55002442 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_32_params_test: cases 108 verifies 108 mismatches 0 controls 63 ns 49406871 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_32_test: cases 108 verifies 108 mismatches 0 controls 63 ns 60033768 +PASS wycheproof/rsa_pss_2048_sha384_mgf1_48_test: cases 141 verifies 141 mismatches 0 controls 95 ns 72011942 +PASS wycheproof/rsa_pss_2048_sha512_mgf1sha256_32_params_test: cases 178 verifies 178 mismatches 0 controls 132 ns 69347671 +PASS wycheproof/rsa_pss_3072_sha256_mgf1_32_params_test: cases 108 verifies 108 mismatches 0 controls 63 ns 90319245 +PASS wycheproof/rsa_pss_3072_sha256_mgf1_32_test: cases 108 verifies 108 mismatches 0 controls 63 ns 102401681 +PASS wycheproof/rsa_pss_4096_sha256_mgf1_32_test: cases 108 verifies 108 mismatches 0 controls 63 ns 178433650 +PASS wycheproof/rsa_pss_4096_sha384_mgf1_48_test: cases 141 verifies 141 mismatches 0 controls 95 ns 229789232 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_32_params_test: cases 177 verifies 177 mismatches 0 controls 132 ns 281768330 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_32_test: cases 177 verifies 177 mismatches 0 controls 132 ns 265669696 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_64_params_test: cases 179 verifies 179 mismatches 0 controls 132 ns 287865808 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_64_test: cases 179 verifies 179 mismatches 0 controls 132 ns 288134867 +PASS wycheproof/rsa_pss_misc_params_test: cases 54 verifies 54 mismatches 0 controls 54 ns 21743719 +PASS wycheproof/rsa_pss_misc_test: cases 54 verifies 54 mismatches 0 controls 54 ns 21761142 +PASS wycheproof/rsa_signature_2048_sha256_test: cases 259 verifies 259 mismatches 0 controls 9 ns 99736535 +PASS wycheproof/rsa_signature_2048_sha384_test: cases 258 verifies 258 mismatches 0 controls 7 ns 127825544 +PASS wycheproof/rsa_signature_2048_sha512_test: cases 259 verifies 259 mismatches 0 controls 8 ns 129381629 +PASS wycheproof/rsa_signature_3072_sha256_test: cases 259 verifies 259 mismatches 0 controls 8 ns 244487966 +PASS wycheproof/rsa_signature_3072_sha384_test: cases 259 verifies 259 mismatches 0 controls 7 ns 249852116 +PASS wycheproof/rsa_signature_3072_sha512_test: cases 260 verifies 260 mismatches 0 controls 8 ns 223655243 +PASS wycheproof/rsa_signature_4096_sha256_test: cases 258 verifies 258 mismatches 0 controls 7 ns 387240722 +PASS wycheproof/rsa_signature_4096_sha384_test: cases 259 verifies 259 mismatches 0 controls 7 ns 409458540 +PASS wycheproof/rsa_signature_4096_sha512_test: cases 259 verifies 259 mismatches 0 controls 7 ns 391504416 +PASS wycheproof/rsa_signature_8192_sha256_test: cases 258 verifies 258 mismatches 0 controls 7 ns 1551655291 +PASS wycheproof/rsa_signature_8192_sha384_test: cases 259 verifies 259 mismatches 0 controls 7 ns 1567093093 +PASS wycheproof/rsa_signature_8192_sha512_test: cases 259 verifies 259 mismatches 0 controls 7 ns 1555646948 +PASS edge: cases 48 verifies 48 mismatches 0 controls 1 ns 3621166 +PASS pyca_gen: cases 324 verifies 324 mismatches 0 controls 324 ns 1179266022 +PASS fuzz: cases 864 verifies 864 mismatches 0 controls 0 ns 75690126 +NOT_RUN rsa_oaep_2048_sha1_mgf1sha1_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha224_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha224_mgf1sha224_test.json tests=35 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha256_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha256_mgf1sha256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha384_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha384_mgf1sha384_test.json tests=34 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_224_mgf1sha1_test.json tests=32 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_224_mgf1sha512_224_test.json tests=35 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_mgf1sha512_test.json tests=33 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha256_mgf1sha1_test.json tests=32 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha256_mgf1sha256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_256_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_256_mgf1sha512_256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_mgf1sha512_test.json tests=33 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha256_mgf1sha1_test.json tests=32 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha256_mgf1sha256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha512_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha512_mgf1sha512_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_misc_test.json tests=395 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pkcs1_1024_sig_gen_test.json tests=8 reason: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_1024_sig_gen_test.json tests=8 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_1536_sig_gen_test.json tests=8 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_2048_sig_gen_test.json tests=8 reason: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_2048_sig_gen_test.json tests=8 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_2048_test.json tests=67 reason: RSAES-PKCS1-v1_5 encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pkcs1_3072_test.json tests=67 reason: RSAES-PKCS1-v1_5 encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pkcs1_4096_test.json tests=67 reason: RSAES-PKCS1-v1_5 encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pss_2048_sha1_mgf1_20_params_test.json tests=88 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha1_mgf1_20_test.json tests=88 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha256_mgf1sha1_20_test.json tests=108 reason: hash SHA-256 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha512_224_mgf1_28_test.json tests=100 reason: hash SHA-512/224 mgf1 SHA-512/224: SHA-512/224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha512_256_mgf1_32_test.json tests=115 reason: hash SHA-512/256 mgf1 SHA-512/256: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_shake128_test.json tests=114 reason: hash SHAKE128 mgf SHAKE128: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_2048_shake256_test.json tests=184 reason: hash SHAKE256 mgf SHAKE256: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_3072_shake128_test.json tests=114 reason: hash SHAKE128 mgf SHAKE128: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_3072_shake256_test.json tests=184 reason: hash SHAKE256 mgf SHAKE256: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_4096_shake256_test.json tests=184 reason: hash SHAKE256 mgf SHAKE256: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-224: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-256: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-384: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-512: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-1: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-256: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-384: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-512: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-256 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-256 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-384 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-384 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-512 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-512 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-224: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-256: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-384: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-512: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-1: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-256: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-384: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-512: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-256 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-256 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-384 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-384 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-512 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-512 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha224_test.json tests=258 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_224_test.json tests=258 reason: SHA3-224: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_256_test.json tests=257 reason: SHA3-256: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_384_test.json tests=258 reason: SHA3-384: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_512_test.json tests=258 reason: SHA3-512: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha512_224_test.json tests=258 reason: SHA-512/224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha512_256_test.json tests=257 reason: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha3_256_test.json tests=258 reason: SHA3-256: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha3_384_test.json tests=259 reason: SHA3-384: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha3_512_test.json tests=259 reason: SHA3-512: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha512_256_test.json tests=258 reason: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_4096_sha512_256_test.json tests=258 reason: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_three_primes_oaep_2048_sha1_mgf1sha1_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_three_primes_oaep_3072_sha224_mgf1sha224_test.json tests=38 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_three_primes_oaep_4096_sha256_mgf1sha256_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +WYCHEPROOF valid=1556 invalid=3636 acceptable=58 (accepted 46: SmallModulus/SmallPublicKey; refused 12: MissingNull) +PASS mutant-expectation detected: 1 mismatches, cases 259 verifies 259 mismatches 1 controls 8 ns 126659721 +PASS mutant-mont-carry detected: 9 mismatches, cases 259 verifies 259 mismatches 9 controls 0 ns 129549625 +PASS mutant-digestinfo detected: 10 mismatches, cases 259 verifies 259 mismatches 10 controls 0 ns 99852363 +PASS mutant-mgf1-counter detected: 63 mismatches, cases 108 verifies 108 mismatches 63 controls 0 ns 71220463 +TIME rsa_signature_2048_sha256_test: 100 verifies, 39662847 ns total, 396628 ns per verify (nice 19) +TIME rsa_signature_4096_sha256_test: 100 verifies, 153638178 ns total, 1536381 ns per verify (nice 19) +TIME rsa_pss_2048_sha256_mgf1_32_test: 100 verifies, 48270665 ns total, 482706 ns per verify (nice 19) +TIME rsa_pss_4096_sha256_mgf1_32_test: 100 verifies, 155259521 ns total, 1552595 ns per verify (nice 19) +CONTROLS flipped-signature-byte controls=1927 (all refused) +RSA PASS vectors=6486 (wycheproof=5250) mutants=4/4 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/sha2.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/sha2.log new file mode 100644 index 000000000..224818cdd --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/sha2.log @@ -0,0 +1,25 @@ +omc sha256 befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +sha2.om sha256 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +hkdf.om sha256 5c3ce5f67627f89ce42961c3076c556d16a2eb6c72d704ff68e13b2819333778 +PASS nist-sha256-ShortMsg: 65 vectors, sha2 driver: 130 checks, 0 failed +PASS nist-sha256-LongMsg: 64 vectors, sha2 driver: 128 checks, 0 failed +PASS nist-sha256-Monte: 100 vectors, sha2 driver: 100 checks, 0 failed +PASS nist-sha384-ShortMsg: 129 vectors, sha2 driver: 258 checks, 0 failed +PASS nist-sha384-LongMsg: 128 vectors, sha2 driver: 256 checks, 0 failed +PASS nist-sha384-Monte: 100 vectors, sha2 driver: 100 checks, 0 failed +PASS nist-sha512-ShortMsg: 129 vectors, sha2 driver: 258 checks, 0 failed +PASS nist-sha512-LongMsg: 128 vectors, sha2 driver: 256 checks, 0 failed +PASS nist-sha512-Monte: 100 vectors, sha2 driver: 100 checks, 0 failed +PASS rfc4231-hmac: 21 vectors, sha2 driver: 42 checks, 0 failed +PASS rfc5869-hkdf: 6 vectors, sha2 driver: 9 checks, 0 failed +PASS generated-long: 33 vectors, sha2 driver: 33 checks, 0 failed +PASS wycheproof-hmac: 522 vectors, sha2 driver: 720 checks, 0 failed +PASS wycheproof-hkdf: 252 vectors, sha2 driver: 495 checks, 0 failed +PASS mutant-sha256-k0: detected (130 failure lines; sha2 driver: 130 checks, 130 failed) +PASS mutant-sha512-k0: detected (258 failure lines; sha2 driver: 258 checks, 258 failed) +PASS mutant-hmac-ipad: detected (21 failure lines; sha2 driver: 42 checks, 21 failed) +PASS mutant-hkdf-ctr: detected (243 failure lines; sha2 driver: 495 checks, 243 failed) +PASS mutant-expect: detected (2 failure lines; sha2 driver: 130 checks, 2 failed) +PASS neg-malformed: detected (1 failure lines; sha2 driver: 1 checks, 1 failed) +PASS neg-tag-flip: detected (1 failure lines; sha2 driver: 42 checks, 1 failed) +SHA2 PASS vectors=1777 (wycheproof=774) mutants=5/5 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/tls.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/tls.log new file mode 100644 index 000000000..ff4dbff22 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/tls.log @@ -0,0 +1,39 @@ +omc befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +sha2.om 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +hkdf.om 5c3ce5f67627f89ce42961c3076c556d16a2eb6c72d704ff68e13b2819333778 +x25519.om c2a3a01d6cffff95cbaa130a586ca8f7365fb56c67ec1b2f4920eceebfed23f5 +chacha.om 8431257bc8e83474983c572cfdfa7f8f4b62a1b867748868e88fbc9c1b37d3af +aesgcm.om b19d8ce88fc65eb0e69e51f52f3af70b9c46c4bfbbc84004d43e536bf4ced17f +ec.om 909f37c797e187bd0663bde9f57c75d6ce41eb2c9726a6b50d6fc714e424c060 +rsa.om 07414c1104f73f3f0d815ce8a7af9e736233c633f4a2ea080e20307ea1919c11 +x509.om 74faef7d459134c02ecea6c070eb4230b752b430225d939b51ba74fbeaf0bf28 +tls.om 20dcede61db68979c767af172ee3616cb2f089f92cd218ec43e6c545344ef6f0 +PASS rfc8448: tls kat: 24 checks, 0 failed +PASS expectation mutant detected: 2 mismatches +PASS mutant label c hs traffic detected: 5 mismatches +PASS mutant nonce ignores seq detected: 1 mismatches +PASS mutant label length detected: 21 mismatches +PASS mutant finished key detected: 2 mismatches +PASS dns: dns unit: 21 checks, 0 failed +PASS mutant dns flags only QR detected: 4 mismatches +PASS mutant dns owner ignored detected: 6 mismatches +PASS mutant dns label cap gone detected: trap (exit 104) +PASS interop: INTEROP PASS rows=37 +PASS mutant chain result ignored detected: 8 rows fail +PASS mutant CertificateVerify ignored detected: 2 rows fail +PASS mutant CCS count not checked detected: 4 rows fail +PASS mutant close revives failed detected: 32 rows fail +PASS mutant read record cap gone detected: 2 rows fail +PASS mutant handshake record cap gone detected: 1 rows fail +PASS mutant handshake close_notify unmapped detected: 2 rows fail +PASS mutant version not checked detected: 1 rows fail +PASS mutant record MAC ignored detected: 1 rows fail +PASS mutant session id not checked detected: 1 rows fail +PARITY PASS https://api.github.com/licenses/mit status='HTTP/1.1 200 OK' bytes=1956/1956 sha256=15b2a5994e7c6e3d/15b2a5994e7c6e3d +PARITY PASS https://api.github.com/licenses/apache-2.0 status='HTTP/1.1 200 OK' bytes=12478/12478 sha256=c9fb7d13de08da3c/c9fb7d13de08da3c +PARITY PASS https://api.github.com/repos/torvalds/linux/license status='HTTP/1.1 200 OK' bytes=1528/1528 sha256=afc6dbc05fb592ec/afc6dbc05fb592ec +PARITY PASS https://raw.githubusercontent.com/torvalds/linux/v6.0/README status='HTTP/1.1 200 OK' bytes=727/727 sha256=bad58d396f62102b/bad58d396f62102b +PARITY PASS https://raw.githubusercontent.com/torvalds/linux/v6.0/MAINTAINERS status='HTTP/1.1 200 OK' bytes=680548/680548 sha256=2e65a67b1f2ecd4e/2e65a67b1f2ecd4e +PARITY PASS smtp://mail.gandi.net:465 exit=0 bytes=194/194 sha256=d5fbda7743efc6b0/d5fbda7743efc6b0 +PARITY PASS tsmtp://mail.gandi.net:587 exit=0 bytes=383/383 sha256=b618c769ed2c6b81/b618c769ed2c6b81 +TLS PASS vectors=24 (rfc8448) dns=21 interop=37 net=PASS mutants=18/18 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/x25519.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/x25519.log new file mode 100644 index 000000000..bfe89d321 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/x25519.log @@ -0,0 +1,16 @@ +omc befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +x25519.om c2a3a01d6cffff95cbaa130a586ca8f7365fb56c67ec1b2f4920eceebfed23f5 +driver 863448df5f4f1c76016be39a278d9bf5cd9136680f6a8c0daee60576d91d4ae2 +PASS rfc7748: cases 9 calls 13 mismatches 0 ns 179977865 +PASS wycheproof: cases 518 calls 518 mismatches 0 ns 90394504 +NOTE rfc7748-iter1m not run (opt-in: X25519_ITER1M=1) +PASS negative-control detected: 1 mismatches, cases 9 calls 13 mismatches 1 ns 190838084 +PASS mutant-expectation detected: 1 mismatches, cases 518 calls 518 mismatches 1 ns 90490523 +PASS mut-a24 detected: 8 mismatches, cases 9 calls 13 mismatches 8 ns 176293946 +PASS mut-step detected: 8 mismatches, cases 9 calls 13 mismatches 8 ns 178534316 +PASS mut-clamp detected: 1 mismatches, cases 518 calls 518 mismatches 1 ns 90607196 +PASS mut-zero detected: 518 mismatches, cases 518 calls 518 mismatches 518 ns 115073947 +PASS mut-canon detected: 34 mismatches, cases 518 calls 518 mismatches 34 ns 102675600 +TIME low-weight scalar (clamped weight 1): 400 calls, 71011301 ns, 177528 ns per call +TIME high-weight scalar (clamped weight 252): 400 calls, 70998485 ns, 177496 ns per call +X25519 PASS vectors=531 (wycheproof=518) mutants=7/7 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/x509.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/x509.log new file mode 100644 index 000000000..d5be839d9 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/review-fix/x509.log @@ -0,0 +1,40 @@ +omc sha256 befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +library sha256 74faef7d459134c02ecea6c070eb4230b752b430225d939b51ba74fbeaf0bf28 (68 functions) +driver sha256 9d401e547a08a01591845cbe45bd26f8ff63e0c05af2bd7fe92055be8036c576 +PASS cases.txt: x509 driver: 186 checks, 0 failed +PASS fuzz fuzz_rsa n=300 rejected=300 +PASS fuzz fuzz_ec n=300 rejected=300 +PASS fuzz fuzz_pss n=200 rejected=200 +openssl OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) +DIFF store_intermediate_anchor x509=accept openssl=reject error 2 at 1 depth lookup: unable to get issuer certificate +DIFF at_not_after x509=accept openssl=reject error 10 at 0 depth lookup: certificate has expired +DIFF wildcard_partial x509=reject openssl=accept +DIFF no_san x509=reject openssl=accept +DIFF name_constraints_critical x509=reject openssl=accept +DIFF depth_8_intermediates x509=reject openssl=accept +DIFF leaf_is_ca x509=reject openssl=accept +DIFF leaf_ku_no_digsig x509=reject openssl=accept +DIFF rsa_1024_leaf x509=reject openssl=accept +DIFF sha1_signed x509=reject openssl=accept +DIFF rsassa_pss_key x509=reject openssl=accept +DIFF ed25519_key x509=reject openssl=accept +DIFF leaf_too_big x509=reject openssl=accept +DIFF name_constraints_noncritical x509=reject openssl=accept +DIFF rsa_6144_leaf x509=reject openssl=accept +DIFF rsa_e_2_32_plus_1_leaf x509=reject openssl=accept +DIFF rsa_e_even_leaf x509=reject openssl=accept +DIFF rsa_e_1_leaf x509=reject openssl=accept +DIFF rsa_6144_intermediate x509=reject openssl=accept +DIFF rsa_e_2_32_plus_1_intermediate x509=reject openssl=accept +PASS mutant name-wildcard-labels detected (2 MISMATCH: wildcard_one_label_parent wild_one_label_parent ) +PASS mutant date-not-after detected (76 MISMATCH: rsa_good rsa_good_apex ) +PASS mutant bc-ca-flag detected (1 MISMATCH: intermediate_not_ca ) +PASS mutant unique-id-order detected (driver trapped, exit 104, after 3 MISMATCH) +PASS mutant name-constraints-noncritical detected (3 MISMATCH: name_constraints_critical name_constraints_noncritical ) +PASS mutant rsa-modulus-max detected (8 MISMATCH: rsa_6144_leaf rsa_e_2_32_plus_1_leaf ) +PASS mutant rsa-exponent detected (2 MISMATCH: rsa_e_even_leaf rsa_e_1_leaf ) +PASS mutant leaf-size detected (1 MISMATCH: leaf_too_big ) +PASS mutant elemcap detected (driver trapped, exit 104, after 0 MISMATCH) +PASS mutant expectation detected +driver checks=186 fuzz-mutations=800 +X509 PASS cases=90 (openssl-parity=70/90) mutants=10/10 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/rsa.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/rsa.log new file mode 100644 index 000000000..f82ec000d --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/rsa.log @@ -0,0 +1,139 @@ +omc befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +rsa.om a0e6d53ef3aaac082cbada87ace2efcee4aa7fca199403480eed1f48792d57c9 +sha2.om 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +functions rsa.om 32 +driver 46ca78f0fcb5429cf80151dc71bce48fb58c02e028d7b6e3cdd2963b309eac63 +PASS wycheproof/rsa_pkcs1_1024_sig_gen_test: cases 17 verifies 17 mismatches 0 controls 17 ns 1765250 +PASS wycheproof/rsa_pkcs1_1536_sig_gen_test: cases 24 verifies 24 mismatches 0 controls 24 ns 12286104 +PASS wycheproof/rsa_pkcs1_2048_sig_gen_test: cases 27 verifies 27 mismatches 0 controls 27 ns 23864296 +PASS wycheproof/rsa_pkcs1_3072_sig_gen_test: cases 26 verifies 26 mismatches 0 controls 26 ns 22744092 +PASS wycheproof/rsa_pkcs1_4096_sig_gen_test: cases 24 verifies 24 mismatches 0 controls 24 ns 37131002 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_0_params_test: cases 103 verifies 103 mismatches 0 controls 61 ns 56987868 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_0_test: cases 103 verifies 103 mismatches 0 controls 61 ns 57759714 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_32_params_test: cases 108 verifies 108 mismatches 0 controls 63 ns 58792396 +PASS wycheproof/rsa_pss_2048_sha256_mgf1_32_test: cases 108 verifies 108 mismatches 0 controls 63 ns 41454358 +PASS wycheproof/rsa_pss_2048_sha384_mgf1_48_test: cases 141 verifies 141 mismatches 0 controls 95 ns 72102557 +PASS wycheproof/rsa_pss_2048_sha512_mgf1sha256_32_params_test: cases 178 verifies 178 mismatches 0 controls 132 ns 70070173 +PASS wycheproof/rsa_pss_3072_sha256_mgf1_32_params_test: cases 108 verifies 108 mismatches 0 controls 63 ns 91501616 +PASS wycheproof/rsa_pss_3072_sha256_mgf1_32_test: cases 108 verifies 108 mismatches 0 controls 63 ns 108637345 +PASS wycheproof/rsa_pss_4096_sha256_mgf1_32_test: cases 108 verifies 108 mismatches 0 controls 63 ns 160493148 +PASS wycheproof/rsa_pss_4096_sha384_mgf1_48_test: cases 141 verifies 141 mismatches 0 controls 95 ns 213213102 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_32_params_test: cases 177 verifies 177 mismatches 0 controls 132 ns 293392533 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_32_test: cases 177 verifies 177 mismatches 0 controls 132 ns 281782494 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_64_params_test: cases 179 verifies 179 mismatches 0 controls 132 ns 294832290 +PASS wycheproof/rsa_pss_4096_sha512_mgf1_64_test: cases 179 verifies 179 mismatches 0 controls 132 ns 272763787 +PASS wycheproof/rsa_pss_misc_params_test: cases 54 verifies 54 mismatches 0 controls 54 ns 22328937 +PASS wycheproof/rsa_pss_misc_test: cases 54 verifies 54 mismatches 0 controls 54 ns 21873189 +PASS wycheproof/rsa_signature_2048_sha256_test: cases 259 verifies 259 mismatches 0 controls 9 ns 137111376 +PASS wycheproof/rsa_signature_2048_sha384_test: cases 258 verifies 258 mismatches 0 controls 7 ns 131080475 +PASS wycheproof/rsa_signature_2048_sha512_test: cases 259 verifies 259 mismatches 0 controls 8 ns 129707118 +PASS wycheproof/rsa_signature_3072_sha256_test: cases 259 verifies 259 mismatches 0 controls 8 ns 234007126 +PASS wycheproof/rsa_signature_3072_sha384_test: cases 259 verifies 259 mismatches 0 controls 7 ns 225637917 +PASS wycheproof/rsa_signature_3072_sha512_test: cases 260 verifies 260 mismatches 0 controls 8 ns 253629816 +PASS wycheproof/rsa_signature_4096_sha256_test: cases 258 verifies 258 mismatches 0 controls 7 ns 407754884 +PASS wycheproof/rsa_signature_4096_sha384_test: cases 259 verifies 259 mismatches 0 controls 7 ns 418870482 +PASS wycheproof/rsa_signature_4096_sha512_test: cases 259 verifies 259 mismatches 0 controls 7 ns 425086811 +PASS wycheproof/rsa_signature_8192_sha256_test: cases 258 verifies 258 mismatches 0 controls 7 ns 1594226972 +PASS wycheproof/rsa_signature_8192_sha384_test: cases 259 verifies 259 mismatches 0 controls 7 ns 1596350302 +PASS wycheproof/rsa_signature_8192_sha512_test: cases 259 verifies 259 mismatches 0 controls 7 ns 1607324789 +PASS edge: cases 48 verifies 48 mismatches 0 controls 1 ns 8282161 +PASS pyca_gen: cases 324 verifies 324 mismatches 0 controls 324 ns 1188536475 +PASS fuzz: cases 864 verifies 864 mismatches 0 controls 0 ns 106779407 +NOT_RUN rsa_oaep_2048_sha1_mgf1sha1_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha224_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha224_mgf1sha224_test.json tests=35 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha256_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha256_mgf1sha256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha384_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha384_mgf1sha384_test.json tests=34 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_224_mgf1sha1_test.json tests=32 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_224_mgf1sha512_224_test.json tests=35 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_2048_sha512_mgf1sha512_test.json tests=33 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha256_mgf1sha1_test.json tests=32 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha256_mgf1sha256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_256_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_256_mgf1sha512_256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_3072_sha512_mgf1sha512_test.json tests=33 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha256_mgf1sha1_test.json tests=32 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha256_mgf1sha256_test.json tests=37 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha512_mgf1sha1_test.json tests=31 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_4096_sha512_mgf1sha512_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_oaep_misc_test.json tests=395 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pkcs1_1024_sig_gen_test.json tests=8 reason: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_1024_sig_gen_test.json tests=8 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_1536_sig_gen_test.json tests=8 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_2048_sig_gen_test.json tests=8 reason: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_2048_sig_gen_test.json tests=8 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pkcs1_2048_test.json tests=67 reason: RSAES-PKCS1-v1_5 encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pkcs1_3072_test.json tests=67 reason: RSAES-PKCS1-v1_5 encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pkcs1_4096_test.json tests=67 reason: RSAES-PKCS1-v1_5 encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_pss_2048_sha1_mgf1_20_params_test.json tests=88 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha1_mgf1_20_test.json tests=88 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha256_mgf1sha1_20_test.json tests=108 reason: hash SHA-256 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha512_224_mgf1_28_test.json tests=100 reason: hash SHA-512/224 mgf1 SHA-512/224: SHA-512/224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_sha512_256_mgf1_32_test.json tests=115 reason: hash SHA-512/256 mgf1 SHA-512/256: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_2048_shake128_test.json tests=114 reason: hash SHAKE128 mgf SHAKE128: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_2048_shake256_test.json tests=184 reason: hash SHAKE256 mgf SHAKE256: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_3072_shake128_test.json tests=114 reason: hash SHAKE128 mgf SHAKE128: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_3072_shake256_test.json tests=184 reason: hash SHAKE256 mgf SHAKE256: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_4096_shake256_test.json tests=184 reason: hash SHAKE256 mgf SHAKE256: SHAKE (RFC 8702 PSS) not in scope (SHA-256/384/512 with MGF1 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-224: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-256: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-384: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-1 mgf1 SHA-512: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-1: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-256: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-384: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-224 mgf1 SHA-512: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-256 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-256 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-384 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-384 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-512 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_params_test.json tests=6 reason: hash SHA-512 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-224: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-256: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-384: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-1 mgf1 SHA-512: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-1: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-256: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-384: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-224 mgf1 SHA-512: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-256 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-256 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-384 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-384 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-512 mgf1 SHA-1: SHA-1: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_pss_misc_test.json tests=6 reason: hash SHA-512 mgf1 SHA-224: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha224_test.json tests=258 reason: SHA-224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_224_test.json tests=258 reason: SHA3-224: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_256_test.json tests=257 reason: SHA3-256: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_384_test.json tests=258 reason: SHA3-384: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha3_512_test.json tests=258 reason: SHA3-512: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha512_224_test.json tests=258 reason: SHA-512/224: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_2048_sha512_256_test.json tests=257 reason: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha3_256_test.json tests=258 reason: SHA3-256: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha3_384_test.json tests=259 reason: SHA3-384: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha3_512_test.json tests=259 reason: SHA3-512: SHA-3 not in scope (sha2.om provides SHA-256/384/512 only) +NOT_RUN rsa_signature_3072_sha512_256_test.json tests=258 reason: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_signature_4096_sha512_256_test.json tests=258 reason: SHA-512/256: hash not in scope (SHA-256/384/512 only) +NOT_RUN rsa_three_primes_oaep_2048_sha1_mgf1sha1_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_three_primes_oaep_3072_sha224_mgf1sha224_test.json tests=38 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +NOT_RUN rsa_three_primes_oaep_4096_sha256_mgf1sha256_test.json tests=36 reason: RSAES-OAEP encryption/decryption suite: not in scope (signature verification only) +WYCHEPROOF valid=1556 invalid=3636 acceptable=58 (accepted 46: SmallModulus/SmallPublicKey; refused 12: MissingNull) +PASS mutant-expectation detected: 1 mismatches, cases 259 verifies 259 mismatches 1 controls 8 ns 130762907 +PASS mutant-mont-carry detected: 9 mismatches, cases 259 verifies 259 mismatches 9 controls 0 ns 129746524 +PASS mutant-digestinfo detected: 10 mismatches, cases 259 verifies 259 mismatches 10 controls 0 ns 102302841 +PASS mutant-mgf1-counter detected: 63 mismatches, cases 108 verifies 108 mismatches 63 controls 0 ns 41005765 +TIME rsa_signature_2048_sha256_test: 100 verifies, 40019110 ns total, 400191 ns per verify (nice 19) +TIME rsa_signature_4096_sha256_test: 100 verifies, 191659320 ns total, 1916593 ns per verify (nice 19) +TIME rsa_pss_2048_sha256_mgf1_32_test: 100 verifies, 40987919 ns total, 409879 ns per verify (nice 19) +TIME rsa_pss_4096_sha256_mgf1_32_test: 100 verifies, 157838815 ns total, 1578388 ns per verify (nice 19) +CONTROLS flipped-signature-byte controls=1927 (all refused) +RSA PASS vectors=6486 (wycheproof=5250) mutants=4/4 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/sha2.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/sha2.log new file mode 100644 index 000000000..224818cdd --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/sha2.log @@ -0,0 +1,25 @@ +omc sha256 befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +sha2.om sha256 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +hkdf.om sha256 5c3ce5f67627f89ce42961c3076c556d16a2eb6c72d704ff68e13b2819333778 +PASS nist-sha256-ShortMsg: 65 vectors, sha2 driver: 130 checks, 0 failed +PASS nist-sha256-LongMsg: 64 vectors, sha2 driver: 128 checks, 0 failed +PASS nist-sha256-Monte: 100 vectors, sha2 driver: 100 checks, 0 failed +PASS nist-sha384-ShortMsg: 129 vectors, sha2 driver: 258 checks, 0 failed +PASS nist-sha384-LongMsg: 128 vectors, sha2 driver: 256 checks, 0 failed +PASS nist-sha384-Monte: 100 vectors, sha2 driver: 100 checks, 0 failed +PASS nist-sha512-ShortMsg: 129 vectors, sha2 driver: 258 checks, 0 failed +PASS nist-sha512-LongMsg: 128 vectors, sha2 driver: 256 checks, 0 failed +PASS nist-sha512-Monte: 100 vectors, sha2 driver: 100 checks, 0 failed +PASS rfc4231-hmac: 21 vectors, sha2 driver: 42 checks, 0 failed +PASS rfc5869-hkdf: 6 vectors, sha2 driver: 9 checks, 0 failed +PASS generated-long: 33 vectors, sha2 driver: 33 checks, 0 failed +PASS wycheproof-hmac: 522 vectors, sha2 driver: 720 checks, 0 failed +PASS wycheproof-hkdf: 252 vectors, sha2 driver: 495 checks, 0 failed +PASS mutant-sha256-k0: detected (130 failure lines; sha2 driver: 130 checks, 130 failed) +PASS mutant-sha512-k0: detected (258 failure lines; sha2 driver: 258 checks, 258 failed) +PASS mutant-hmac-ipad: detected (21 failure lines; sha2 driver: 42 checks, 21 failed) +PASS mutant-hkdf-ctr: detected (243 failure lines; sha2 driver: 495 checks, 243 failed) +PASS mutant-expect: detected (2 failure lines; sha2 driver: 130 checks, 2 failed) +PASS neg-malformed: detected (1 failure lines; sha2 driver: 1 checks, 1 failed) +PASS neg-tag-flip: detected (1 failure lines; sha2 driver: 42 checks, 1 failed) +SHA2 PASS vectors=1777 (wycheproof=774) mutants=5/5 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/tls-run-20261026T1706Z.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/tls-run-20261026T1706Z.log new file mode 100644 index 000000000..782e75fa6 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/tls-run-20261026T1706Z.log @@ -0,0 +1,29 @@ +omc befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +sha2.om 5cf0f98116def6917d3a373f2bd4c3932d46e3ff84d9567bbae9e720366fdb33 +hkdf.om 5c3ce5f67627f89ce42961c3076c556d16a2eb6c72d704ff68e13b2819333778 +x25519.om c2a3a01d6cffff95cbaa130a586ca8f7365fb56c67ec1b2f4920eceebfed23f5 +chacha.om 8431257bc8e83474983c572cfdfa7f8f4b62a1b867748868e88fbc9c1b37d3af +aesgcm.om b19d8ce88fc65eb0e69e51f52f3af70b9c46c4bfbbc84004d43e536bf4ced17f +ec.om 909f37c797e187bd0663bde9f57c75d6ce41eb2c9726a6b50d6fc714e424c060 +rsa.om a0e6d53ef3aaac082cbada87ace2efcee4aa7fca199403480eed1f48792d57c9 +x509.om 64aa4ce05f2ff89b9bc608ae9c0431eb64aad7f1f929ebf5804f65b3fb608fdd +tls.om bca405ca0381d8a122b2089f36ead5d6c3fad7df967f50775261f236b7f70ae9 +PASS rfc8448: tls kat: 24 checks, 0 failed +PASS expectation mutant detected: 2 mismatches +PASS mutant label c hs traffic detected: 5 mismatches +PASS mutant nonce ignores seq detected: 1 mismatches +PASS mutant label length detected: 21 mismatches +PASS mutant finished key detected: 2 mismatches +PASS interop: INTEROP PASS rows=23 +PASS mutant chain result ignored detected: 8 rows fail +PASS mutant version not checked detected: 1 rows fail +PASS mutant record MAC ignored detected: 1 rows fail +PASS mutant session id not checked detected: 1 rows fail +PARITY PASS https://api.github.com/licenses/mit status='HTTP/1.1 200 OK' bytes=1956/1956 sha256=15b2a5994e7c6e3d/15b2a5994e7c6e3d +PARITY PASS https://api.github.com/repos/torvalds/linux/license status='HTTP/1.1 200 OK' bytes=1528/1528 sha256=afc6dbc05fb592ec/afc6dbc05fb592ec +PARITY PASS https://api.github.com/octocat status='HTTP/1.1 200 OK' bytes=901/901 sha256=0985c5b7885c921c/0985c5b7885c921c +PARITY PASS https://raw.githubusercontent.com/torvalds/linux/v6.0/README status='HTTP/1.1 200 OK' bytes=727/727 sha256=bad58d396f62102b/bad58d396f62102b +PARITY PASS https://raw.githubusercontent.com/torvalds/linux/v6.0/MAINTAINERS status='HTTP/1.1 200 OK' bytes=680548/680548 sha256=2e65a67b1f2ecd4e/2e65a67b1f2ecd4e +PARITY PASS smtp://mail.gandi.net:465 exit=0 bytes=194/194 sha256=d5fbda7743efc6b0/d5fbda7743efc6b0 +PARITY PASS tsmtp://mail.gandi.net:587 exit=0 bytes=383/383 sha256=b618c769ed2c6b81/b618c769ed2c6b81 +TLS PASS vectors=24 (rfc8448) interop=23 net=PASS mutants=9/9 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/x25519.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/x25519.log new file mode 100644 index 000000000..f578b7acf --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/x25519.log @@ -0,0 +1,16 @@ +omc befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +x25519.om c2a3a01d6cffff95cbaa130a586ca8f7365fb56c67ec1b2f4920eceebfed23f5 +driver 863448df5f4f1c76016be39a278d9bf5cd9136680f6a8c0daee60576d91d4ae2 +PASS rfc7748: cases 9 calls 13 mismatches 0 ns 210986698 +PASS wycheproof: cases 518 calls 518 mismatches 0 ns 130545225 +NOTE rfc7748-iter1m not run (opt-in: X25519_ITER1M=1) +PASS negative-control detected: 1 mismatches, cases 9 calls 13 mismatches 1 ns 189185989 +PASS mutant-expectation detected: 1 mismatches, cases 518 calls 518 mismatches 1 ns 115584470 +PASS mut-a24 detected: 8 mismatches, cases 9 calls 13 mismatches 8 ns 180558320 +PASS mut-step detected: 8 mismatches, cases 9 calls 13 mismatches 8 ns 188826513 +PASS mut-clamp detected: 1 mismatches, cases 518 calls 518 mismatches 1 ns 119568685 +PASS mut-zero detected: 518 mismatches, cases 518 calls 518 mismatches 518 ns 121244928 +PASS mut-canon detected: 34 mismatches, cases 518 calls 518 mismatches 34 ns 97247030 +TIME low-weight scalar (clamped weight 1): 400 calls, 77025662 ns, 192564 ns per call +TIME high-weight scalar (clamped weight 252): 400 calls, 77475476 ns, 193688 ns per call +X25519 PASS vectors=531 (wycheproof=518) mutants=7/7 diff --git a/evidence/om-tls-review-2026-10-26/handoff-evidence/x509.log b/evidence/om-tls-review-2026-10-26/handoff-evidence/x509.log new file mode 100644 index 000000000..6f321828d --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/handoff-evidence/x509.log @@ -0,0 +1,26 @@ +omc sha256 befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d +library sha256 64aa4ce05f2ff89b9bc608ae9c0431eb64aad7f1f929ebf5804f65b3fb608fdd (65 functions) +driver sha256 044beb49c47ec12631a3aa6bb4e057ecf7e293fc3a97576cd9cf9718cf44e37e +PASS cases.txt: x509 driver: 159 checks, 0 failed +PASS fuzz fuzz_rsa n=300 rejected=300 +PASS fuzz fuzz_ec n=300 rejected=300 +PASS fuzz fuzz_pss n=200 rejected=200 +openssl OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) +DIFF store_intermediate_anchor x509=accept openssl=reject error 2 at 1 depth lookup: unable to get issuer certificate +DIFF at_not_after x509=accept openssl=reject error 10 at 0 depth lookup: certificate has expired +DIFF wildcard_partial x509=reject openssl=accept +DIFF no_san x509=reject openssl=accept +DIFF name_constraints_critical x509=reject openssl=accept +DIFF depth_8_intermediates x509=reject openssl=accept +DIFF leaf_is_ca x509=reject openssl=accept +DIFF leaf_ku_no_digsig x509=reject openssl=accept +DIFF rsa_1024_leaf x509=reject openssl=accept +DIFF sha1_signed x509=reject openssl=accept +DIFF rsassa_pss_key x509=reject openssl=accept +DIFF ed25519_key x509=reject openssl=accept +PASS mutant name-wildcard-labels detected (2 MISMATCH: wildcard_one_label_parent wild_one_label_parent ) +PASS mutant date-not-after detected (65 MISMATCH: rsa_good rsa_good_apex ) +PASS mutant bc-ca-flag detected (1 MISMATCH: intermediate_not_ca ) +PASS mutant expectation detected +driver checks=159 fuzz-mutations=800 +X509 PASS cases=78 (openssl-parity=66/78) mutants=4/4 diff --git a/evidence/om-tls-review-2026-10-26/security-rereview.md b/evidence/om-tls-review-2026-10-26/security-rereview.md new file mode 100644 index 000000000..002847d8e --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/security-rereview.md @@ -0,0 +1,48 @@ +# Security re-review: omega-mv #813 `feat/om-tls`, fix 38c80a85 over de2d884b + +VERDICT: PASS + +Scope: I read the current `/tmp/omtls/om/tls` tree. That tree is the working copy for 38c80a85 plus cdcf4229, a merge that touches only `.crumb`. I ran nothing: no git, no build, no suite. Every runtime statement below is reasoned from source. Test outcomes are NOT_RUN by me; the suite run belongs to TlsReviewFix. + +## Per-finding status + +| # | Status | Evidence (current line numbers) | +|---|---|---| +| F1 uniqueID trap | FIXED | `x509.om:1071-1083`: `k` starts at 0x80. Each 0x81 or 0x82 must be greater than the previous tag, and none is allowed when v1. The loop runs at most 3 times (0x81, 0x82, then 0xa3 returns), so `bound 4` cannot be reached. Tests: `cases.txt` `uid_*` (five, twice, reversed, 112), mutant `unique-id-order`. | +| F2 element bounds | FIXED | The `n > X5NMAX` (9999) guard is checked at the head of each pass, so pass 10000 returns before `bound 10000` can trap. It is present at `x509.om:858-862` (EKU), `899-903` (SAN), `992-996` (exts) and `1604-1608` (chain_host). The leaf `> X5LMAX` check at `1974` runs before `chain_leaf` and before any signature work. Tests: `eku/san_9999` OK and `eku/san/ext_10001` MALFORMED, `leaf_too_big`, mutants `elemcap` (the uncapped list traps, which counts as detected) and `leaf-size`. | +| F3 tls_hsmsg trap | FIXED | `tls.om:599-604`: at `k > 4000` it returns TLEBIG, below `bound 4096`. A CCS flood now ends at the second CCS because of the TLCCS check. Tests: interop `frag` and `ccsflood`, mutant handshake record cap (it reaches the bound, traps, and the row fails). | +| F4 tls_read trap | FIXED | `tls.om:1737-1742`: at `k > 1001` it calls `tls_abort` with TLEUNEX. `k` is counted per call and the loop returns as soon as data is pending. Tests: `empty1500`, `tickets1500`, `empty50` (OK), mutant read record cap. | +| F5 nameConstraints | FIXED | `x509.om:951-953`: OID 20 returns X5ENC whatever its criticality, before the critical/unknown branch. The check is in `x509_ext`, so it covers anchors, intermediates and the leaf. A store root carrying NC becomes unusable, which fails closed. Tests: `name_constraints_noncritical(_violated)`, mutant `name-constraints-noncritical`. | +| F6 RSA cost | FIXED | `x509_rsaexp` (611-631) accepts at most 4 content bytes, odd, ≥3. A bad exponent adds X5RBADE (2^32) to X5RBITS, and `x509_rsaok` (635) requires 2048..4096, so it is refused. It is enforced on presented intermediates in `chain_try` (1812, before `chain_link`/signature), on the leaf in `chain_leaf` (1896) and in `x509_cv_verify` (2035). Anchors only need ≥2048 at `chain_sig` (1653). The store is trusted, so a bad-e anchor is a local-config matter, not an attacker path. Tests: the `rsa_*` leaf and intermediate cases, `cv_rsa_6144`, `cv_rsa_e_2_32_plus_1`, and the 2 mutants. | +| F7 CCS policy | FIXED | `tls.om:532-539`: a plaintext CCS must be exactly `01`, length 1, with TLCCS==1, then TLCCS=2. TLCCS is 0 before ServerHello, set to 1 at 1088 together with TLRK=1, and set to 2 by the first protected record (552). An encrypted inner type 20 returns TLEUNEX (579-581). `tls_init` zeroes c[0..TLRB) including TLCCS at 496, and offset 496 does not overlap TLDET (492, 4 bytes) or TLEPK (512). Tests: `ccs2`, `ccsflood`, `ccspre`, `ccslate`, `encccs`, mutant CCS count. | +| F8 DNS | FIXED | Mask 64015 = 0xFA0F, expected 0x8000 (2000). The question is compared case-insensitively (`dns_qeq`). `dns_ans` follows the owner/CNAME chain through `dns_neq`, which is capped at 400 steps and uses `tls_at` (256 past the end), so it never traps. `dns_skip` returns 0 at 128 labels or more, before `bound 128`. `dns_rr` checks `p+10` and `rdlen` against `len r` before `dns_rrty`/`dns_rrip` read. The `dns_ans` `for an` loop is at most 65535. Tests: `dnsunit.om` (21 cases) and 3 DNS mutants (trap counts as detected). | +| F9 CV negative | FIXED | Interop `cvbad` and `cvkey`; imut `ret TLECV→ret 0`. A server that skips CV is not a row; see N2. | +| F10 test gaps | FIXED | The crafted x509 fixtures, fakesrv rows and DNS unit tests above. Interop rows compare an exact `TLSERR … (exit N)` string, so a trap (exit ≥100) fails the row. | +| F11 info | FIXED/DOC | `tls_close` (1803-1817) keeps TLPH=3. A close_notify during the handshake now returns TLEALRT detail 0 (`tls_hsmsg`), and it is tested by `closehs`, `closepre` and 2 mutants. The remaining items are documented, not changed: deadline, clock, PSL, CertificateRequest, and no path backtracking. | + +## New holes checked (none found) +- TLCCS cannot be re-armed after it reaches 2: it is written only at 1088 (SH), 537 and 552, and SH is processed once. HRR is refused, so there is no second SH. +- The 4000-record handshake cap and the 1000-record read cap return errors rather than traps. They cannot fire on conforming GitHub or Gandi peers [INFERENCE: real servers do not send 1000 empty records or split a message over 4000 records]. +- No consumer is confused by the X5RBADE offset in X5RBITS. All 4 reads (1653, 1851, 1896, 2035) treat it as "fails policy"; anchors pass ≥2048 by design. +- `dns_ptr` and `dns_neq` were checked for pointer loops, truncated pointers, out-of-range label bytes and label length >63. The 400-step cap ends in 1, and there is no indexing outside `tls_at`. + +## Residual (non-blocking) +- **N1 INFO**, `tls.om:2168-2176` with `dns_query` at 1925. `dns_a4` builds the query in `new uchar 300`. `tls_cpy q 13 hn` runs before `dns_labels`, so a caller-supplied `hn` of 288 bytes or more given to `tls_dial` traps. This is caller-controlled, not network-controlled, and is unchanged from the first review. Fix: `if gt len hn 253 ret TLEDNS` at the top of `dns_a4`. (Closed in 2238f043, see below.) +- **N2 LOW test gap.** There is no fakesrv row where the server omits CertificateVerify and sends Finished. It would be refused by the message-order check, which existing rows do not isolate. Optional fix: a `cvskip` row. (Closed in 2238f043, see below.) +- **N3 note.** The README claim "each has a test that fails on the code before the fix" was not run by me (NOT_RUN). The mutant list and fixture names match the code. + +## Delta 2238f043 (over cdcf4229, `om/tls` only) + +VERDICT: PASS + +Scope: I read the current tree at 2238f043. Nothing was run; test outcomes are NOT_RUN by me. + +| Change | Assessment | Evidence | +|---|---|---| +| Trust anchors must be self-issued | Correct, fails closed | `chain_self` (`x509.om:1747-1760`) returns 1 only when the issuer DER and subject DER are byte-equal, using the record that `chain_anchor` (1777) just filled from the same `part st p l` view, so the offsets are consistent. `chain_alink` (1764-1769) returns X5EUNK for a non-self-issued entry, so `chain_anchor` skips it and keeps `res = X5EUNK`. An intermediate placed in the store can no longer short-cut the path; this matches OpenSSL without `-partial_chain`. Real roots in ca-certificates are self-issued [INFERENCE; the `real_*` X509_OK rows exercise this when run]. Tests: `cases.txt:26` `store_intermediate_anchor` → UNKNOWN_ISSUER, mutant `anchor-self-issued` (`run.sh:133`, its sed target matches `x509.om:1765` exactly). | +| `now >= notAfter` is expired | Correct, stricter than RFC 5280 and the same as OpenSSL | `chain_time` `x509.om:1631` `if le get r X5RNA nw` → X5EEXP. Valid iff notBefore ≤ now < notAfter. Header note at `x509.om:8-9` updated. Tests: `cases.txt:34-36` (notAfter−1 OK, ==notAfter EXPIRED, +1 EXPIRED), mutants `date-not-after` and `date-at-not-after` (`run.sh:129,131`; both sed patterns match the new line 1631, so neither is a no-op). | +| `dns_a4` hostname cap | Closes N1 | `tls.om:2164-2167`: `if gt len hn 253` returns TLEDNS before `new uchar 300`. The largest query is then 12 + 1 + 253 + 1 + 4 = 271 bytes, under 300. Mutant `run.sh:86` `dns_a4 name length unchecked`. | +| `cvskip` interop row | Closes N2 | `fakesrv.py:17,132,143-144`: Certificate then Finished, with CertificateVerify omitted from both the wire and the transcript. `interop.sh:163` expects exactly `TLSERR TLS_ERR_UNEXPECTED_MESSAGE`. | + +New issues: none blocking. +- **D1 NIT (doc)** `test/x509/vectors/cases.txt:5` still says leaves are valid "... 2027-01-01 (1798761600) inclusive". After this change the bound is exclusive (`at_not_after` on line 35 expects EXPIRED). The comment should say "exclusive" or "until". diff --git a/evidence/om-tls-review-2026-10-26/security-review.md b/evidence/om-tls-review-2026-10-26/security-review.md new file mode 100644 index 000000000..cfc5957eb --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/security-review.md @@ -0,0 +1,265 @@ +# Security review: om/tls (aien-dev/omega-mv, branch feat/om-tls, tree /tmp/omtls) + +Reviewer: security-reviewer subagent, read-only. **Nothing was compiled or run.** Every runtime +statement below comes from reading the code and the OMEGESE trap rules (`docs/one_layer/OMEGESE.md:58-60,131-134`: +a `while … bound N` traps 4 if its condition is still true at the head of pass N+1; a trap ends the process with +exit 100+code). Runtime status is NOT_RUN: no finding was EXERCISED. +Contract: `/home/drakestapleton/handoffs/omega-tls/tls-contract.md` ("untrusted input must never trap", +"secrets constant time", "tag compare constant time"). + +Line numbers refer to the tree as read on 2026-10-26 (tls.om 2130 lines, x509.om 1955 lines). + +## Findings + +### F1. MEDIUM: certificate with 5 uniqueIDs traps the client before authentication. x509.om:1004 +`x509_tbs2` reads issuerUniqueID/subjectUniqueID with `while lt s b bound 4`. Each `0x81`/`0x82` element +`continue`s, and nothing enforces order or uniqueness. +- Failing input: a v2 or v3 TBSCertificate whose subjectPublicKeyInfo is followed by `81 00 81 00 81 00 81 00 81 00`, + or by four `81 00` and then the `[3]` extensions. Pass 5's head sees `s < b` and the process traps 4 (exit 104). +- Reach: the leaf is parsed in `chain_leaf`, and presented intermediates in `chain_try`, before any signature is + checked. Any server can kill the client. So can an on-path or DNS attacker, because the Certificate comes from + whoever terminates the handshake. +- Violates the contract rule "untrusted input must never trap", and README.md:165. +- Fix: accept at most one `0x81`, then at most one `0x82`, in that order (track the last tag), otherwise + X5EMAL; or replace the bound with a counter that returns X5EMAL. + +### F2. MEDIUM: element-count bounds of 10000 are reachable from a single certificate (trap 4). x509.om:809, 845, 930, 1534 +`x509_eku` (809), `x509_san` (845), `x509_exts` (930) and `chain_host` (1534) each loop +`while lt s b bound 10000`, one element per pass. +- Failing inputs (smallest elements): + - EKU containing 10001 × `06 00`: about 20 KB. + - SAN containing 10001 × `80 00` (an otherName-tag-shaped GeneralName, skipped as non-dNSName): about 20 KB. + This traps in `x509_san`, or in `chain_host` if parsing passes. + - Extensions containing 10001 × `30 04 06 00 04 00`: about 60 KB. The duplicate check needs a known OID, so + empty or unknown OIDs repeat freely; if empty OIDs are refused, use `30 05 06 01 00 04 00`, 7 bytes, 70 KB, + which still fits. +- Reach: the leaf has no size cap before `x509_chain_verify`; TLLFSZ is only checked in `tls_leaf`, after + verification (tls.om:1240-1250). A Certificate message can be up to TLHBSZ = 65536 bytes. Presented + intermediates are capped at X5KBUF = 16384 bytes, which is below the EKU/SAN threshold, so the leaf is the + vector. Same attacker set as F1. +- Fix: return X5EMAL when a counter reaches the cap instead of relying on `bound`. Alternatively set each bound + above the largest count the byte budget allows (len/2 + 1 for 2-byte elements). Cheapest of all: cap leaf + size at TLLFSZ before calling `x509_chain_verify`, then make each bound ≥ 16896/2. + +### F3. MEDIUM: `tls_hsmsg` traps on 4096 records that add no handshake bytes (on-path, before authentication). tls.om:588 +`tls_hsmsg` is `while true bound 4096`, one record per pass. `tls_rdrec` (tls.om:527-532) accepts an +unencrypted ChangeCipherSpec record (`14 03 03 00 01 01`) at any time, including after handshake keys are +installed, because the type-20 test runs before the `TLRK` test. `tls_hsmsg` then skips it without counting. +- Failing input: an on-path attacker injects 4096 six-byte CCS records (24 KB) into the server's flight after + ServerHello. The client traps 4. With an error instead of a trap, the same attacker would only cause an + ordinary connection failure. +- Second trigger: a hostile but authenticated-later server fragments EncryptedExtensions/Certificate into ≥ 4096 + one-byte records. The record layer is legal and Certificate may be 65 KB. +- `ret TLEUNEX` at the end of the loop (≈ line 619) can never run. +- Fix: allow at most one plaintext CCS (RFC 8446 §5 middlebox compatibility), and none after the first protected + record. Count records in a variable and return TLEUNEX/TLEBIG at a cap at or above TLHBSZ + 8, rather than + reaching `bound`. + +### F4. LOW-MEDIUM: `tls_read` traps on 999,999 records that carry no data (authenticated peer). tls.om:1714 +`while true bound 999999` only exits when `TLPN > 0`, at close_notify, or on an error. Zero-length +application_data records are valid. Each is 22 bytes on the wire: header, inner type, tag. +NewSessionTicket-only records (`tls_post` → `tls_hsdrop`) and KeyUpdate also leave `TLPN = 0`. +- Failing input: the authenticated server (or a compromised CDN edge) sends 999,999 empty type-23 records + (≈ 22 MB). The client traps 4 inside `tls_read`. +- Fix: count consecutive records that deliver no data and return a normal error (for example TLEUNEX after + 1024), or turn the loop into an explicit counter that ends in an error. + +### F5. MEDIUM: a non-critical nameConstraints extension is silently ignored. x509.om `x509_ext` (≈861-917), README.md:79-80 +Only a *critical* nameConstraints (known-OID index 20) returns X5ECRIT. A non-critical one is parsed past +and its restrictions are never applied. +- Scenario: a technically constrained subordinate CA, for example `permitted;DNS:example.com`, marked + non-critical. Historically the CA/B Forum Baseline Requirements and Mozilla allowed this for compatibility. + If that CA issues for `api.github.com` or `mail.gandi.net`, this client accepts the chain. OpenSSL and NSS + enforce the constraint and refuse it. +- The README documents the behaviour ("a critical one is refused"), but it is a fail-open default on a path + that protects the GitHub token and SMTP credentials. The only test is `name_constraints_critical` + (gen_pki.sh intNC, `critical,permitted;DNS:example.test`), so no non-critical case is covered. +- Fix: refuse nameConstraints on any issuer whether critical or not (X5ECRIT), or implement dNSName + permitted/excluded subtree matching for the leaf SAN. Add a non-critical test case either way. + +### F6. LOW: attacker-chosen RSA exponents give a large CPU cost per presented certificate. rsa.om:16-17, 28-29 (policy), `rsa_key` (340-389); x509.om:1568-1581 (`chain_sig`) +`rsa_key` accepts any odd e ≥ 3 with bitlen(e) ≤ bitlen(n), and n up to 8192 bits. The rsa.om note says the +cost "is a CPU cost the caller accepts by passing such a key". x509.om's `chain_sig` passes keys taken from +*presented* candidate certificates, which the attacker controls, and limits only the modulus minimum (≥ 2048). +- Modelled cost: one Montgomery product for s = 256 limbs is about 2s² = 131,072 limb mul-adds. An all-ones + 8192-bit e needs about 8192 squarings and 8192 multiplies, about 2.1 × 10⁹ limb mul-adds per verification. + For e = 65537 with a 2048-bit key it is 2·32²·18 ≈ 36,864. + `WolframLanguageEvaluator: s=256; {2 s^2, 2 s^2*16384, 2*32^2*18} -> {131072, 2147483648, 36864}`. +- Up to 15 presented candidates can be tried, and none of this time counts against `tls_deadline`, which only + covers I/O waits. A MITM can hold the client CPU-bound for a long time. Wall-clock time is not measured. +- Fix: at the X.509 layer, require e ≤ 2³² − 1 (or exactly 65537) and n ≤ 4096 bits for keys in presented + certificates and the leaf. Web PKI root programs already require these limits. + +### F7. LOW: protected and repeated ChangeCipherSpec records are accepted during the handshake. tls.om:527-532, 609-616 +Two defects share one root cause: +1. A record whose *inner* content type is 20 after decryption is skipped silently in `tls_hsmsg`, because the + test is `if ne ty 20`. RFC 8446 §5 requires the unexpected_message alert for an encrypted CCS. +2. Plaintext CCS is accepted any number of times, and also before ServerHello. + +The fix in F3 covers both: accept CCS only as an unprotected record, at most once, between ServerHello and the +server Finished. + +### F8. LOW-MEDIUM (DoS) / INFO: DNS answer handling. tls.om:1886-1890 (comment), 1930 (`dns_skip`), 1950-2000 (`dns_parse`) +- `dns_skip` is `while lt p z bound 128`. An answer owner name made of ≥ 128 one-byte labels (256 bytes) traps 4. + Attackers able to send this: the resolver, an on-path attacker, or an off-path spoofer that matches the 16-bit + ID on the connected UDP port. Fix: return 0 after 127 labels, or when the name passes 255 bytes. +- The flag mask 33295 (0x820F) at line 1959 tests QR, TC and RCODE, but not the opcode (bits 11-14). This + contradicts the comment at line 1789 ("opcode 0"). Fix: mask 0xFA0F, expect 0x8000. +- The owner name of the answer RR is never compared with the question. The first IN A record anywhere in the + answer section is used. +- One `recv` per attempt, so a single garbage datagram fails the lookup. +- TLS authentication limits all of this to denial of service, as README.md:81-83 says. + +### F9. LOW (test gap): no negative control for CertificateVerify. test/tls/run.sh, interop.sh, kat.om +- No interop row and no KAT check reaches `TLECV`, and kat.om has no CV or x509 reference at all. +- In every row, the chain is either valid with an honest CertificateVerify, or rejected earlier at the chain + check. +- A mutant `s/^ret TLECV$/ret 0/` (tls.om:1278) or "ignore `tls_cvcall`" would survive the whole suite + [INFERENCE from reading the rows; not executed]. +- CertificateVerify is the only proof that the server holds the leaf key. Without it, an attacker who replays a + valid public certificate chain is stopped only by the Finished MAC, which the same attacker can compute + because it chose the ECDHE share. +- Fix: + - Add a fakesh-style server that sends a valid chain for `localhost` (from the test PKI) plus a CV signed by a + different key, expecting TLS_ERR_CERTIFICATE_VERIFY (alert 51). + - Add a server that skips CV (Certificate followed directly by Finished), expecting TLEUNEX. + - Add both as `imut` mutants. + +### F10. LOW (test gap): fuzzing and interop do not exercise F1-F4 or F7. test/x509/vectors/cases.txt:181-184, test/tls/fakesh.py +- The x509 fuzz applies 800 deterministic single mutations to valid lists. Those never repeat an element 5 or + 10001 times. +- fakesh only crafts the ServerHello. +- No case covers CCS flooding, inner type 20, record fragmentation, zero-length application data, KeyUpdate, + NewSessionTicket floods, truncation before close_notify, or CertificateRequest. +- Add each as an interop or fakesh row that expects a named error and treats any exit ≥ 100 (trap) as FAIL. + +### F11. INFO +- `tls_close` (tls.om:1772-1782) sets TLPH = 2 even from state 3 (failed). A later `tls_read` then returns 0, + which reads like a clean close_notify. Keep state 3 when the connection had failed. +- A close_notify received during the handshake makes `tls_connect` return internal code TLCLOSE (100), which + `tls_errname` maps to TLS_ERR_UNKNOWN. The return is nonzero, so this is not a bypass, but it should be a + named error. +- `tls_deadline` 0 means 30 s per wait with no overall cap (README.md:45 is accurate but easy to misread), so a + slow-drip server can stretch the handshake. CPU time (F6) is not covered by any deadline. +- `tls_hq` uses the realtime clock, so the host clock decides certificate validity. +- Wildcards are not checked against a public-suffix list (`*.co.uk`); this relies on CA policy. +- Caller-contract traps, not attacker-reachable: + - `dns_query` with a hostname longer than the query buffer (`tls_dial` does not validate it, unlike + `tls_init`); + - `tls_write` with more than 16 GB (bound 999999 × 16384); + - `/etc/resolv.conf` with more than 4096 consecutive blanks (tls.om:1869); + - a trust bundle larger than TLSTSZ fails closed. +- CertificateRequest extensions are not validated. This is harmless because an empty Certificate is always + sent. +- `chain_pres`/`chain_path` (x509.om ≈1703-1745) commit to the first presented candidate whose signature + verifies, then check `chain_ca`, with no backtracking. This fails closed and affects availability only. + +## Checked and found sound + +**AEAD** +- `aead_chacha_open` (chacha.om:423-445): the Poly1305 tag is computed over AAD and ciphertext first, then the + 16 bytes are OR-accumulated with no early exit, and the one-time key is wiped. On mismatch the ciphertext + region is zeroed and 1 is returned. Decryption runs only after the tag matches. +- `gcm_open1` (aesgcm.om:615-630): the same pattern (GHASH, then OR-accumulated tag compare, then wipe or CTR). + `gcm_clear` wipes round keys, H and state on every path. The bitsliced AES has no secret-indexed tables + (per the module notes; not timed). + +**X25519** (x25519.om:298-326) +- Inputs are length-checked, the scalar is clamped, the ladder has a fixed count of 255 steps, cswap is masked, + and the all-zero result is detected without branching (`x25519_fenc`). +- The workspace and scalar copy are wiped. +- tls.om:1035 propagates the zero result: the fakesh `zero` row expects ZERO_SHARED_SECRET. + +**ECDSA** (ec.om:495-646) +- Public key: exactly `04‖X‖Y`, X < p and Y < p, and an on-curve equation check. +- DER: strict, short-form, minimal INTEGERs, no trailing bytes. An oversized INTEGER is replaced by n, so it + fails the range check. +- r and s are both checked to lie in [1, n−1]. +- A result at infinity is rejected, and x(R) mod n is compared with r. +- Curve constants are recorded as Wolfram-checked in test/ec/wolfram.txt (the file was not re-checked here). + +**RSA** +- PKCS#1 v1.5 builds the whole k-byte block and compares it byte for byte; the block is never parsed. The + DigestInfo prefixes are verbatim from RFC 8017. +- The PSS path checks the exact salt length. The X.509 layer requires salt = hash length, the trailer, the + emBits mask and the zero PS. +- s ≥ n and a signature length different from the modulus length are both rejected. +- Only the exponent policy is weak (F6). + +**Handshake order and authentication** +- Order: ServerHello → EncryptedExtensions → optional CertificateRequest → Certificate (empty context) → + CertificateVerify → Finished (32 bytes, `tls_cteq`). +- Transcript ranges and key-schedule labels follow RFC 8446 §7.1. The RFC 8448 KAT covers them, and 4 library + mutants were read. +- `TLHF == 0` is enforced at each key change. +- Every failure goes through `tls_abort` (phase 3, keys wiped). +- A `TLECV`/`TLEFIN` result is mapped to alert 51 (tls.om:1494). + +**ServerHello** +- Exact version, HRR detection, constant-time session-ID echo, offered suite only, compression 0. +- Extensions are exactly supported_versions (0x0304) and an x25519 key_share, each at most once, with exact + framing. +- Only TLS 1.3 is offered, so there is no downgrade path. + +**EncryptedExtensions** +- Only SNI (empty), supported_groups and ALPN are accepted, with no duplicates. ALPN must be exactly the offered + `http/1.1`. + +**Record layer** +- Lengths: at most 16640 on the wire, at most 16384 of plaintext, ciphertext of at least 17. +- After keys are installed, only type 23 is accepted (CCS excepted, F7). A plaintext alert or handshake record + is refused. +- Nonce = IV XOR seq. Seq refuses 2⁶⁴−1 instead of wrapping and is reset on key install. +- An all-zero inner plaintext is refused, and plaintext is exposed only after a successful open. +- An alert must be 2 bytes long. EOF without close_notify gives `-TLS_ERR_EOF`. +- Buffer offsets end exactly at TLCSZ = 119296. + +**Post-handshake** +- `tls_post` (bound 4096 messages per record ≤ 16384/4 is unreachable). +- NewSessionTicket is dropped, and anything other than NewSessionTicket or KeyUpdate is refused. + +**Bounded loops checked unreachable** +- The ServerHello/EncryptedExtensions extension loops (bound 64) end within 4 passes. +- The padding scan (bound 20000 > 16624). +- `chain_index` (bound 100000 > 65536/5). +- `der_hdr` (≤ 3 length octets, minimal, never reads past the end). +- `rsa_bits`. +- The MGF1 loop (bound 999 > 1024/32). + +**X.509** +- Strict DER for time (UTC pivot, GeneralizedTime, Z only), AlgorithmIdentifier (NULL or absent, exact PSS + parameters, ECDSA without parameters), tbs/outer algorithm equality, version, and serial of 1..21 bytes. +- basicConstraints, keyUsage, EKU and SAN framing. Known extensions at most once; an unknown critical extension + gives X5ECRIT. +- Leaf: + - SAN dNSName only, with no CN fallback. + - LDH host names; IP literals refused. + - Wildcard only as the whole leftmost label. + - Not a CA; digitalSignature; serverAuth. + - RSA ≥ 2048 bits. +- Issuers: + - Byte-equal DER names and consistent algorithm/key pairs. + - CA:TRUE, pathLen, keyCertSign, EKU, validity. + - Each presented certificate used at most once, depth ≤ 8, at most 16 entries. +- `x509_cv_verify`: the curve must match the scheme, rsa_pkcs1 is refused, and RSA must be ≥ 2048 bits. The leaf + in TLLF is the same bytes `chain_leaf` validated. +- PEM/base64 decoding of the local trust store is strict. + +**Constant time for secrets** +- `tls_cteq` (tls.om:172) for Finished, the session ID and ALPN. +- The README side-channel table (README.md:85-103) matches the code read; the DIT and padding caveats are + stated. + +**README claims checked** +- The API, the documented limits and the "not implemented" list match the code. +- Two claims are contradicted: + - "Untrusted input must never trap" (README.md:165, and the module notes such as x509 and tls): see F1-F4 and + F8. + - Mutant counts: run.sh has 1 expectation + 4 KAT + 4 interop mutants = 9, matching "9/9". x509 run.sh has + 3 library + 1 expectation = 4, matching "4/4". These counts are accurate, but none of the mutants targets + CertificateVerify (F9). + +## Not reviewed in depth +- sha2.om and hkdf.om internals. Their KATs and Wycheproof counts are cited in the README and were not re-run. +- client.om and parity.py. +- AES S-box gate correctness. diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/RAW-SHA256SUMS b/evidence/om-tls-review-2026-10-26/timing-v3/RAW-SHA256SUMS new file mode 100644 index 000000000..ab565a665 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/RAW-SHA256SUMS @@ -0,0 +1,134 @@ +bed9f6e0ad5010c3bfd4398d0148576be45d745b99c290f7f19bc2b0a95ae4db rc/cpu0-v1r-r1.txt +c91a6f7c7a5183411115fad2b93570c075bf877de9a6e2f4abaff9ee40c6f319 rc/cpu0-v1r-r2.txt +f69e803c718257e4cef8b6804ae67528c1e7a6e30483c1f199d1d9a28da9ac9f rc/cpu0-v1r-r3.txt +2fa1ec84efd23d9d590941612d4b5ab4e9de376dfe68c83148018f2da6f14d89 rc/cpu0-v1r-r4.txt +b9f829b706aeeddd47b0274dde273332d0dfa89297bfe5795f1f37ec6df417ce rc/cpu0-v1r-r5.txt +e4cd9fe736f795ab9781be3f8d179924227c8372423e006ba467293ebf75afce rc/cpu0-v1r-r6.txt +901f5581c07dea77f3ec616edd07e30009851739e9dac376a4240ca5550b158c rc/cpu0-v1r-r7.txt +64ecf01d572bc2b0de37a2437dfdc212b2c7ad88335530bc60762d99653d987a rc/cpu0-v1r-r8.txt +81a72eb9a5d2443a22e0f00403703a1e743c2be089ef90fcd958d667d598054f rc/cpu0-v2-r1.txt +62e61ca2eba61b2e79e9edc9fd7451f3bd944c04bc0b6f5bf485d4b5732d9705 rc/cpu0-v2-r2.txt +10a3a0a4766956e786862accd288575fc16e987bd24782b69941e4888418686c rc/cpu0-v2-r3.txt +8f00bc2558d92b5c83cea42f4a22520f41a2c0055b627029eddb659936e95e5f rc/cpu0-v2-r4.txt +a5c963e310dedb6659627485ca69123e0f24079e704065d2014f046a16166439 rc/cpu0-v2-r5.txt +c8b4f216772acd3b44a5ffe980b9d19b7368126c4017a9594a60de38e0a564d1 rc/cpu0-v2-r6.txt +f1f45696fdd04627e11c1d1aa243d6f6ba990fe16fa5fae553adaf0741f89d45 rc/cpu0-v2-r7.txt +63f0d336875fdbf26d859171a51c44df77db8083e80c701699da33090a3a47f4 rc/cpu0-v2-r8.txt +c853cc9f3eea1d918ecc2a8490bdabc4d95edd54a6d7a900350e23161a8d9830 rc/cpu17-v1r-r1.txt +66f086e8f096cab83b5764f94bbb5477f65389baab7118028a977c3c2c919216 rc/cpu17-v1r-r2.txt +87f6c53558e65d3481ee6eb4ab91d95eb399ddd40deef7f268140a6c1a021583 rc/cpu17-v1r-r3.txt +2456e95a4923e9d4a20fe73282b3bdc56996feeee79cea044fa11c2d7f95dd8f rc/cpu17-v1r-r4.txt +f8f2e5e30d5191a94e7553ba591f6afdd2807a88fc5fc2167d62ca83a88635d9 rc/cpu17-v1r-r5.txt +8c7ebb480fd85c5c5621a86e6764f606b1d5c9bbc7cc652b07028d241f229fdd rc/cpu17-v1r-r6.txt +ffe91c75962f3f853c99c8b8ce788198bc5a76b51cd83834c69a58c0453fda18 rc/cpu17-v1r-r7.txt +b2968f307f294621f22f721de21b38441a4788db6c07ad2b1f4c97fed07e1d8c rc/cpu17-v1r-r8.txt +31be9b2baf4e6ed126b9ce1c1f659737a5b5cdf136eba0d7dc5be9f58a4038aa rc/cpu17-v2-r1.txt +83a23a6f5ba5db3d1f4a9a345df6c4888d567ddc443e0d3010517f083859cf5f rc/cpu17-v2-r2.txt +ec0e78fb09eb9163ebe3015075bc2d3bbb20feee8be1602c40eb79b9793a9724 rc/cpu17-v2-r3.txt +51f052a81d7d83d3022b7a4512abadf813c8da7c6d960e974eefb3f8071dc7f4 rc/cpu17-v2-r4.txt +89f5c6ae412b342b4db0b2599468114ce2f88ea45a84ae37dee44827966375c4 rc/cpu17-v2-r5.txt +e5773110c956e9babeb02ee61ef31275f88a8d5ae5c05a7220108de2c06cb08a rc/cpu17-v2-r6.txt +26670635b42d632894433a607d87455d1900ae8c002d5de65e84d2edf06804c7 rc/cpu17-v2-r7.txt +8e8b7067de68edfdc7eabbbda96d040cd7c21e9d477ffea122ee777185f4daa4 rc/cpu17-v2-r8.txt +ee5819c19247ad12e65b5bd5be3428cac03c340096325c861e1293f7f4cc6ab6 rc/cpu2-v1r-r1.txt +f7ba14251ce11ea3687ab3aa01a1211e0222deb564da5d6451c585996797d21d rc/cpu2-v1r-r2.txt +569fe3929a7b25655d0c89c7eb98e47acdbd3c84896d4912d58d7f8856c39a3e rc/cpu2-v1r-r3.txt +0cb07ac9eb2b77fe25ad28e256dacc5dc17131b1b444a3cbb8294226d0bcc2fb rc/cpu2-v1r-r4.txt +8589234bd41b6ae413b0d2890c5f0d60348fce406ca5750741c0f394f8045865 rc/cpu2-v1r-r5.txt +e7eb717ab2c95e1c3f0b5a0c3c3fe03a7e8b188c0df67106402664a9e9788bf9 rc/cpu2-v1r-r6.txt +bd4daca802fe5ed9914ff774a1531e006c72f072f434f0898f3adbc315a121ef rc/cpu2-v1r-r7.txt +5e37589aa840298c3450913e0b1f6410a45729c4ba72d16626f0639b839bc90d rc/cpu2-v1r-r8.txt +7aa0280707aa0fdd47e94aedd57d9b832067c01a7634cbb5259e8a838be8945f rc/cpu2-v2-r1.txt +e80fcf92f1cd684e80c2961e61de46cff657d78b78b0f06a88d5380e1a75f9fd rc/cpu2-v2-r2.txt +557579d418f4b989f17aef01c9f517461809483467908953e19d6c0eff36c873 rc/cpu2-v2-r3.txt +8ece97af0d8cda03ca8549f3c8178004441ee92d01b264a6f0ca38f27dd4b9ad rc/cpu2-v2-r4.txt +b6654b7c49d2ecadc92abc2b6962264e1fbb68016c305a3ee819db3fe15026b4 rc/cpu2-v2-r5.txt +4d2501c22d8b48e41880db79843f8b70612c806e70c4ed916c70e0887136995a rc/cpu2-v2-r6.txt +d9cac87575b865ff8d15b5abfee16cb637559d9e0904d899eadc0384034d4016 rc/cpu2-v2-r7.txt +fabe23931717dd44aa8c5026d4472ad74492ed4ccce57542fe271b9ee4e44623 rc/cpu2-v2-r8.txt +7e1b78d8b1d75afce577780e4b814aec29abbe13a352c583804465c87925c1a6 rc/cpu5-v1r-r1.txt +0b0d3df3405823ba74dd63ffe321b014f104f6adb3ce8768410ceb825ed787d7 rc/cpu5-v1r-r2.txt +e353a1d59276a520fdfd571fa9de1a510d158df82041f7cee14c778d9e878a0a rc/cpu5-v1r-r3.txt +f00e36895ae0ac43a31fa6d1a06b021363e52f9875c341c6f5e879cd4ac7195b rc/cpu5-v1r-r4.txt +f2cddfd4680dc10f65a6e47578e44e93cc520316bc098678891a09aac1adf552 rc/cpu5-v1r-r5.txt +e51ab54d9bd0c6922f847a4592330507bbe49f88b0965d9b7acb30771ae46d02 rc/cpu5-v1r-r6.txt +1db745b3ff04aa36dd8077873a3fdb46e3b344cc6b8812452fdca588f0b03ca8 rc/cpu5-v1r-r7.txt +6459ba2db33fbdf442e3ef3801bf9590753d9b36db35351f2c54124622927338 rc/cpu5-v1r-r8.txt +2f58df9127351f54557819bb461bb185fea99b23dc373bffa611cb4dc497eab5 rc/cpu5-v2-r1.txt +4c62d0a7dc96570e9e7593e5ec3e46f238ded7a269a92f30300810bcd25a4b96 rc/cpu5-v2-r2.txt +7b40f262ce523212b64b736d5c7588fa5e6a22afa0ed5d8600dba2337003ffd7 rc/cpu5-v2-r3.txt +8abd072b36e81e0b8cc9581978c2cf3d5afacfd06d1b5b25fcbd18ee9f9188d0 rc/cpu5-v2-r4.txt +bbec18af9e86fa089d9de2583fc2a0352e574a9d1e33d7d3468c442898e2c541 rc/cpu5-v2-r5.txt +07b6514583004c98cd01e7aceb024e8609f60d59208682837e7fd890a7dc1d4f rc/cpu5-v2-r6.txt +ba25522929eb4dd202ac87783ea21e6cdc8e0edec76353247531f345f4d31ebb rc/cpu5-v2-r7.txt +7ead4ae6781e7892e1c4265d57b0cf1ae28db2e280d5a18d38c9172cf0156164 rc/cpu5-v2-r8.txt +bd02cafccc75ab9b18fbcee4ee4eebb7fe00042a2c282175e7047c9421b73ee4 rc/wl.txt +3861c62a69613bd0fd104eed0e68b0e24b27d46ce261172aaf3f94c153d09054 rc/wolfram-out.txt +722e9d892154348b815eec993baf73ec6e6bfd62d4be05e95dbbafbc76d2d6f6 v3/cpu17-aesgcm-r1.txt +cca1b5765ee04688b45641b4fd96dedaa5c6630693e09b428debc0434efc15c3 v3/cpu17-aesgcm-r2.txt +3e9247dfb6d45232f480ce1c2523a2356b1f32eab7a99e948d6573499ca083b7 v3/cpu17-aesgcm-r3.txt +344009c5ee38bc19b2a8d7f087ee46fa5e1987f4ef8018e31c285ec94c37b46a v3/cpu17-chacha-r1.txt +a2ae589dffbe5afa73194bffa05cd3f755efbe851fae421732d449e5ad58fa7b v3/cpu17-chacha-r2.txt +56754d49cd7037baf0fef6bc03acad6e871d6cadccc0cde3ae315f875794a33f v3/cpu17-chacha-r3.txt +be70f942c9239d4a3026067cbd984ae0c2057328863c093288df4194afe5f137 v3/cpu17-cteq-r1.txt +877a8674529082e35ba3e8f0fbf0a9f6603f6e318376edf7a3c725764b61538f v3/cpu17-cteq-r2.txt +89e5ce4bbdfe3558e247c9ea0249389b6dededf6705410db3a34e6dfba4e5089 v3/cpu17-cteq-r3.txt +650fa668aa61930ddae6d1258b0c7e84ffe13a87bf40e8359d0cd094d080e77f v3/cpu17-hkdf-r1.txt +5ed5686426ead8bdebf49b6cc9d53782eff9e792fcfaccc7697549394258e5f2 v3/cpu17-hkdf-r2.txt +1225f2b9fd5aeac666a7516e8d88e45c4323ae7b5a4f83d16d386e52a453c81c v3/cpu17-hkdf-r3.txt +1bf293f08c65ac4bc3fb4245a62f5c3be0cbe49b3da0719795a7258269102854 v3/cpu17-x25519-r1.txt +bbb5784210f4dad73fd742518b326fd1c9a88de5adc625e182661da23790ee5e v3/cpu17-x25519-r2.txt +6a8145b22fd8a2cf6a92904d5bea0f687269d24cef699d9f460e983902fc6d5f v3/cpu17-x25519-r3.txt +4b240faad474585b628ab09be541f639dd095e78255d62cbe135e1c86705d5da v3/cpu2-aesgcm-r1.txt +773376efa6ec2440476b1185795e87f8bbc0cb1934fe67ed279904a6751b65fd v3/cpu2-aesgcm-r2.txt +9a33987770c6bd898d8a3fff44a469f149259273eadc2fd4fb86864880430ec3 v3/cpu2-aesgcm-r3.txt +7e06ccc23c2407f94109b5a632e678b5b525409a58bb043c7f943ae282fc419f v3/cpu2-chacha-r1.txt +9d611e2eac78b65e0f928523dbea897f88ce927e9a9c414b74d38ae9aee1b249 v3/cpu2-chacha-r2.txt +69cee9b12c873a9a05e1e7916e15977fce6d5a8ae83005dfe26e5b28a1012d11 v3/cpu2-chacha-r3.txt +94399dbec9d633d741d04b41d4f27fe611ac22257c4be34a3ab538c00897c4d3 v3/cpu2-cteq-r1.txt +11441f6b17f3b6c666a3f3e1b1c46f6f70a14d631fdc1b196f3a60f0241b5071 v3/cpu2-cteq-r2.txt +b2f4f498fd8d2c762c82cac826d1c28101c7f671c61ef00d8d9efd31eb7a52ad v3/cpu2-cteq-r3.txt +e3d91d8c87ba07c840190fbd0868e78510fed1fee91a1e5fd6575d7c17ca077d v3/cpu2-hkdf-r1.txt +8b32e28543d8aed891b7a2517c5e6d7feb590a70139e634317fd5f74bb488498 v3/cpu2-hkdf-r2.txt +f3a2326b6064cf28db33c872c83bdfda7d9b29f390c41e51647ab18de33aeb3c v3/cpu2-hkdf-r3.txt +11a979e8a25cfe068e4e25994990b6ffab2cb1b8a5806b59fce3bea3cf682924 v3/cpu2-x25519-r1.txt +c43c2f4a648c1cc1894da00c78e333eae407e0bb1e08182bfaf674b30e0cd78d v3/cpu2-x25519-r2.txt +7de373460258b95569e0a8c6cf08a8086d4b402702a3600b0cdc57aeec7423be v3/cpu2-x25519-r3.txt +3c57cc75bad5e73ef525df8e78be31c12e8d370de0ba635f9c638d88c481230e v3/wolfram-out.txt +e16726c1f2c15161d29430e80dc643dd735840ac1594b3b847cf5ce468402b48 cteq/cpu17-aa-r1.txt +a2992dd820a57f03de6c566cba668688417bef3623276bb2fd20f8b4cb804b39 cteq/cpu17-aa-r2.txt +b06f804ac1bf12d7ba08261a0f47c2e7e2425ad6fd2c5055596f92e972cb0509 cteq/cpu17-aa-r3.txt +369aea7f9fba41b95d205794ffde1b3c2a6e267c945585cb7368dc0e403e12a4 cteq/cpu17-aa-r4.txt +194a140060c85f64e47f0a78e6a1bbf071bc37380ece2d0985799686283f6f01 cteq/cpu17-aa-r5.txt +2d53a99e8558a3c19d0fd988954cf2f79697fa48a3f7e07e2299c5fa6d7d59d7 cteq/cpu17-aa-r6.txt +ded66d010986761ab60281b056de827008f334c0297fdc9375b1ab865392942e cteq/cpu17-v3-r1.txt +22f5f001825daadd9e25c078e3ff3862aae350f51ad435baeef5f0398ef01115 cteq/cpu17-v3-r2.txt +4cf6e08a32341b38d1495afee03f9201f8279b61cf86db83706c19214e170594 cteq/cpu17-v3-r3.txt +479677a10d2aebdecffa8c9ca5ade593a823078bae6be4b62bee1eec9d47b6bb cteq/cpu17-v3-r4.txt +a70c27382741e906ecc3231967806e260314b0768c03cf9c5ea941bd578d6d04 cteq/cpu17-v3-r5.txt +4b223b37dabdc8fdcf5936776dde5e719c2ed0b54fb9a91f60f59f9c77720209 cteq/cpu17-v3-r6.txt +64ab9ea75e12269ebb717cbddf81166bceacc6ed5b1ce90231473a52336eb97d cteq/cpu2-aa-r1.txt +824212fee8ca60c5c803875c2864cc417a911438316d69e4992b5b8bfc87cd51 cteq/cpu2-aa-r2.txt +ba537cde4fb1ae5e47db3760c1ddc80dc2f11fd06932cc2fd87ef3055d71f892 cteq/cpu2-aa-r3.txt +56cc9aa9a2613060abbae38bbe201c9f554ca72f165fbfe9394e401245f94afe cteq/cpu2-aa-r4.txt +376621d279a1331d0d2d068cbcaeca3110d5b4c25842dfde785ec4e553ee728d cteq/cpu2-aa-r5.txt +790632b4532fd8cc002c9e66cb4adc825139b126c3097a13f8c1cac4f16d76e8 cteq/cpu2-aa-r6.txt +146f879b2c875d9680a4188a7b62563f7a6e3137933d9d4daf7338bfa9db3a71 cteq/cpu2-v3-r1.txt +5557c9ec65584384c9beffef021fd7e8642071f2fdeb3640cc22d93453cf527d cteq/cpu2-v3-r2.txt +6d381f7cbbb935ddfbf6c4ed2ae024734c9d4fd174d7db1153a7a9158a7fd6a2 cteq/cpu2-v3-r3.txt +e3b5a5193682162cb17f493314d4fc89e260cd64e553432e90ad0020a478ecdd cteq/cpu2-v3-r4.txt +3cc008f718df77ac4eaecb98593e2bd57549f7e633136f084f2088337d03f173 cteq/cpu2-v3-r5.txt +133b47a2e954ad6093e65acaa2fc98a1e382a228cca83356cd2f2092eb201598 cteq/wolfram-out.txt +e39626d0f36d4db649f05feef4d980c2caed628a0c412ecf216ce39997974ffe cteq2/cpu17-v3-r1.txt +a6affdead6454cfc43c3321af7f706a574ddbaf4b53f9b99d15043c01004731d cteq2/cpu17-v3-r2.txt +6d95b2ce38a5bc24a0c86aeff92be39d910099b47bfd3eb7f2d492c993072f2a cteq2/cpu17-v3-r3.txt +62385ff5ae606fc53807ba6ba5c0a23a1b21199de036912712fb213d340b0702 cteq2/cpu17-v3-r4.txt +1f545be47580f12e886cfe071a5f78b782f2d02d0ea77dd65e363e989afa8cee cteq2/cpu17-v3-r5.txt +db47d88e6a8f3ce7b425ad7b5860d8df43a75ed1fa4a2af182469a95135c6d71 cteq2/cpu17-v3-r6.txt +be0cb4782bcb5b241d351994d84e32c060646b5700edf9ba49418fccb1d45d5b cteq2/cpu9-v3-r1.txt +ce721c95cf2fa418ef92249d1c590fd021962f982866b901e186318d55266bae cteq2/cpu9-v3-r2.txt +62839774c742f758cc8e499539fde97012d3586e57a3a5ad4c246c9e241eec6c cteq2/cpu9-v3-r3.txt +fdd07ea60d96fe310695b988ae6ef8be383c1d2bcd8cb39bfe1abccfe2cff1f3 cteq2/cpu9-v3-r4.txt +5364f35595004be98b55bf5a036ca6b3540c45c0d021ca2690053589f37bd014 cteq2/cpu9-v3-r5.txt +d7c4a39461f325f465b5aa17786cfc969ed705934fadb6d6fa17000c1eeec0f7 cteq2/cpu9-v3-r6.txt +d0b6a84d698fcc62eb360f8bebf67acd24fd0482c41ae64dba1450622566efb7 cteq2/wolfram-out.txt diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/README.md b/evidence/om-tls-review-2026-10-26/timing-v3/README.md new file mode 100644 index 000000000..634cc3cb7 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/README.md @@ -0,0 +1,128 @@ +# om/tls timing screen v3 and the v1 root cause (DGX Spark GB10, 2026-10-26) + +This is a screen on one busy host, not a proof of constant time and not a hardware qualification. +All numbers below are MEASURED on 2026-10-26 between 21:20Z and 21:56Z; every t and df was computed +by WolframLanguageEvaluator from the per-class sums in the `sums.json` files (Python only counted). + +## Setup + +- Core map, MEASURED from `/proc/cpuinfo`: cpus 0-4 and 10-14 are part 0xd87 (Cortex-A725), cpus 5-9 + and 15-19 are part 0xd85 (Cortex-X925). Core 17 = X925, core 2 = A725 (also 5, 9 = X925; 0 = A725). + `cpuinfo_avg_freq` read 3876996-3900000 kHz on cores 17 and 9 during `cteq2/` (`cteq2/load.log`). +- Compiler: `seed/out/omc`, sha256 `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f` + (= `OMC_PIN` in `om/units.sh`). Build: `sh om/tls/build.sh seed/out/omc DRIVER.om OUT`; every + build rc 0 with empty stderr. +- Drivers (sha256 in `SHA256SUMS`): + - v3 = `om/tls/test/tls/timing.om` (sha256 `63b5b2f3…3bce`, binary `2cd6c54c…2023`). Classes are + balanced and randomly interleaved (selection sampling from getrandom). Both classes call + getrandom for the input, then every byte is rewritten through the same mask expression (fixed + pattern for class 0, random for class 1), so the code before the timed window is the same for + both classes. Operations: `x25519`, `chacha` (seal), `aesgcm` (seal), `cteq` (2000 `tls_cteq` + compares of 32 bytes; exits 3 unless class 0 compares equal and class 1 does not), `hkdf` + (HKDF-SHA256 extract with a 32-byte class secret, expand to 32 bytes). + - `v1r.om`: the first driver (class 0 skipped getrandom), reconstructed; sha256 `d9e4af24…375f` + equals the original v1 source sum. Built with 2c824805 it gives `f3eb8caa…9a0e`, byte-identical + to the original v1 `timing.bin`. `v2.om` gives `6118a157…bfb6`, byte-identical to the original + v2 `timing.bin` (`../timing/`). v1 and v2 differ only in `tm_fill`. + - `aa.om`: A/A control = v3 with both classes given the fixed pattern and the cteq class check + removed. Measurement control only. +- Run: `nice -n 19 ionice -c3 taskset -c CPU ./BIN WHAT N`; each output line is `CLASS NANOSECONDS`. + `rc/` used `nice -n 19 taskset -c CPU` without ionice. +- Statistics: `sums.py` writes n, sum x, sum x^2 per class for the full data, the crop at the pooled + 90th percentile (`p90`, the v1/v2 statistic) and the dudect crops `dI` (I = 0, 9, ..., 99; + percentile 1 - 0.5^(10(I+1)/100)). Welch t, Welch-Satterthwaite df and class means in Wolfram: + +``` +welch[{n0_,s0_,q0_},{n1_,s1_,q1_}]:=Module[{m0=s0/n0,m1=s1/n1,v0=(q0-s0^2/n0)/(n0-1),v1=(q1-s1^2/n1)/(n1-1)}, + N[{(m0-m1)/Sqrt[v0/n0+v1/n1],(v0/n0+v1/n1)^2/((v0/n0)^2/(n0-1)+(v1/n1)^2/(n1-1)),m0,m1}]] +``` + + Self-check: `welch[{3,6,14},{3,9,29}]` -> t -1.2247, df 4. The full query (with the data) is in + `*/wolfram-query.wl` (`rc/wolfram-out.txt` carries its own query line); output is in `*/wolfram-out.txt`. + t > 0 means class 0 (fixed) is slower. Flags: |t| > 4.5 leak suspect, > 10 definite (dudect). + The max over 13 tests per run is reported, which is more permissive than a single test. +- Host load (1-minute loadavg from `uptime` before every run, `*/load.log`; 20 cores, a resident + model and other agents running): rc 21.01-25.00, v3 18.39-27.04, cteq 16.32-27.87, cteq2 21.04-22.08. +- Raw samples: 129 files, sha256 in `RAW-SHA256SUMS`; kept locally (13.7 MB xz) at + `/home/drakestapleton/handoffs/TlsTiming/raw/timing-v3-raw.tar.xz`, not in the repository. + +## 1. v1 chacha t = -10.4: root-caused to the driver + +Single change, chacha N = 50000 (about 25000 per class), 8 reps per build alternating v1r/v2, +cores 0, 2 (A725) and 5, 17 (X925). `rc/wolfram-out.txt` columns: run, t_full, t_p90, df_p90, +mean difference (class 0 - class 1, ns, p90 crop). + +| core | v1r reps with \|t_p90\| > 4.5 | v1r t_p90 | v2 reps flagged | v2 max \|t_p90\| | +|---|---|---|---|---| +| 0 (A725) | 8/8 | -4.55 to -9.25 | 0/8 | 2.63 | +| 2 (A725) | 8/8 | -5.44 to -8.87 | 0/8 | 2.82 | +| 17 (X925) | 3/8 | +0.84 to +9.26 | 0/8 | 2.44 | +| 5 (X925) | 1/8 | -0.34 to +13.07 | 0/8 | 2.56 | + +All 64 t_full are within ±2.25; df_p90 44999-47915. Reverting the one change (v1r) reproduces the +cropped-tail signal on both A725 cores in every rep; re-applying it (v2) removes it on all four +cores. Verdict: ROOT-CAUSED on A725, the flag was caused by the getrandom syscall that only class 1 +made before the timed window, not by the cipher. On X925 the v1 effect is weaker, of the opposite +sign and present in only 4/16 reps. Why a syscall shifts the tail of the next window by 1.3-2.9 ns +is an inference (cache, TLB or predictor state disturbed by the kernel entry) and was not measured. +v2 cropped t on A725 is positive in 15/16 reps (0 to 2.82): a small residual, below the flag. +v3 removes the remaining asymmetry (both classes run the same instructions before the window). + +## 2. v3 screen, cores 17 (X925) and 2 (A725), 3 reps each (`v3/`) + +N per run (n per class exactly N/2): x25519 100000, chacha 500000, aesgcm 200000, cteq 100000, +hkdf 500000. 30/30 runs rc 0. Max |t| over the 13 tests of each run: + +| primitive | core 17 (X925) r1 / r2 / r3 | core 2 (A725) r1 / r2 / r3 | flag | +|---|---|---|---| +| x25519 | 2.33 / 1.73 / 1.54 | 1.12 / 1.80 / 2.81 | none | +| chacha20-poly1305 seal | 1.16 / 0.92 / 1.59 | 2.01 / 1.94 / 1.35 | none | +| aes-128-gcm seal | 2.30 / 1.39 / 0.96 | 2.04 / 1.12 / 1.65 | none | +| hkdf-sha256 | 2.17 / 3.52 / 2.43 | 2.13 / 1.81 / 1.44 | none | +| tls_cteq | **22.51** (p90) / **4.87** (d39) / 1.98 | 1.60 / 1.73 / 1.29 | X925 suspect | + +Full-data |t| for every v3 run is at most 1.67 (core 2 chacha r1). + +### tls_cteq on X925: leak suspect, not root-caused + +Follow-up, cteq N = 100000, v3 against the A/A control, alternating, 6 reps per core (`cteq/`), then +6 more v3 reps on cores 17 and 9 (`cteq2/`): + +| set | core 17 (X925) max \|t\| per rep | other core | +|---|---|---| +| v3 (`cteq/`) | **27.97** (d29), **6.41** (p90), **-25.88** (p90), 2.00, 2.92, 2.57 | core 2: 2.49, 2.08, 2.09, 2.67, rep 6 NOT_RUN (killed by job deadline) | +| A/A (`cteq/`) | **5.27** (d29), 2.34, 2.55, 2.40, 1.36, 3.33 | core 2: 2.43, 2.59, 1.72, 1.82, 2.29, 1.52 | +| v3 (`cteq2/`) | 3.30, 1.51, 3.15, 1.98, 1.17, 3.17 | core 9 (X925): 2.04, 2.09, 2.58, 1.35, 1.97, 1.44 | + +- On core 17, 5 of 15 v3 cteq runs flagged (three above 20, of both signs); the A/A control flagged + 1 of 6 at 5.27. All five flagged v3 runs started between 21:26:57Z and 21:37:15Z; none of the 15 + later v3 runs on X925 (core 17 reps 4-6 in `cteq/`, cores 17 and 9 in `cteq2/`) flagged. + Full-data |t| stayed at most 2.58 in every run. +- In the flagged runs the cteq times are bimodal: about 36.5 us and a mode about 5 % slower at about + 38.5 us. The class difference sits in the slower mode only, and its direction changes between runs + (class 1 slower in `cteq/cpu17-v3-r1`, class 0 slower in `cteq/cpu17-v3-r3`); the crop threshold + falls inside that mode. (Exploratory per-tenth percentiles, counted in Python, not a reported statistic.) +- The machine code of `tls_cteq` in v3.bin (`tls_cteq.dis`, objdump of the static binary) branches + only on the loop index and bounds; the secret bytes reach `ldrb`, `eor`, `orr`, `add`, `lsr` and + no branch or address. So no secret-dependent branch or memory address was found. +- Verdict: LEAK SUSPECT on X925, not root-caused. The signal is intermittent, of inconsistent sign, + and confined to a slower timing mode, which fits a host effect (frequency or contention state) more + than a fixed data-dependent latency, but that is an inference: it was not reproduced in isolation, + so a data-dependent power/frequency effect (Hertzbleed class), which DIT does not cover, is not + ruled out. + +## Verdict + +- x25519, chacha20-poly1305 seal, aes-128-gcm seal, hkdf-sha256: no flag on X925 core 17 or A725 + core 2: max |t| 3.52 over their 24 runs (13 tests each). The screen passed at these N; not a proof. +- tls_cteq: no flag on A725 (core 2) or on X925 core 9; leak suspect on X925 core 17, intermittent, + not root-caused (above). +- v1 chacha flag: root-caused to the driver's asymmetric getrandom (section 1). + +## NOT_RUN + +- ec (P-256 ECDSA verify), rsa (RSA-PSS/PKCS#1 verify), x509: verification of public data only, no + secret input, so no constant-time requirement (README table); not screened. +- ML-KEM (`om/tls/mlkem.om`): not composed into `om/tls/build.sh` at the time of this run. +- tls_cteq core 2 v3 rep 6: killed at 85039/100000 lines by the job deadline; deleted. +- No quiet-host run: no exclusive window was taken; the resident model and other agents were running. diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/SHA256SUMS b/evidence/om-tls-review-2026-10-26/timing-v3/SHA256SUMS new file mode 100644 index 000000000..d7658a252 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/SHA256SUMS @@ -0,0 +1,22 @@ +a8c37e25bbfe9e72bef44db69950a33bc3097190de5ea58e102153f6e06a014c ./aa.om +1e3ae97ba5c94816fe51c9c2f89e294b587e7fc28439fe00c074525e2b99a247 ./cteq2/load.log +7f34d0244bac65653ecf0ed3e4d77481a7d5a50593b031e2d5ede463c562543c ./cteq2/sums.json +d0b6a84d698fcc62eb360f8bebf67acd24fd0482c41ae64dba1450622566efb7 ./cteq2/wolfram-out.txt +bb87c96bf71d026523599e23b3bae2f72fd3c952e08c088e5f3805ecce783a73 ./cteq2/wolfram-query.wl +4a078df0e288f8b61d174c431f342f4482bda4cfb1809cd45b8a93ea7ba76e37 ./cteq/load.log +19e1d118823e8c2122e652dabf2102029764368a7a6e8795093e8f1ca09f4b32 ./cteq/sums.json +133b47a2e954ad6093e65acaa2fc98a1e382a228cca83356cd2f2092eb201598 ./cteq/wolfram-out.txt +3956ca17439fdf1ba68133370cf142abbb19f0f3925f4107e71ab6fa477189a1 ./cteq/wolfram-query.wl +bdf8aabbae835ffee3c3d8975135d0157f608a89052898d6772461d4f26d9869 ./RAW-SHA256SUMS +ff000c1017238cf92e8c4de4e510df9c1779e0fa6dd48d42b771ab223cd0a705 ./rc/load.log +6a5eeb93553f02eabde77b94d93b7d28cd01709a080ce9d0b9094cd2fb79b078 ./rc/sums.json +3861c62a69613bd0fd104eed0e68b0e24b27d46ce261172aaf3f94c153d09054 ./rc/wolfram-out.txt +a9b23e2f6a60e4e3f7a40e5cbcbc8689cd4e864546cbbb08e3830b1c146733b5 ./README.md +cd588a2241dc347fec9bcaf6918de78b650c6f1ccd0fc3b813f714b0fc5371f9 ./sums.py +8f8be4a0cd229b887c928ca99c7409e2599a787eb1ade497e35a163085cc90a3 ./tls_cteq.dis +d9e4af2471c3625fce6c3f173c7168307ff91054f666cddda3a092df9267375f ./v1r.om +501760d72984eba9501a83a6c6311224ac90562377333ca731f148e2298d238c ./v2.om +878d8479a50cc723d5949db04df60e6d6b8eb0de1ac95246b8e7f08be1dc5ebf ./v3/load.log +42367a83ceb8095dc7a49c1dc85048048b0d8a203a37791300545e64183b446b ./v3/sums.json +3c57cc75bad5e73ef525df8e78be31c12e8d370de0ba635f9c638d88c481230e ./v3/wolfram-out.txt +14f26fe2b53947c74f856261008d6dde0281da4a0da8031d1f2b1977223cdc8e ./v3/wolfram-query.wl diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/aa.om b/evidence/om-tls-review-2026-10-26/timing-v3/aa.om new file mode 100644 index 000000000..bccb693a7 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/aa.om @@ -0,0 +1,292 @@ +note A/A CONTROL BUILD (both classes get the fixed pattern; class labels only): dudect-style timing driver (Reparaz, Balasch, Verbauwhede 2016): usage: timing WHAT N +note WHAT: x25519 (scalar fixed vs random, base point fixed), chacha / aesgcm (key and nonce fixed +note vs random, 1024-byte plaintext fixed), cteq (32-byte compare: equal vs random second input, +note 2000 compares per measurement; exit 3 unless class 0 compares equal and class 1 does not), +note hkdf (HKDF-SHA256 extract with a fixed 32-byte salt and a fixed vs random 32-byte IKM, then +note expand of the PRK to 32 bytes). +note Classes are balanced and randomly interleaved: exactly N/2 fixed (class 0) and N - N/2 random +note (class 1) measurements, the order a uniformly random arrangement drawn sample by sample +note (selection sampling: class 1 with probability ones-left / total-left, from 8 getrandom bytes). +note Each measurement prepares its input, times one operation with monons and prints +note "CLASS NANOSECONDS". Statistics (Welch's t-test) are computed outside the driver. +note Exit 0; 2 on a usage error; 3 when an operation reports an error. +text tusage "usage: timing x25519|chacha|aesgcm|cteq|hkdf N\n" +text tx "x25519" +text tc "chacha" +text ta "aesgcm" +text tq "cteq" +text th "hkdf" + +fn tm_arg i ulong a edit uchar * to ulong +n = argread i a 0 len a +if lt n 0 +ret 0 +end +ret ulong n +end + +fn tm_num a view uchar * n ulong to ulong +v = ulong 0 +for i ulong n +d = ulong get a i +if or lt d 48 gt d 57 +ret 0 +end +v = add mul v 10 sub d 48 +if gt v 99999999 +ret 0 +end +end +ret v +end + +fn tm_is a view uchar * n ulong t view uchar * to ulong +if ne n len t +ret 0 +end +for i ulong n +if ne get a i get t i +ret 0 +end +end +ret 1 +end + +note fixed class: a constant pattern; random class: getrandom bytes. Both classes run the same +note instructions: getrandom fills b, then every byte is rewritten as (b and mk) or (pattern and nm) +note with mk all ones for class 1 and nm all ones for class 0, so the code path and the memory +note traffic before the timed window do not depend on the class. +fn tm_sel x ulong i ulong mk ulong nm ulong to ulong +p = add 17 rem mul i 7 211 +ret and or and x mk and p nm 255 +end + +fn tm_fill b edit uchar * n ulong cls ulong to ulong +r = random b 0 n 0 +if ne r long n +ret 1 +end +mk = ulong 0 +nm = sub ulong 0 1 +for i ulong n +x = ulong get b i +put b i uchar tm_sel x i mk nm +end +ret 0 +end + +note st[0] fixed measurements left, st[1] random measurements left; tm_pick draws the next class. +fn tm_init st edit ulong * n ulong to void +put st 0 shr n 1 +put st 1 sub n shr n 1 +end + +fn tm_pick c edit uchar * st edit ulong * to ulong +r = random c 0 8 0 +v = ulong 0 +for i ulong 8 +v = or shl v 8 ulong get c i +end +z = get st 0 +w = get st 1 +t = add z w +if eq t 0 +ret 0 +end +cls = ulong 0 +if lt rem v t w +cls = 1 +end +put st 1 sub w cls +put st 0 sub z sub 1 cls +ret cls +end + +fn tm_line cls ulong ns ulong o edit uchar * to ulong +put o 0 add 48 uchar cls +put o 1 32 +k = ulong 2 +d = new uchar 24 0 +m = ulong 0 +v = ns +while true bound 24 +put d m uchar add 48 rem v 10 +v = div v 10 +m = add m 1 +if eq v 0 +break +end +end +for i ulong m +put o k get d sub sub m 1 i +k = add k 1 +end +put o k 10 +ret add k 1 +end + +fn tm_emit cls ulong t0 long t1 long o edit uchar * to void +m = tm_line cls ulong sub t1 t0 o +w = write 1 o 0 m +end + +fn tm_x25519 n ulong o edit uchar * to ulong +k = new uchar 32 0 +u = new uchar 32 0 +s = new uchar 32 0 +c = new uchar 8 0 +st = new ulong 2 0 +tm_init st n +put u 0 9 +for i ulong n +cls = tm_pick c st +if ne tm_fill k 32 cls 0 +ret 3 +end +t0 = monons +e = x25519_scalarmult s k u +t1 = monons +if ne e 0 +ret 3 +end +tm_emit cls t0 t1 o +end +ret 0 +end + +fn tm_pt buf edit uchar * to void +for j ulong len buf +put buf j uchar rem j 251 +end +end + +note which: 0 chacha, 1 aesgcm +fn tm_one kn view uchar * buf edit uchar * which ulong to ulong +ad = new uchar 5 0 +if eq which 0 +ret aead_chacha_seal kn ad buf +end +ret aead_aes128gcm_seal part kn 0 28 ad buf +end + +fn tm_aead n ulong o edit uchar * which ulong to ulong +kn = new uchar 44 0 +buf = new uchar 1040 0 +c = new uchar 8 0 +st = new ulong 2 0 +tm_init st n +for i ulong n +cls = tm_pick c st +if ne tm_fill kn 44 cls 0 +ret 3 +end +tm_pt buf +t0 = monons +e = tm_one kn buf which +t1 = monons +if ne e 0 +ret 3 +end +tm_emit cls t0 t1 o +end +ret 0 +end + +fn tm_cteq n ulong o edit uchar * to ulong +a = new uchar 32 0 +b = new uchar 32 0 +c = new uchar 8 0 +st = new ulong 2 0 +tm_init st n +for i ulong 32 +put a i uchar add 17 rem mul i 7 211 +end +for i ulong n +cls = tm_pick c st +if ne tm_fill b 32 cls 0 +ret 3 +end +acc = ulong 0 +t0 = monons +for j ulong 2000 +acc = add acc tls_cteq a b 0 32 +end +t1 = monons +if and eq cls 0 ne acc 0 +ret 3 +end +note class 1 must differ from the pattern (equal by chance with probability 2^-256): this checks +note that tm_fill really gives class 1 random bytes. + +tm_emit cls t0 t1 o +end +ret 0 +end + +note HKDF-SHA256: si = salt (32 zero bytes) || IKM (class bytes); PRK = extract, OKM = expand(PRK). +fn tm_hk si view uchar * pk edit uchar * ok edit uchar * to ulong +e = hkdf_extract 256 si 32 pk +if ne e 32 +ret 1 +end +ret hkdf_expand 256 pk 32 ok +end + +fn tm_hkdf n ulong o edit uchar * to ulong +k = new uchar 32 0 +si = new uchar 64 0 +pk = new uchar 32 0 +ok = new uchar 32 0 +c = new uchar 8 0 +st = new ulong 2 0 +tm_init st n +for i ulong n +cls = tm_pick c st +if ne tm_fill k 32 cls 0 +ret 3 +end +for j ulong 32 +put si add 32 j get k j +end +t0 = monons +e = tm_hk si pk ok +t1 = monons +if ne e 0 +ret 3 +end +tm_emit cls t0 t1 o +end +ret 0 +end + +fn main to int +a = new uchar 64 0 +o = new uchar 64 0 +if ne argcnt 3 +w = write 2 tusage 0 len tusage +ret 2 +end +wl = tm_arg 1 a +n = tm_num part a 32 32 tm_arg 2 part a 32 32 +if or eq n 0 eq wl 0 +w = write 2 tusage 0 len tusage +ret 2 +end +if eq tm_is a wl tx 1 +ret int tm_x25519 n o +end +if eq tm_is a wl tc 1 +ret int tm_aead n o 0 +end +if eq tm_is a wl ta 1 +ret int tm_aead n o 1 +end +if eq tm_is a wl tq 1 +ret int tm_cteq n o +end +if eq tm_is a wl th 1 +ret int tm_hkdf n o +end +w = write 2 tusage 0 len tusage +ret 2 +end diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/cteq/load.log b/evidence/om-tls-review-2026-10-26/timing-v3/cteq/load.log new file mode 100644 index 000000000..2b87c83a5 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/cteq/load.log @@ -0,0 +1,48 @@ +2026-10-26T21:33:30Z cpu17 v3 cteq N=100000 rep1 uptime: 16:33:30 up 5 days 22:13, 6 users, load average: 16.72, 20.26, 23.96 +rc=0 +2026-10-26T21:33:38Z cpu17 aa cteq N=100000 rep1 uptime: 16:33:38 up 5 days 22:14, 6 users, load average: 16.90, 20.24, 23.93 +rc=0 +2026-10-26T21:33:46Z cpu2 v3 cteq N=100000 rep1 uptime: 16:33:46 up 5 days 22:14, 6 users, load average: 17.00, 20.15, 23.86 +rc=0 +2026-10-26T21:34:19Z cpu2 aa cteq N=100000 rep1 uptime: 16:34:19 up 5 days 22:14, 6 users, load average: 16.32, 19.67, 23.59 +rc=0 +2026-10-26T21:34:51Z cpu17 aa cteq N=100000 rep2 uptime: 16:34:51 up 5 days 22:15, 6 users, load average: 17.19, 19.48, 23.37 +rc=0 +2026-10-26T21:35:00Z cpu17 v3 cteq N=100000 rep2 uptime: 16:35:00 up 5 days 22:15, 6 users, load average: 17.48, 19.47, 23.33 +rc=0 +2026-10-26T21:35:07Z cpu2 aa cteq N=100000 rep2 uptime: 16:35:07 up 5 days 22:15, 6 users, load average: 17.68, 19.48, 23.31 +rc=0 +2026-10-26T21:36:07Z cpu2 v3 cteq N=100000 rep2 uptime: 16:36:07 up 5 days 22:16, 6 users, load average: 19.54, 19.71, 23.15 +rc=0 +2026-10-26T21:37:15Z cpu17 v3 cteq N=100000 rep3 uptime: 16:37:15 up 5 days 22:17, 6 users, load average: 24.90, 21.22, 23.42 +rc=0 +2026-10-26T21:37:22Z cpu17 aa cteq N=100000 rep3 uptime: 16:37:22 up 5 days 22:17, 6 users, load average: 24.50, 21.20, 23.40 +rc=0 +2026-10-26T21:37:30Z cpu2 v3 cteq N=100000 rep3 uptime: 16:37:30 up 5 days 22:17, 6 users, load average: 24.59, 21.32, 23.42 +rc=0 +2026-10-26T21:38:30Z cpu2 aa cteq N=100000 rep3 uptime: 16:38:30 up 5 days 22:18, 6 users, load average: 23.10, 21.56, 23.37 +rc=0 +2026-10-26T21:39:22Z cpu17 aa cteq N=100000 rep4 uptime: 16:39:22 up 5 days 22:19, 6 users, load average: 24.06, 22.16, 23.49 +rc=0 +2026-10-26T21:39:30Z cpu17 v3 cteq N=100000 rep4 uptime: 16:39:30 up 5 days 22:19, 6 users, load average: 24.27, 22.27, 23.51 +rc=0 +2026-10-26T21:39:38Z cpu2 aa cteq N=100000 rep4 uptime: 16:39:38 up 5 days 22:20, 6 users, load average: 24.33, 22.32, 23.52 +rc=0 +2026-10-26T21:40:38Z cpu2 v3 cteq N=100000 rep4 uptime: 16:40:38 up 5 days 22:21, 6 users, load average: 27.87, 23.75, 23.94 +rc=0 +2026-10-26T21:43:29Z cpu17 v3 cteq N=100000 rep5 uptime: 16:43:29 up 5 days 22:23, 6 users, load average: 24.91, 25.10, 24.49 +rc=0 +2026-10-26T21:43:36Z cpu17 aa cteq N=100000 rep5 uptime: 16:43:36 up 5 days 22:24, 6 users, load average: 25.39, 25.19, 24.53 +rc=0 +2026-10-26T21:43:44Z cpu2 v3 cteq N=100000 rep5 uptime: 16:43:44 up 5 days 22:24, 6 users, load average: 25.36, 25.19, 24.53 +rc=0 +2026-10-26T21:45:34Z cpu2 aa cteq N=100000 rep5 uptime: 16:45:34 up 5 days 22:25, 6 users, load average: 26.87, 25.54, 24.72 +rc=0 +2026-10-26T21:46:52Z cpu17 aa cteq N=100000 rep6 uptime: 16:46:52 up 5 days 22:27, 6 users, load average: 24.40, 25.09, 24.63 +rc=0 +2026-10-26T21:47:00Z cpu17 v3 cteq N=100000 rep6 uptime: 16:47:00 up 5 days 22:27, 6 users, load average: 23.93, 24.97, 24.60 +rc=0 +2026-10-26T21:47:07Z cpu2 aa cteq N=100000 rep6 uptime: 16:47:07 up 5 days 22:27, 6 users, load average: 24.10, 24.99, 24.61 +rc=0 +2026-10-26T21:48:49Z cpu2 v3 cteq N=100000 rep6 uptime: 16:48:49 up 5 days 22:29, 6 users, load average: 24.15, 24.97, 24.66 +NOTE cpu2 v3 rep6 killed by the 1200 s job deadline at 85039/100000 lines; file deleted, not analysed diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/cteq/sums.json b/evidence/om-tls-review-2026-10-26/timing-v3/cteq/sums.json new file mode 100644 index 000000000..7ce0fdf44 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/cteq/sums.json @@ -0,0 +1,4119 @@ +{ + "cpu17-aa-r1": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 6605, + 241200244, + 8808109762180 + ], + [ + 6723, + 245506760, + 8965279944712 + ] + ], + "d19": [ + [ + 37558, + 1373365347, + 50219660944387 + ], + [ + 37455, + 1369605189, + 50082389466837 + ] + ], + "d29": [ + [ + 44260, + 1684956055, + 64766059827207 + ], + [ + 43446, + 1648279488, + 63100830484672 + ] + ], + "d39": [ + [ + 47197, + 1826212566, + 71559864984374 + ], + [ + 46919, + 1815315739, + 71134551930715 + ] + ], + "d49": [ + [ + 48479, + 1887993797, + 74537184215669 + ], + [ + 48426, + 1887943182, + 74634717448286 + ] + ], + "d59": [ + [ + 49175, + 1921708198, + 76170345740406 + ], + [ + 49264, + 1928524649, + 76599972450953 + ] + ], + "d69": [ + [ + 49601, + 2847080012, + 2850570703550396 + ], + [ + 49621, + 2630913236, + 2182070038423806 + ] + ], + "d79": [ + [ + 49803, + 3461036716, + 4716624356707140 + ], + [ + 49807, + 3196245048, + 3900349934883826 + ] + ], + "d89": [ + [ + 49907, + 3777928850, + 5682207730671630 + ], + [ + 49898, + 3473507765, + 4745126384766033 + ] + ], + "d9": [ + [ + 28140, + 1028309334, + 37577126038518 + ], + [ + 28036, + 1024500618, + 37437643081114 + ] + ], + "d99": [ + [ + 49949, + 3905976339, + 6072592481641597 + ], + [ + 49954, + 3644237754, + 5265639407822564 + ] + ], + "full": [ + [ + 50000, + 4062509872, + 6553999784491044 + ], + [ + 50000, + 3784548099, + 5693617701459899 + ] + ], + "p90": [ + [ + 45434, + 1741394204, + 67479232526732 + ], + [ + 44826, + 1714620740, + 66290078192996 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 37888, + "d29": 48049, + "d39": 48129, + "d49": 48272, + "d59": 49040, + "d69": 3038988, + "d79": 3040300, + "d89": 3048411, + "d9": 36561, + "d99": 3049131, + "p90": 48081 + } + }, + "cpu17-aa-r2": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 4584, + 167398537, + 6113061380777 + ], + [ + 4386, + 160165435, + 5848830253259 + ] + ], + "d19": [ + [ + 37635, + 1384923788, + 50977223601500 + ], + [ + 37372, + 1375591730, + 50646867636162 + ] + ], + "d29": [ + [ + 43762, + 1699084255, + 67281965912895 + ], + [ + 43746, + 1702292721, + 67597870664385 + ] + ], + "d39": [ + [ + 46962, + 1875278942, + 76983490750046 + ], + [ + 46943, + 1878337267, + 77291957554451 + ] + ], + "d49": [ + [ + 48501, + 1960461701, + 81698308217925 + ], + [ + 48467, + 1962690867, + 81960941524627 + ] + ], + "d59": [ + [ + 49223, + 2000532710, + 83922263263558 + ], + [ + 49218, + 2004370196, + 84274092872948 + ] + ], + "d69": [ + [ + 49610, + 2832627780, + 2544809136418852 + ], + [ + 49614, + 2917530981, + 2797108995017859 + ] + ], + "d79": [ + [ + 49800, + 3410516968, + 4302473288780460 + ], + [ + 49810, + 3513712160, + 4610539363790982 + ] + ], + "d89": [ + [ + 49901, + 3719133704, + 5245486069277062 + ], + [ + 49904, + 3800936894, + 5488178180299452 + ] + ], + "d9": [ + [ + 25787, + 942467183, + 34445443234991 + ], + [ + 25513, + 932458516, + 34079846917972 + ] + ], + "d99": [ + [ + 49953, + 3878065078, + 5731239564474760 + ], + [ + 49950, + 3941531628, + 5917892947784882 + ] + ], + "full": [ + [ + 50000, + 4030513133, + 6232338042853371 + ], + [ + 50000, + 4101125577, + 6434996578099853 + ] + ], + "p90": [ + [ + 45068, + 1770761323, + 71215813062555 + ], + [ + 45022, + 1772324234, + 71441456050522 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 38593, + "d29": 54817, + "d39": 55297, + "d49": 55393, + "d59": 56032, + "d69": 3039413, + "d79": 3054181, + "d89": 3056102, + "d9": 36577, + "d99": 3056741, + "p90": 54945 + } + }, + "cpu17-aa-r3": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 6139, + 224186725, + 8186951084069 + ], + [ + 6049, + 220898500, + 8066813062468 + ] + ], + "d19": [ + [ + 38043, + 1390528292, + 50825897052884 + ], + [ + 38146, + 1394298789, + 50963922522965 + ] + ], + "d29": [ + [ + 43739, + 1601462307, + 58640680794627 + ], + [ + 43766, + 1602367858, + 58670611909762 + ] + ], + "d39": [ + [ + 46844, + 1741096165, + 64923374574389 + ], + [ + 47122, + 1753114079, + 65446349484783 + ] + ], + "d49": [ + [ + 48433, + 1813236103, + 68198676877271 + ], + [ + 48444, + 1813016696, + 68160784862488 + ] + ], + "d59": [ + [ + 49226, + 1856284099, + 70539823770179 + ], + [ + 49239, + 1856306704, + 70521495789072 + ] + ], + "d69": [ + [ + 49595, + 2597623979, + 2275210844314037 + ], + [ + 49631, + 2585541330, + 2235147819445412 + ] + ], + "d79": [ + [ + 49799, + 3217690026, + 4159926057570458 + ], + [ + 49813, + 3138736235, + 3916601685696333 + ] + ], + "d89": [ + [ + 49898, + 3518663207, + 5074924607904153 + ], + [ + 49907, + 3424513928, + 4785419678454042 + ] + ], + "d9": [ + [ + 25704, + 939240254, + 34320433607710 + ], + [ + 25693, + 938840601, + 34305913883017 + ] + ], + "d99": [ + [ + 49945, + 3661865715, + 5511242891057371 + ], + [ + 49959, + 3582927028, + 5268010356898608 + ] + ], + "full": [ + [ + 50000, + 3852905283, + 6243079891237859 + ], + [ + 50000, + 3721301079, + 5770881007148687 + ] + ], + "p90": [ + [ + 44992, + 1657413902, + 61142207337326 + ], + [ + 45087, + 1661164484, + 61291691643764 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 36593, + "d29": 39200, + "d39": 45201, + "d49": 46944, + "d59": 55297, + "d69": 3039299, + "d79": 3039811, + "d89": 3042035, + "d9": 36560, + "d99": 3047683, + "p90": 45153 + } + }, + "cpu17-aa-r4": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 4752, + 173536036, + 6337280891876 + ], + [ + 4827, + 176275708, + 6437358296780 + ] + ], + "d19": [ + [ + 37410, + 1368260823, + 50044033761287 + ], + [ + 37600, + 1375195490, + 50297115117074 + ] + ], + "d29": [ + [ + 43646, + 1613383821, + 59700321269309 + ], + [ + 43898, + 1622737715, + 60047850089299 + ] + ], + "d39": [ + [ + 46834, + 1749936512, + 65549383347296 + ], + [ + 47046, + 1757563467, + 65822357151515 + ] + ], + "d49": [ + [ + 48439, + 1819150136, + 68534135471048 + ], + [ + 48549, + 1822378885, + 68617460067045 + ] + ], + "d59": [ + [ + 49232, + 1853496936, + 70021813612616 + ], + [ + 49212, + 1851090805, + 69860886770053 + ] + ], + "d69": [ + [ + 49619, + 2551594242, + 2147925614643880 + ], + [ + 49605, + 2611214896, + 2350994616181262 + ] + ], + "d79": [ + [ + 49817, + 3153343169, + 3976722447401257 + ], + [ + 49793, + 3182568960, + 4087406679850838 + ] + ], + "d89": [ + [ + 49911, + 3439138043, + 4845644968317931 + ], + [ + 49894, + 3489658332, + 5021108584308032 + ] + ], + "d9": [ + [ + 26955, + 985137708, + 36004323905036 + ], + [ + 26942, + 984664490, + 35987098473754 + ] + ], + "d99": [ + [ + 49954, + 3570018784, + 5244011677100452 + ], + [ + 49949, + 3657067377, + 5530668376506673 + ] + ], + "full": [ + [ + 50000, + 3718147441, + 5745554619562879 + ], + [ + 50000, + 3819038527, + 6054187388650089 + ] + ], + "p90": [ + [ + 44916, + 1667624593, + 62016906300081 + ], + [ + 45183, + 1677618393, + 62391733766073 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 37329, + "d29": 42640, + "d39": 43073, + "d49": 43168, + "d59": 43920, + "d69": 3038833, + "d79": 3039570, + "d89": 3043249, + "d9": 36576, + "d99": 3044257, + "p90": 42753 + } + }, + "cpu17-aa-r5": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 6559, + 239522577, + 8746923569905 + ], + [ + 6588, + 240579681, + 8785456869729 + ] + ], + "d19": [ + [ + 38364, + 1402237066, + 51252983893754 + ], + [ + 38390, + 1403187635, + 51287737236163 + ] + ], + "d29": [ + [ + 43924, + 1605785354, + 58704766208762 + ], + [ + 43784, + 1600657780, + 58516966383460 + ] + ], + "d39": [ + [ + 46891, + 1715013661, + 62726139803869 + ], + [ + 46864, + 1714051723, + 62691904806411 + ] + ], + "d49": [ + [ + 48445, + 1774103783, + 64973029220039 + ], + [ + 48460, + 1774727401, + 64998649041481 + ] + ], + "d59": [ + [ + 49204, + 1803173594, + 66086421163658 + ], + [ + 49236, + 1804444601, + 66136693910073 + ] + ], + "d69": [ + [ + 49608, + 2478113068, + 2068145454177204 + ], + [ + 49613, + 2410997805, + 1864861072675931 + ] + ], + "d79": [ + [ + 49811, + 3095051845, + 3943088584062763 + ], + [ + 49800, + 2979311285, + 3592027983358835 + ] + ], + "d89": [ + [ + 49902, + 3371660330, + 4783882588413110 + ], + [ + 49904, + 3295432680, + 4552919683293248 + ] + ], + "d9": [ + [ + 26495, + 968140312, + 35376329703080 + ], + [ + 26525, + 969236718, + 35416400089022 + ] + ], + "d99": [ + [ + 49951, + 3520671276, + 5237030817795300 + ], + [ + 49953, + 3444446982, + 5006088322519922 + ] + ], + "full": [ + [ + 50000, + 3673879011, + 5719879496740773 + ], + [ + 50000, + 3587527077, + 5441661219087107 + ] + ], + "p90": [ + [ + 45295, + 1656024303, + 60545723232671 + ], + [ + 45148, + 1650640243, + 60348525539043 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 36592, + "d29": 36625, + "d39": 37648, + "d49": 38128, + "d59": 38608, + "d69": 3038864, + "d79": 3039376, + "d89": 3040239, + "d9": 36560, + "d99": 3042575, + "p90": 36656 + } + }, + "cpu17-aa-r6": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 4029, + 147133630, + 5373121745822 + ], + [ + 3997, + 145964750, + 5330425468222 + ] + ], + "d19": [ + [ + 37518, + 1389139938, + 51456177951970 + ], + [ + 37486, + 1387264268, + 51360369192428 + ] + ], + "d29": [ + [ + 43932, + 1680075037, + 64656294069581 + ], + [ + 43754, + 1671584973, + 64260606753069 + ] + ], + "d39": [ + [ + 47012, + 1822189912, + 71214000690552 + ], + [ + 46920, + 1817647920, + 70999573043824 + ] + ], + "d49": [ + [ + 48511, + 1891959527, + 74461367683399 + ], + [ + 48493, + 1890860949, + 74407171229861 + ] + ], + "d59": [ + [ + 49229, + 1925507534, + 76028887702030 + ], + [ + 49210, + 1924368782, + 75973120972526 + ] + ], + "d69": [ + [ + 49615, + 2649988401, + 2170236166667521 + ], + [ + 49604, + 2646741557, + 2158431012838749 + ] + ], + "d79": [ + [ + 49815, + 3258128611, + 4019408901032315 + ], + [ + 49795, + 3227499074, + 3924291302704184 + ] + ], + "d89": [ + [ + 49908, + 3541489855, + 4882780907765469 + ], + [ + 49897, + 3538276244, + 4871178104103222 + ] + ], + "d9": [ + [ + 25188, + 920729197, + 33656607375853 + ], + [ + 25406, + 928701774, + 33948176189534 + ] + ], + "d99": [ + [ + 49955, + 3684733602, + 5319350506263606 + ], + [ + 49948, + 3693710861, + 5344902030713893 + ] + ], + "full": [ + [ + 50000, + 3838224623, + 5860211432003731 + ], + [ + 50000, + 3867802550, + 5947432676254220 + ] + ], + "p90": [ + [ + 45067, + 1731971755, + 67029254910875 + ], + [ + 44946, + 1726083930, + 66752369693994 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 39824, + "d29": 45585, + "d39": 46465, + "d49": 46609, + "d59": 47217, + "d69": 3039646, + "d79": 3043998, + "d89": 3047423, + "d9": 36609, + "d99": 3048062, + "p90": 46209 + } + }, + "cpu17-v3-r1": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 7238, + 264321268, + 9652630666084 + ], + [ + 7263, + 265232510, + 9685845051326 + ] + ], + "d19": [ + [ + 37955, + 1387238963, + 50703006124579 + ], + [ + 37548, + 1372359126, + 50159002411430 + ] + ], + "d29": [ + [ + 45140, + 1659872869, + 61051124711413 + ], + [ + 42442, + 1556639275, + 57100215500123 + ] + ], + "d39": [ + [ + 47429, + 1748083150, + 64450452308622 + ], + [ + 46345, + 1707129198, + 62902733885310 + ] + ], + "d49": [ + [ + 48416, + 1786222144, + 65924196905744 + ], + [ + 48461, + 1788869982, + 66060373284542 + ] + ], + "d59": [ + [ + 49197, + 1820312096, + 67424368287584 + ], + [ + 49242, + 1822817594, + 67548054229418 + ] + ], + "d69": [ + [ + 49593, + 2534410282, + 2205018388501008 + ], + [ + 49635, + 2528906040, + 2168335254029924 + ] + ], + "d79": [ + [ + 49795, + 3148305244, + 4070696734105526 + ], + [ + 49815, + 3075942445, + 3830828751528295 + ] + ], + "d89": [ + [ + 49905, + 3482679332, + 5087115201554134 + ], + [ + 49900, + 3334327784, + 4616275619297360 + ] + ], + "d9": [ + [ + 27765, + 1014549527, + 37072247737175 + ], + [ + 27357, + 999634043, + 36526974171803 + ] + ], + "d99": [ + [ + 49946, + 3607338260, + 5466135893483938 + ], + [ + 49957, + 3507636670, + 5143222462089110 + ] + ], + "full": [ + [ + 50000, + 3772732500, + 5973694429943892 + ], + [ + 50000, + 3640565773, + 5556050578675751 + ] + ], + "p90": [ + [ + 46495, + 1712053823, + 63060610195295 + ], + [ + 43771, + 1607837958, + 59072605173862 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 36593, + "d29": 38480, + "d39": 38592, + "d49": 38848, + "d59": 47520, + "d69": 3038795, + "d79": 3039452, + "d89": 3040204, + "d9": 36560, + "d99": 3040731, + "p90": 38545 + } + }, + "cpu17-v3-r2": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 3841, + 140268691, + 5122444026643 + ], + [ + 3994, + 145856750, + 5326538174078 + ] + ], + "d19": [ + [ + 37942, + 1387308077, + 50725445958397 + ], + [ + 37938, + 1387154185, + 50719539972633 + ] + ], + "d29": [ + [ + 43796, + 1606835964, + 58959795415196 + ], + [ + 43724, + 1604127930, + 58857882773050 + ] + ], + "d39": [ + [ + 46916, + 1726921215, + 63581821101455 + ], + [ + 46837, + 1723736448, + 63453589969952 + ] + ], + "d49": [ + [ + 48502, + 1804013985, + 67360458791937 + ], + [ + 48412, + 1799992952, + 67177678649400 + ] + ], + "d59": [ + [ + 49257, + 1844906410, + 69575290538618 + ], + [ + 49195, + 1842396644, + 69474078956468 + ] + ], + "d69": [ + [ + 49656, + 2551844662, + 2108806324145764 + ], + [ + 49574, + 2484533338, + 1928972814437688 + ] + ], + "d79": [ + [ + 49819, + 3047280156, + 3614673382672542 + ], + [ + 49793, + 3150178579, + 3952185554661023 + ] + ], + "d89": [ + [ + 49908, + 3317890387, + 4437481227329625 + ], + [ + 49898, + 3469443482, + 4922948218974218 + ] + ], + "d9": [ + [ + 26866, + 981944188, + 35889772279372 + ], + [ + 26951, + 985045546, + 36002929816586 + ] + ], + "d99": [ + [ + 49951, + 3448762793, + 4835797335512869 + ], + [ + 49952, + 3633764341, + 5422973222372373 + ] + ], + "full": [ + [ + 50000, + 3604412046, + 5341047991350574 + ], + [ + 50000, + 3784194293, + 5897613703207241 + ] + ], + "p90": [ + [ + 44853, + 1647348286, + 60512545036366 + ], + [ + 45391, + 1668015469, + 61306376839821 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 36640, + "d29": 38176, + "d39": 39168, + "d49": 53953, + "d59": 54369, + "d69": 3039077, + "d79": 3040021, + "d89": 3041381, + "d9": 36576, + "d99": 3047445, + "p90": 38432 + } + }, + "cpu17-v3-r3": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 4750, + 173466432, + 6334864376528 + ], + [ + 4786, + 174778854, + 6382710142422 + ] + ], + "d19": [ + [ + 37807, + 1382149120, + 50528660185856 + ], + [ + 37594, + 1374348142, + 50242955571646 + ] + ], + "d29": [ + [ + 43422, + 1590344787, + 58250636910499 + ], + [ + 44174, + 1619683858, + 59394204629554 + ] + ], + "d39": [ + [ + 46467, + 1707600850, + 62765907244114 + ], + [ + 47487, + 1747166173, + 64299653745933 + ] + ], + "d49": [ + [ + 48469, + 1785136369, + 65768863087601 + ], + [ + 48407, + 1782932073, + 65690133064617 + ] + ], + "d59": [ + [ + 49214, + 1817840359, + 67207303487991 + ], + [ + 49232, + 1819194235, + 67286955932955 + ] + ], + "d69": [ + [ + 49612, + 2491716043, + 2065089529743083 + ], + [ + 49625, + 2606767794, + 2421876807540780 + ] + ], + "d79": [ + [ + 49801, + 3066203855, + 3811313057316969 + ], + [ + 49815, + 3184291273, + 4177315593571055 + ] + ], + "d89": [ + [ + 49903, + 3376294431, + 4754020563460889 + ], + [ + 49902, + 3448780140, + 4981388708365558 + ] + ], + "d9": [ + [ + 26139, + 955248749, + 34909535390925 + ], + [ + 26203, + 957583541, + 34994711110325 + ] + ], + "d99": [ + [ + 49947, + 3510096162, + 5160904730290976 + ], + [ + 49959, + 3622110647, + 5508467038402231 + ] + ], + "full": [ + [ + 50000, + 3691600844, + 5866836082074558 + ], + [ + 50000, + 3766453829, + 6089902544796715 + ] + ], + "p90": [ + [ + 44293, + 1623841366, + 59538835495174 + ], + [ + 46096, + 1693595599, + 62236528386175 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 36609, + "d29": 38432, + "d39": 38561, + "d49": 39457, + "d59": 45216, + "d69": 3039395, + "d79": 3039843, + "d89": 3040498, + "d9": 36561, + "d99": 3041299, + "p90": 38480 + } + }, + "cpu17-v3-r4": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 4465, + 163056556, + 5954634484396 + ], + [ + 4550, + 166161512, + 6068055089160 + ] + ], + "d19": [ + [ + 37480, + 1370705940, + 50129114499460 + ], + [ + 37533, + 1372613879, + 50197773642871 + ] + ], + "d29": [ + [ + 43694, + 1608208891, + 59212100138891 + ], + [ + 43819, + 1613003149, + 59396606442253 + ] + ], + "d39": [ + [ + 46941, + 1746840640, + 65131060219936 + ], + [ + 47120, + 1753938989, + 65413878931853 + ] + ], + "d49": [ + [ + 48366, + 1807915816, + 67748734119800 + ], + [ + 48517, + 1813814679, + 67980168333719 + ] + ], + "d59": [ + [ + 49204, + 1844192173, + 69319132801021 + ], + [ + 49235, + 1844904692, + 69326412247380 + ] + ], + "d69": [ + [ + 49606, + 2570606743, + 2180387982011229 + ], + [ + 49615, + 2496350783, + 1952528976026395 + ] + ], + "d79": [ + [ + 49796, + 3148124472, + 3935791842405812 + ], + [ + 49814, + 3101222653, + 3791071615689991 + ] + ], + "d89": [ + [ + 49896, + 3452377743, + 4861492528243121 + ], + [ + 49909, + 3390271134, + 4670535163742492 + ] + ], + "d9": [ + [ + 26202, + 957624327, + 34999029849447 + ], + [ + 26552, + 970420411, + 35466857841243 + ] + ], + "d99": [ + [ + 49951, + 3619847643, + 5371422861081671 + ], + [ + 49952, + 3521192534, + 5069149426302110 + ] + ], + "full": [ + [ + 50000, + 3786273301, + 5945415006268631 + ], + [ + 50000, + 3701632988, + 5791471041956180 + ] + ], + "p90": [ + [ + 44983, + 1663128354, + 61552026160258 + ], + [ + 45152, + 1669798962, + 61816548619586 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 37009, + "d29": 42337, + "d39": 42785, + "d49": 43056, + "d59": 43872, + "d69": 3038994, + "d79": 3040594, + "d89": 3044146, + "d9": 36576, + "d99": 3046818, + "p90": 42705 + } + }, + "cpu17-v3-r5": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5916, + 216044952, + 7889693343176 + ], + [ + 5971, + 218052859, + 7962996829883 + ] + ], + "d19": [ + [ + 37850, + 1383573894, + 50575364061078 + ], + [ + 38147, + 1394423474, + 50971705182514 + ] + ], + "d29": [ + [ + 43706, + 1598748756, + 58482104487748 + ], + [ + 43812, + 1602587473, + 58621096737265 + ] + ], + "d39": [ + [ + 46733, + 1714336965, + 62896162424597 + ], + [ + 47073, + 1727188811, + 63382300607035 + ] + ], + "d49": [ + [ + 48446, + 1790560749, + 66342624184573 + ], + [ + 48463, + 1791325892, + 66381199507812 + ] + ], + "d59": [ + [ + 49142, + 1828361657, + 68395672762729 + ], + [ + 49298, + 1836679636, + 68844648178708 + ] + ], + "d69": [ + [ + 49636, + 2526164750, + 2078057725205882 + ], + [ + 49594, + 2494227832, + 1993322317195622 + ] + ], + "d79": [ + [ + 49808, + 3048843691, + 3666390724993373 + ], + [ + 49802, + 3126308559, + 3914120616512287 + ] + ], + "d89": [ + [ + 49899, + 3325436940, + 4507092109021276 + ], + [ + 49906, + 3442415204, + 4874922652384682 + ] + ], + "d9": [ + [ + 28371, + 1036778825, + 37887651086217 + ], + [ + 28704, + 1048948387, + 38332390667203 + ] + ], + "d99": [ + [ + 49953, + 3489655800, + 5006496511887728 + ], + [ + 49950, + 3576230225, + 5281887709891965 + ] + ], + "full": [ + [ + 50000, + 3637172531, + 5471971843136681 + ], + [ + 50000, + 3733139157, + 5777676029996451 + ] + ], + "p90": [ + [ + 44959, + 1646221374, + 60280745805998 + ], + [ + 45044, + 1649271930, + 60390157977274 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 36608, + "d29": 37505, + "d39": 38481, + "d49": 54096, + "d59": 54832, + "d69": 3038624, + "d79": 3039151, + "d89": 3040064, + "d9": 36561, + "d99": 3044239, + "p90": 38176 + } + }, + "cpu17-v3-r6": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5551, + 202720336, + 7403267621616 + ], + [ + 5574, + 203561544, + 7434034130392 + ] + ], + "d19": [ + [ + 37621, + 1375166276, + 50266683577684 + ], + [ + 37603, + 1374505674, + 50242439706218 + ] + ], + "d29": [ + [ + 44165, + 1614777603, + 59040155338387 + ], + [ + 44174, + 1615104216, + 59052007416552 + ] + ], + "d39": [ + [ + 46836, + 1713628275, + 62698935375635 + ], + [ + 46958, + 1718143902, + 62866101511422 + ] + ], + "d49": [ + [ + 48391, + 1772798552, + 64950472423144 + ], + [ + 48496, + 1776654195, + 65092026480819 + ] + ], + "d59": [ + [ + 49176, + 1802986941, + 66111417745821 + ], + [ + 49268, + 1806345463, + 66233962600151 + ] + ], + "d69": [ + [ + 49583, + 2514011589, + 2186773806874851 + ], + [ + 49637, + 2416159060, + 1879878139437058 + ] + ], + "d79": [ + [ + 49794, + 3155235757, + 4135439372034693 + ], + [ + 49819, + 2969254143, + 3560725234383653 + ] + ], + "d89": [ + [ + 49897, + 3468291060, + 5086930856139986 + ], + [ + 49910, + 3245836585, + 4401360919188609 + ] + ], + "d9": [ + [ + 28714, + 1049345342, + 38348048267806 + ], + [ + 28790, + 1052123482, + 38449601704938 + ] + ], + "d99": [ + [ + 49944, + 3611161875, + 5521230214357655 + ], + [ + 49959, + 3394789747, + 4854157746673201 + ] + ], + "full": [ + [ + 50000, + 3789510937, + 6098065333383513 + ], + [ + 50000, + 3522607634, + 5255416326716184 + ] + ], + "p90": [ + [ + 45036, + 1646707969, + 60210704479953 + ], + [ + 45097, + 1648941045, + 60292452737493 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 36592, + "d29": 36641, + "d39": 37921, + "d49": 38273, + "d59": 38625, + "d69": 3038782, + "d79": 3039198, + "d89": 3039583, + "d9": 36561, + "d99": 3040239, + "p90": 36672 + } + }, + "cpu2-aa-r1": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 6586, + 503306840, + 38463071645896 + ], + [ + 6469, + 494366524, + 37779915630892 + ] + ], + "d19": [ + [ + 38669, + 3038006012, + 239167838797686 + ], + [ + 38551, + 3029086488, + 238494394305754 + ] + ], + "d29": [ + [ + 43838, + 3480971852, + 277130617097636 + ], + [ + 43870, + 3484948403, + 277565935645613 + ] + ], + "d39": [ + [ + 46846, + 3743440046, + 300032999471482 + ], + [ + 46913, + 3750460044, + 300732958751906 + ] + ], + "d49": [ + [ + 48426, + 4009382160, + 373783623067166 + ], + [ + 48450, + 4000575305, + 368195419146135 + ] + ], + "d59": [ + [ + 49225, + 5220247756, + 2583777598445170 + ], + [ + 49213, + 5132311983, + 2405189041859899 + ] + ], + "d69": [ + [ + 49596, + 6992906473, + 11983179866110759 + ], + [ + 49623, + 7033659904, + 12241259729313598 + ] + ], + "d79": [ + [ + 49803, + 8485319625, + 22745738426491125 + ], + [ + 49807, + 8360562790, + 21812370997987210 + ] + ], + "d89": [ + [ + 49901, + 9634913568, + 37470471366023306 + ], + [ + 49904, + 9465336385, + 35370968944206507 + ] + ], + "d9": [ + [ + 25129, + 1921299673, + 146897725866217 + ], + [ + 24923, + 1905550798, + 145693710574638 + ] + ], + "d99": [ + [ + 49957, + 11572809456, + 107583865960416960 + ], + [ + 49946, + 10909943688, + 86563896337070600 + ] + ], + "full": [ + [ + 50000, + 15181640461, + 449178690481488933 + ], + [ + 50000, + 15691330460, + 576368946210268570 + ] + ], + "p90": [ + [ + 44978, + 3580200804, + 285767805506180 + ], + [ + 45030, + 3585924794, + 286355798784722 + ] + ] + }, + "thr": { + "d0": 76433, + "d19": 85249, + "d29": 86897, + "d39": 88145, + "d49": 496934, + "d59": 2755538, + "d69": 6800211, + "d79": 7377531, + "d89": 21545272, + "d9": 76528, + "d99": 47090692, + "p90": 87122 + } + }, + "cpu2-aa-r2": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 6337, + 484300097, + 37012244551073 + ], + [ + 6204, + 474137373, + 36235695960493 + ] + ], + "d19": [ + [ + 38297, + 3022061832, + 239068730162782 + ], + [ + 38151, + 3010866889, + 238211127447031 + ] + ], + "d29": [ + [ + 44234, + 3539046532, + 284086995883680 + ], + [ + 44083, + 3527403364, + 283189246233888 + ] + ], + "d39": [ + [ + 46915, + 3774294214, + 304730603113924 + ], + [ + 46839, + 3769250081, + 304413559246559 + ] + ], + "d49": [ + [ + 48455, + 4180985638, + 490960820030960 + ], + [ + 48421, + 4210189601, + 513784743263885 + ] + ], + "d59": [ + [ + 49222, + 4899931065, + 1189380797415561 + ], + [ + 49216, + 4953436426, + 1230510360072188 + ] + ], + "d69": [ + [ + 49632, + 6721468531, + 10670099053447117 + ], + [ + 49587, + 6536937602, + 9229976125697650 + ] + ], + "d79": [ + [ + 49807, + 7997142585, + 19971472973614311 + ], + [ + 49803, + 8110501195, + 20695774205735337 + ] + ], + "d89": [ + [ + 49892, + 10782341419, + 139815371343314707 + ], + [ + 49913, + 12234414614, + 219305713001023438 + ] + ], + "d9": [ + [ + 25263, + 1931516735, + 147676731830223 + ], + [ + 25147, + 1922651409, + 146999197099121 + ] + ], + "d99": [ + [ + 49941, + 18215575852, + 1349882759563411446 + ], + [ + 49962, + 18870965900, + 1190726801480988616 + ] + ], + "full": [ + [ + 50000, + 30316045092, + 3831606647238557456 + ], + [ + 50000, + 26716698879, + 2813455100940763913 + ] + ], + "p90": [ + [ + 45340, + 3635441617, + 292488453848643 + ], + [ + 45231, + 3627459352, + 291909804454548 + ] + ] + }, + "thr": { + "d0": 76433, + "d19": 86881, + "d29": 87137, + "d39": 89537, + "d49": 748201, + "d59": 1683172, + "d69": 6868259, + "d79": 7475225, + "d89": 72280545, + "d9": 76497, + "d99": 204095456, + "p90": 87169 + } + }, + "cpu2-aa-r3": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5970, + 456240670, + 34866927738510 + ], + [ + 5903, + 451117542, + 34475190017174 + ] + ], + "d19": [ + [ + 38130, + 2952497298, + 228853920096658 + ], + [ + 38060, + 2947796589, + 228549585372509 + ] + ], + "d29": [ + [ + 44115, + 3468340577, + 273318172750657 + ], + [ + 44330, + 3488194494, + 275129563001774 + ] + ], + "d39": [ + [ + 46814, + 3703775736, + 293855383822824 + ], + [ + 46947, + 3716485941, + 295044428861765 + ] + ], + "d49": [ + [ + 48412, + 3976083495, + 368943991593255 + ], + [ + 48464, + 3969019191, + 363966271748075 + ] + ], + "d59": [ + [ + 49223, + 4594707168, + 850972265538486 + ], + [ + 49215, + 4542585843, + 811671006816443 + ] + ], + "d69": [ + [ + 49599, + 5369224975, + 3033807660255241 + ], + [ + 49620, + 5404691907, + 3318545786471313 + ] + ], + "d79": [ + [ + 49803, + 6812904699, + 13266581806358137 + ], + [ + 49807, + 6724291070, + 12646729258812410 + ] + ], + "d89": [ + [ + 49911, + 9068113389, + 81665698603663889 + ], + [ + 49894, + 8481038217, + 65827382872021465 + ] + ], + "d9": [ + [ + 25659, + 1961871245, + 150003477941037 + ], + [ + 25402, + 1942216764, + 148500370658956 + ] + ], + "d99": [ + [ + 49958, + 13354324886, + 528996908699406248 + ], + [ + 49945, + 13470632285, + 628943082601461981 + ] + ], + "full": [ + [ + 50000, + 22406018494, + 2574834394659108668 + ], + [ + 50000, + 25562864944, + 3417291013669819634 + ] + ], + "p90": [ + [ + 45019, + 3547112387, + 280182108647459 + ], + [ + 45205, + 3564439350, + 281773309363462 + ] + ] + }, + "thr": { + "d0": 76433, + "d19": 85249, + "d29": 87121, + "d39": 87873, + "d49": 526118, + "d59": 947771, + "d69": 6196517, + "d79": 7392178, + "d89": 44702837, + "d9": 76497, + "d99": 166341468, + "p90": 87137 + } + }, + "cpu2-aa-r4": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5581, + 426600734, + 32608527622574 + ], + [ + 5699, + 435619686, + 33297862365894 + ] + ], + "d19": [ + [ + 38472, + 3141378558, + 257321890556382 + ], + [ + 38532, + 3145713615, + 257632126745807 + ] + ], + "d29": [ + [ + 43780, + 3604087095, + 297657086951159 + ], + [ + 43810, + 3605808931, + 297739692308995 + ] + ], + "d39": [ + [ + 46870, + 3877338413, + 321823486711853 + ], + [ + 46886, + 3877820893, + 321796347316045 + ] + ], + "d49": [ + [ + 48450, + 4307121369, + 513969776676881 + ], + [ + 48426, + 4309311629, + 514737800109863 + ] + ], + "d59": [ + [ + 49221, + 4992989552, + 1130990072960146 + ], + [ + 49217, + 5016602606, + 1154516671885662 + ] + ], + "d69": [ + [ + 49600, + 6301340038, + 7353839230222854 + ], + [ + 49619, + 6380330510, + 7502532974141480 + ] + ], + "d79": [ + [ + 49786, + 7661153912, + 17304599196481548 + ], + [ + 49824, + 7882403037, + 18517535417416487 + ] + ], + "d89": [ + [ + 49890, + 11060256720, + 154699342972531142 + ], + [ + 49915, + 10968506248, + 150948838126156730 + ] + ], + "d9": [ + [ + 25406, + 2015239377, + 160253043385937 + ], + [ + 25467, + 2019818517, + 160597891132949 + ] + ], + "d99": [ + [ + 49946, + 17865726700, + 1055133163399948730 + ], + [ + 49957, + 15872688914, + 775844497075243102 + ] + ], + "full": [ + [ + 50000, + 29764106721, + 3829647475182879335 + ], + [ + 50000, + 25313433648, + 2909189157449801390 + ] + ], + "p90": [ + [ + 45024, + 3713051466, + 307201528486570 + ], + [ + 45004, + 3710383056, + 306898649971056 + ] + ] + }, + "thr": { + "d0": 76449, + "d19": 87121, + "d29": 87265, + "d39": 90417, + "d49": 747608, + "d59": 1129132, + "d69": 6821211, + "d79": 8133641, + "d89": 68096036, + "d9": 85249, + "d99": 183066196, + "p90": 87873 + } + }, + "cpu2-aa-r5": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5787, + 442265803, + 33799731900523 + ], + [ + 5831, + 445626934, + 34056486540454 + ] + ], + "d19": [ + [ + 38562, + 3058884380, + 243235267121788 + ], + [ + 38898, + 3085127990, + 245291807538582 + ] + ], + "d29": [ + [ + 43781, + 3507597819, + 281816796019723 + ], + [ + 43843, + 3510268396, + 281845134992636 + ] + ], + "d39": [ + [ + 46850, + 3774780684, + 305077397611804 + ], + [ + 46901, + 3776488279, + 305021436676823 + ] + ], + "d49": [ + [ + 48426, + 3914429542, + 317453511074070 + ], + [ + 48453, + 3914056734, + 317217219654414 + ] + ], + "d59": [ + [ + 49201, + 3986149275, + 324091314460075 + ], + [ + 49241, + 3986931701, + 323957500579701 + ] + ], + "d69": [ + [ + 49579, + 4058326730, + 349318893655996 + ], + [ + 49640, + 4062255370, + 351860849340426 + ] + ], + "d79": [ + [ + 49790, + 5493542834, + 16470041337439340 + ], + [ + 49820, + 5240820769, + 13581304800792339 + ] + ], + "d89": [ + [ + 49891, + 9377966698, + 183291827569277094 + ], + [ + 49914, + 8837555901, + 165175649323089195 + ] + ], + "d9": [ + [ + 24851, + 1901858858, + 145553131247978 + ], + [ + 25186, + 1927405043, + 147501026124579 + ] + ], + "d99": [ + [ + 49939, + 12767560013, + 423830946840310781 + ], + [ + 49964, + 12448281844, + 427600766236700694 + ] + ], + "full": [ + [ + 50000, + 31049878163, + 14726175179741168557 + ], + [ + 50000, + 35004566343, + 95525556769540147405 + ] + ], + "p90": [ + [ + 44967, + 3610704379, + 290780511885115 + ], + [ + 45049, + 3615111958, + 290959709448502 + ] + ] + }, + "thr": { + "d0": 76433, + "d19": 85265, + "d29": 86881, + "d39": 87216, + "d49": 90865, + "d59": 94529, + "d69": 827544, + "d79": 18818702, + "d89": 65938121, + "d9": 78801, + "d99": 86122953, + "p90": 87088 + } + }, + "cpu2-aa-r6": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5704, + 435923219, + 33315052714899 + ], + [ + 5716, + 436839897, + 33385077633289 + ] + ], + "d19": [ + [ + 38340, + 3042339304, + 242030005631256 + ], + [ + 38599, + 3061245031, + 243399413700711 + ] + ], + "d29": [ + [ + 44170, + 3543906535, + 285183850804439 + ], + [ + 44256, + 3547897048, + 285267242725480 + ] + ], + "d39": [ + [ + 46834, + 3775767247, + 305363831142463 + ], + [ + 46949, + 3782284143, + 305667313494767 + ] + ], + "d49": [ + [ + 48417, + 3914960906, + 317604034567290 + ], + [ + 48468, + 3915840365, + 317410911732557 + ] + ], + "d59": [ + [ + 49203, + 3986738404, + 324159677304884 + ], + [ + 49237, + 3986056347, + 323823058562763 + ] + ], + "d69": [ + [ + 49608, + 4025715879, + 327933510817531 + ], + [ + 49611, + 4022436656, + 327402742002816 + ] + ], + "d79": [ + [ + 49804, + 4246463933, + 780200124344393 + ], + [ + 49806, + 4273093574, + 894301623950026 + ] + ], + "d89": [ + [ + 49910, + 5775075540, + 31708415125639484 + ], + [ + 49895, + 5701852162, + 31354174163588132 + ] + ], + "d9": [ + [ + 24818, + 1898690660, + 145259941175156 + ], + [ + 25194, + 1927457262, + 147460789396846 + ] + ], + "d99": [ + [ + 49954, + 8982849275, + 289837446918108423 + ], + [ + 49949, + 9479920176, + 326198746935681762 + ] + ], + "full": [ + [ + 50000, + 32730804055, + 24185390180403850337 + ], + [ + 50000, + 50503730265, + 92927876084861782349 + ] + ], + "p90": [ + [ + 44985, + 3614732117, + 291338774858965 + ], + [ + 45067, + 3618375048, + 291391963468824 + ] + ] + }, + "thr": { + "d0": 76433, + "d19": 85265, + "d29": 86881, + "d39": 87153, + "d49": 89649, + "d59": 93233, + "d69": 183186, + "d79": 3961639, + "d89": 38416290, + "d9": 78609, + "d99": 131100311, + "p90": 86913 + } + }, + "cpu2-v3-r1": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 3865, + 295379314, + 22574112517666 + ], + [ + 3949, + 301803209, + 23065379188457 + ] + ], + "d19": [ + [ + 39227, + 3222035968, + 265567245064064 + ], + [ + 39318, + 3228137446, + 265957181212896 + ] + ], + "d29": [ + [ + 43743, + 3615985498, + 299933216687186 + ], + [ + 43770, + 3616506016, + 299836483696284 + ] + ], + "d39": [ + [ + 46922, + 3899799494, + 325273151303804 + ], + [ + 46842, + 3890773715, + 324324656155521 + ] + ], + "d49": [ + [ + 48472, + 4128276315, + 378624960551947 + ], + [ + 48404, + 4112804506, + 373483691497618 + ] + ], + "d59": [ + [ + 49253, + 5195758387, + 2315950833891321 + ], + [ + 49185, + 5209362748, + 2385425419947194 + ] + ], + "d69": [ + [ + 49631, + 7165401817, + 13397805134206875 + ], + [ + 49588, + 7274986880, + 13855724940038710 + ] + ], + "d79": [ + [ + 49806, + 8432672981, + 22575751161527327 + ], + [ + 49804, + 8840809889, + 25207565672749597 + ] + ], + "d89": [ + [ + 49899, + 9579742899, + 37898137976355629 + ], + [ + 49906, + 10031073011, + 40086322066668187 + ] + ], + "d9": [ + [ + 24891, + 1975258130, + 157135923695944 + ], + [ + 25175, + 1998162585, + 158988772479499 + ] + ], + "d99": [ + [ + 49951, + 11294448669, + 97638554672987877 + ], + [ + 49952, + 11611783992, + 97169114207958514 + ] + ], + "full": [ + [ + 50000, + 15280903129, + 471453480799509527 + ], + [ + 50000, + 15626032466, + 478150931098287528 + ] + ], + "p90": [ + [ + 45013, + 3728394288, + 309882809044858 + ], + [ + 44990, + 3724493718, + 309395154590842 + ] + ] + }, + "thr": { + "d0": 76448, + "d19": 87137, + "d29": 87841, + "d39": 90385, + "d49": 449429, + "d59": 3014779, + "d69": 7121208, + "d79": 7411699, + "d89": 19765954, + "d9": 85409, + "d99": 48977490, + "p90": 89121 + } + }, + "cpu2-v3-r2": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 3371, + 257625886, + 19688846007390 + ], + [ + 3449, + 263588021, + 20144577453893 + ] + ], + "d19": [ + [ + 38843, + 3169992178, + 259560918241166 + ], + [ + 38694, + 3155191533, + 258136946234997 + ] + ], + "d29": [ + [ + 43775, + 3599849092, + 297025841034190 + ], + [ + 43752, + 3596025400, + 296558166005732 + ] + ], + "d39": [ + [ + 46909, + 3880002931, + 322077552893119 + ], + [ + 46845, + 3872381119, + 321257959556783 + ] + ], + "d49": [ + [ + 48456, + 4680511434, + 835874814325676 + ], + [ + 48420, + 4666291511, + 823561850808103 + ] + ], + "d59": [ + [ + 49228, + 5458076299, + 1646486621782177 + ], + [ + 49210, + 5474913427, + 1683033329330333 + ] + ], + "d69": [ + [ + 49615, + 7173468774, + 10403788538164922 + ], + [ + 49604, + 7157718580, + 10120278490395524 + ] + ], + "d79": [ + [ + 49808, + 8644367071, + 21833013602890755 + ], + [ + 49802, + 8692215529, + 22273316738375277 + ] + ], + "d89": [ + [ + 49905, + 12719304402, + 222896775332086116 + ], + [ + 49900, + 12597462509, + 210720429144380409 + ] + ], + "d9": [ + [ + 26600, + 2111118651, + 167974248582863 + ], + [ + 26625, + 2111197191, + 167822732753475 + ] + ], + "d99": [ + [ + 49957, + 20784919438, + 1525050159284285366 + ], + [ + 49946, + 19464035699, + 1305409966736025817 + ] + ], + "full": [ + [ + 50000, + 31415286181, + 4664839562272355179 + ], + [ + 50000, + 33492622485, + 5688941225304660207 + ] + ], + "p90": [ + [ + 45005, + 3708008318, + 306536873204304 + ], + [ + 45012, + 3706826040, + 306301779524732 + ] + ] + }, + "thr": { + "d0": 76433, + "d19": 87121, + "d29": 87409, + "d39": 94609, + "d49": 847290, + "d59": 1827190, + "d69": 6974210, + "d79": 13259949, + "d89": 84080113, + "d9": 85249, + "d99": 205084526, + "p90": 88641 + } + }, + "cpu2-v3-r3": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 4387, + 335314560, + 25629327844384 + ], + [ + 4318, + 330041928, + 25226419912120 + ] + ], + "d19": [ + [ + 37716, + 3117643421, + 258374782812253 + ], + [ + 37504, + 3100021273, + 256906347327961 + ] + ], + "d29": [ + [ + 44088, + 3672856406, + 306752298193910 + ], + [ + 43875, + 3655138287, + 305274731077631 + ] + ], + "d39": [ + [ + 46913, + 3921752383, + 328682736109651 + ], + [ + 46849, + 3917204660, + 328369422262514 + ] + ], + "d49": [ + [ + 48480, + 4165172094, + 389686801458222 + ], + [ + 48396, + 4163766611, + 391869519851891 + ] + ], + "d59": [ + [ + 49241, + 4775529079, + 895121382761377 + ], + [ + 49197, + 4811118675, + 932553019296041 + ] + ], + "d69": [ + [ + 49632, + 6118207060, + 6901133385523204 + ], + [ + 49587, + 6122192443, + 6876893011110625 + ] + ], + "d79": [ + [ + 49807, + 7381347176, + 16025540918078700 + ], + [ + 49803, + 7684462378, + 18183956706166244 + ] + ], + "d89": [ + [ + 49916, + 10418569463, + 132604071777478221 + ], + [ + 49889, + 10542894417, + 142189078869619053 + ] + ], + "d9": [ + [ + 26810, + 2179927435, + 177742592087147 + ], + [ + 26741, + 2174473943, + 177309620017975 + ] + ], + "d99": [ + [ + 49962, + 16439734049, + 996436977474742515 + ], + [ + 49941, + 17573794431, + 1146487619694346887 + ] + ], + "full": [ + [ + 50000, + 24997056068, + 2987931372229282498 + ], + [ + 50000, + 30576230860, + 4162258593646105814 + ] + ], + "p90": [ + [ + 45118, + 3762867734, + 314618380661912 + ], + [ + 44947, + 3748815939, + 313460861296197 + ] + ] + }, + "thr": { + "d0": 76449, + "d19": 86961, + "d29": 87201, + "d39": 89681, + "d49": 494933, + "d59": 1149053, + "d69": 6787838, + "d79": 7470933, + "d89": 69094326, + "d9": 85265, + "d99": 204085261, + "p90": 87681 + } + }, + "cpu2-v3-r4": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5384, + 411454555, + 31444067470347 + ], + [ + 5366, + 410080834, + 31339228210098 + ] + ], + "d19": [ + [ + 37750, + 3010409408, + 240716193393824 + ], + [ + 37736, + 3009219039, + 240615201958879 + ] + ], + "d29": [ + [ + 44096, + 3559683697, + 288260590572673 + ], + [ + 44151, + 3564407423, + 288666529736495 + ] + ], + "d39": [ + [ + 46919, + 3809891875, + 310444594587603 + ], + [ + 46832, + 3802118594, + 309750395180946 + ] + ], + "d49": [ + [ + 48489, + 4514277681, + 761031602240319 + ], + [ + 48387, + 4498349507, + 746817329792073 + ] + ], + "d59": [ + [ + 49248, + 5716181944, + 3328624548379524 + ], + [ + 49190, + 5793430896, + 3571781292536148 + ] + ], + "d69": [ + [ + 49619, + 10499784362, + 101293479540436564 + ], + [ + 49600, + 11786615486, + 137243407754731890 + ] + ], + "d79": [ + [ + 49806, + 23144315557, + 979345189085999165 + ], + [ + 49804, + 25400698330, + 1072886928202346638 + ] + ], + "d89": [ + [ + 49905, + 36085598905, + 2720825398166031339 + ], + [ + 49900, + 37903773278, + 2752522503922731420 + ] + ], + "d9": [ + [ + 25309, + 1949920655, + 150318596215567 + ], + [ + 25252, + 1945065487, + 149905261924623 + ] + ], + "d99": [ + [ + 49957, + 47439263527, + 5239758930384342773 + ], + [ + 49946, + 48238516791, + 5116966082798633511 + ] + ], + "full": [ + [ + 50000, + 73416352178, + 30507932945365287428 + ], + [ + 50000, + 76604859057, + 23330537092232104731 + ] + ], + "p90": [ + [ + 45015, + 3639784113, + 295242176443937 + ], + [ + 44999, + 3638318075, + 295108493315611 + ] + ] + }, + "thr": { + "d0": 76433, + "d19": 85313, + "d29": 87121, + "d39": 93297, + "d49": 889418, + "d59": 4669264, + "d69": 43770416, + "d79": 94087756, + "d89": 178086317, + "d9": 85185, + "d99": 291087031, + "p90": 87265 + } + }, + "cpu2-v3-r5": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 3619, + 276592026, + 21139307222026 + ], + [ + 3523, + 269253670, + 20578354455862 + ] + ], + "d19": [ + [ + 37670, + 3083771942, + 253132164925398 + ], + [ + 37523, + 3073412751, + 252416072411439 + ] + ], + "d29": [ + [ + 43837, + 3620027549, + 299762692709725 + ], + [ + 43794, + 3618704083, + 299831641732643 + ] + ], + "d39": [ + [ + 46926, + 3889772449, + 323318221421937 + ], + [ + 46843, + 3884950217, + 323081130326793 + ] + ], + "d49": [ + [ + 48467, + 4027175118, + 335570541563806 + ], + [ + 48420, + 4025525357, + 335612985474317 + ] + ], + "d59": [ + [ + 49228, + 4097445714, + 342060295239154 + ], + [ + 49212, + 4098689456, + 342372817957632 + ] + ], + "d69": [ + [ + 49622, + 4139086596, + 346844942867402 + ], + [ + 49597, + 4139458562, + 347087805803812 + ] + ], + "d79": [ + [ + 49816, + 4508844264, + 1438052573220500 + ], + [ + 49794, + 4509221228, + 1453526508201994 + ] + ], + "d89": [ + [ + 49907, + 7421821143, + 136591552393193287 + ], + [ + 49898, + 7409076047, + 123447567118485779 + ] + ], + "d9": [ + [ + 26162, + 2100444254, + 169107354878766 + ], + [ + 25920, + 2081902964, + 167686503951988 + ] + ], + "d99": [ + [ + 49953, + 12546060933, + 793541175469240519 + ], + [ + 49950, + 13588039471, + 951413890887716363 + ] + ], + "full": [ + [ + 50000, + 44933990780, + 53230641558523969414 + ], + [ + 50000, + 39421073102, + 22599121823953254970 + ] + ], + "p90": [ + [ + 45334, + 3750479688, + 311130602328232 + ], + [ + 45247, + 3745322217, + 310865469662281 + ] + ] + }, + "thr": { + "d0": 76448, + "d19": 86849, + "d29": 87121, + "d39": 88033, + "d49": 90609, + "d59": 94385, + "d69": 260067, + "d79": 5888669, + "d89": 68091340, + "d9": 85233, + "d99": 214087048, + "p90": 87153 + } + } +} \ No newline at end of file diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/cteq/wolfram-out.txt b/evidence/om-tls-review-2026-10-26/timing-v3/cteq/wolfram-out.txt new file mode 100644 index 000000000..45c35d3b3 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/cteq/wolfram-out.txt @@ -0,0 +1 @@ +Out[1]= "cpu17-aa-r1 81250.2 75691.0 2.58 99507 2.91 5.27 d29 87679\ncpu17-aa-r2 80610.3 82022.5 -0.64 99973 -1.85 -2.34 d29 87482\ncpu17-aa-r3 77058.1 74426.0 1.23 99842 -0.60 -2.55 d39 93917\ncpu17-aa-r4 74362.9 76380.8 -0.95 99930 -0.18 2.40 d59 98415\ncpu17-aa-r5 73477.6 71750.5 0.84 99936 1.02 1.36 d79 99392\ncpu17-aa-r6 76764.5 77356.1 -0.28 99993 1.28 3.33 d19 74980\ncpu17-v3-r1 75454.6 72811.3 1.26 99867 23.11 27.97 d29 82917\ncpu17-v3-r2 72088.2 75683.9 -1.74 99753 -6.41 -6.41 p90 89982\ncpu17-v3-r3 73832.0 75329.1 -0.70 99963 -25.88 -25.88 p90 84591\ncpu17-v3-r4 75725.5 74032.7 0.80 99982 -1.18 2.00 d19 74929\ncpu17-v3-r5 72743.5 74662.8 -0.93 99924 0.86 -2.92 d39 93692\ncpu17-v3-r6 75790.2 70452.2 2.57 99449 -0.27 2.57 full 99449\ncpu2-aa-r1 303632.8 313826.6 -0.51 98463 -1.26 1.52 d99 98722\ncpu2-aa-r2 606320.9 534334.0 1.40 97700 -0.54 -2.43 d89 95108\ncpu2-aa-r3 448120.4 511257.3 -1.29 98059 -2.24 -2.59 d29 88439\ncpu2-aa-r4 595282.1 506268.7 1.72 98169 0.72 1.72 full 98169\ncpu2-aa-r5 620997.6 700091.3 -0.38 65042 1.67 1.82 d29 87621\ncpu2-aa-r6 654616.1 6\n1.0 × 10 -1.64 74366 2.22 2.29 d59 98437\ncpu2-v3-r1 305618.1 312520.6 -0.36 99993 1.37 -2.49 d0 7775\ncpu2-v3-r2 628305.7 669852.4 -0.65 99026 1.22 2.08 d9 53218\ncpu2-v3-r3 499941.1 611524.6 -2.09 97376 -0.17 -2.09 full 97376\ncpu2-v3-r4 6\n1.5 × 10 6\n1.5 × 10 -0.44 98233 0.13 -2.67 d69 96975\ncpu2-v3-r5 898679.8 788421.5 0.63 85954 -1.57 -1.81 d59 98438" \ No newline at end of file diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/cteq/wolfram-query.wl b/evidence/om-tls-review-2026-10-26/timing-v3/cteq/wolfram-query.wl new file mode 100644 index 000000000..56e2f6fc9 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/cteq/wolfram-query.wl @@ -0,0 +1 @@ +welch[{n0_,s0_,q0_},{n1_,s1_,q1_}]:=Module[{m0=s0/n0,m1=s1/n1,v0=(q0-s0^2/n0)/(n0-1),v1=(q1-s1^2/n1)/(n1-1)},N[{(m0-m1)/Sqrt[v0/n0+v1/n1],(v0/n0+v1/n1)^2/((v0/n0)^2/(n0-1)+(v1/n1)^2/(n1-1)),m0,m1}]];nm={"full","p90","d0","d9","d19","d29","d39","d49","d59","d69","d79","d89","d99"};d=<|"cpu17-aa-r1"->{{{50000,4062509872,6553999784491044},{50000,3784548099,5693617701459899}},{{45434,1741394204,67479232526732},{44826,1714620740,66290078192996}},{{6605,241200244,8808109762180},{6723,245506760,8965279944712}},{{28140,1028309334,37577126038518},{28036,1024500618,37437643081114}},{{37558,1373365347,50219660944387},{37455,1369605189,50082389466837}},{{44260,1684956055,64766059827207},{43446,1648279488,63100830484672}},{{47197,1826212566,71559864984374},{46919,1815315739,71134551930715}},{{48479,1887993797,74537184215669},{48426,1887943182,74634717448286}},{{49175,1921708198,76170345740406},{49264,1928524649,76599972450953}},{{49601,2847080012,2850570703550396},{49621,2630913236,2182070038423806}},{{49803,3461036716,4716624356707140},{49807,3196245048,3900349934883826}},{{49907,3777928850,5682207730671630},{49898,3473507765,4745126384766033}},{{49949,3905976339,6072592481641597},{49954,3644237754,5265639407822564}}},"cpu17-aa-r2"->{{{50000,4030513133,6232338042853371},{50000,4101125577,6434996578099853}},{{45068,1770761323,71215813062555},{45022,1772324234,71441456050522}},{{4584,167398537,6113061380777},{4386,160165435,5848830253259}},{{25787,942467183,34445443234991},{25513,932458516,34079846917972}},{{37635,1384923788,50977223601500},{37372,1375591730,50646867636162}},{{43762,1699084255,67281965912895},{43746,1702292721,67597870664385}},{{46962,1875278942,76983490750046},{46943,1878337267,77291957554451}},{{48501,1960461701,81698308217925},{48467,1962690867,81960941524627}},{{49223,2000532710,83922263263558},{49218,2004370196,84274092872948}},{{49610,2832627780,2544809136418852},{49614,2917530981,2797108995017859}},{{49800,3410516968,4302473288780460},{49810,3513712160,4610539363790982}},{{49901,3719133704,5245486069277062},{49904,3800936894,5488178180299452}},{{49953,3878065078,5731239564474760},{49950,3941531628,5917892947784882}}},"cpu17-aa-r3"->{{{50000,3852905283,6243079891237859},{50000,3721301079,5770881007148687}},{{44992,1657413902,61142207337326},{45087,1661164484,61291691643764}},{{6139,224186725,8186951084069},{6049,220898500,8066813062468}},{{25704,939240254,34320433607710},{25693,938840601,34305913883017}},{{38043,1390528292,50825897052884},{38146,1394298789,50963922522965}},{{43739,1601462307,58640680794627},{43766,1602367858,58670611909762}},{{46844,1741096165,64923374574389},{47122,1753114079,65446349484783}},{{48433,1813236103,68198676877271},{48444,1813016696,68160784862488}},{{49226,1856284099,70539823770179},{49239,1856306704,70521495789072}},{{49595,2597623979,2275210844314037},{49631,2585541330,2235147819445412}},{{49799,3217690026,4159926057570458},{49813,3138736235,3916601685696333}},{{49898,3518663207,5074924607904153},{49907,3424513928,4785419678454042}},{{49945,3661865715,5511242891057371},{49959,3582927028,5268010356898608}}},"cpu17-aa-r4"->{{{50000,3718147441,5745554619562879},{50000,3819038527,6054187388650089}},{{44916,1667624593,62016906300081},{45183,1677618393,62391733766073}},{{4752,173536036,6337280891876},{4827,176275708,6437358296780}},{{26955,985137708,36004323905036},{26942,984664490,35987098473754}},{{37410,1368260823,50044033761287},{37600,1375195490,50297115117074}},{{43646,1613383821,59700321269309},{43898,1622737715,60047850089299}},{{46834,1749936512,65549383347296},{47046,1757563467,65822357151515}},{{48439,1819150136,68534135471048},{48549,1822378885,68617460067045}},{{49232,1853496936,70021813612616},{49212,1851090805,69860886770053}},{{49619,2551594242,2147925614643880},{49605,2611214896,2350994616181262}},{{49817,3153343169,3976722447401257},{49793,3182568960,4087406679850838}},{{49911,3439138043,4845644968317931},{49894,3489658332,5021108584308032}},{{49954,3570018784,5244011677100452},{49949,3657067377,5530668376506673}}},"cpu17-aa-r5"->{{{50000,3673879011,5719879496740773},{50000,3587527077,5441661219087107}},{{45295,1656024303,60545723232671},{45148,1650640243,60348525539043}},{{6559,239522577,8746923569905},{6588,240579681,8785456869729}},{{26495,968140312,35376329703080},{26525,969236718,35416400089022}},{{38364,1402237066,51252983893754},{38390,1403187635,51287737236163}},{{43924,1605785354,58704766208762},{43784,1600657780,58516966383460}},{{46891,1715013661,62726139803869},{46864,1714051723,62691904806411}},{{48445,1774103783,64973029220039},{48460,1774727401,64998649041481}},{{49204,1803173594,66086421163658},{49236,1804444601,66136693910073}},{{49608,2478113068,2068145454177204},{49613,2410997805,1864861072675931}},{{49811,3095051845,3943088584062763},{49800,2979311285,3592027983358835}},{{49902,3371660330,4783882588413110},{49904,3295432680,4552919683293248}},{{49951,3520671276,5237030817795300},{49953,3444446982,5006088322519922}}},"cpu17-aa-r6"->{{{50000,3838224623,5860211432003731},{50000,3867802550,5947432676254220}},{{45067,1731971755,67029254910875},{44946,1726083930,66752369693994}},{{4029,147133630,5373121745822},{3997,145964750,5330425468222}},{{25188,920729197,33656607375853},{25406,928701774,33948176189534}},{{37518,1389139938,51456177951970},{37486,1387264268,51360369192428}},{{43932,1680075037,64656294069581},{43754,1671584973,64260606753069}},{{47012,1822189912,71214000690552},{46920,1817647920,70999573043824}},{{48511,1891959527,74461367683399},{48493,1890860949,74407171229861}},{{49229,1925507534,76028887702030},{49210,1924368782,75973120972526}},{{49615,2649988401,2170236166667521},{49604,2646741557,2158431012838749}},{{49815,3258128611,4019408901032315},{49795,3227499074,3924291302704184}},{{49908,3541489855,4882780907765469},{49897,3538276244,4871178104103222}},{{49955,3684733602,5319350506263606},{49948,3693710861,5344902030713893}}},"cpu17-v3-r1"->{{{50000,3772732500,5973694429943892},{50000,3640565773,5556050578675751}},{{46495,1712053823,63060610195295},{43771,1607837958,59072605173862}},{{7238,264321268,9652630666084},{7263,265232510,9685845051326}},{{27765,1014549527,37072247737175},{27357,999634043,36526974171803}},{{37955,1387238963,50703006124579},{37548,1372359126,50159002411430}},{{45140,1659872869,61051124711413},{42442,1556639275,57100215500123}},{{47429,1748083150,64450452308622},{46345,1707129198,62902733885310}},{{48416,1786222144,65924196905744},{48461,1788869982,66060373284542}},{{49197,1820312096,67424368287584},{49242,1822817594,67548054229418}},{{49593,2534410282,2205018388501008},{49635,2528906040,2168335254029924}},{{49795,3148305244,4070696734105526},{49815,3075942445,3830828751528295}},{{49905,3482679332,5087115201554134},{49900,3334327784,4616275619297360}},{{49946,3607338260,5466135893483938},{49957,3507636670,5143222462089110}}},"cpu17-v3-r2"->{{{50000,3604412046,5341047991350574},{50000,3784194293,5897613703207241}},{{44853,1647348286,60512545036366},{45391,1668015469,61306376839821}},{{3841,140268691,5122444026643},{3994,145856750,5326538174078}},{{26866,981944188,35889772279372},{26951,985045546,36002929816586}},{{37942,1387308077,50725445958397},{37938,1387154185,50719539972633}},{{43796,1606835964,58959795415196},{43724,1604127930,58857882773050}},{{46916,1726921215,63581821101455},{46837,1723736448,63453589969952}},{{48502,1804013985,67360458791937},{48412,1799992952,67177678649400}},{{49257,1844906410,69575290538618},{49195,1842396644,69474078956468}},{{49656,2551844662,2108806324145764},{49574,2484533338,1928972814437688}},{{49819,3047280156,3614673382672542},{49793,3150178579,3952185554661023}},{{49908,3317890387,4437481227329625},{49898,3469443482,4922948218974218}},{{49951,3448762793,4835797335512869},{49952,3633764341,5422973222372373}}},"cpu17-v3-r3"->{{{50000,3691600844,5866836082074558},{50000,3766453829,6089902544796715}},{{44293,1623841366,59538835495174},{46096,1693595599,62236528386175}},{{4750,173466432,6334864376528},{4786,174778854,6382710142422}},{{26139,955248749,34909535390925},{26203,957583541,34994711110325}},{{37807,1382149120,50528660185856},{37594,1374348142,50242955571646}},{{43422,1590344787,58250636910499},{44174,1619683858,59394204629554}},{{46467,1707600850,62765907244114},{47487,1747166173,64299653745933}},{{48469,1785136369,65768863087601},{48407,1782932073,65690133064617}},{{49214,1817840359,67207303487991},{49232,1819194235,67286955932955}},{{49612,2491716043,2065089529743083},{49625,2606767794,2421876807540780}},{{49801,3066203855,3811313057316969},{49815,3184291273,4177315593571055}},{{49903,3376294431,4754020563460889},{49902,3448780140,4981388708365558}},{{49947,3510096162,5160904730290976},{49959,3622110647,5508467038402231}}},"cpu17-v3-r4"->{{{50000,3786273301,5945415006268631},{50000,3701632988,5791471041956180}},{{44983,1663128354,61552026160258},{45152,1669798962,61816548619586}},{{4465,163056556,5954634484396},{4550,166161512,6068055089160}},{{26202,957624327,34999029849447},{26552,970420411,35466857841243}},{{37480,1370705940,50129114499460},{37533,1372613879,50197773642871}},{{43694,1608208891,59212100138891},{43819,1613003149,59396606442253}},{{46941,1746840640,65131060219936},{47120,1753938989,65413878931853}},{{48366,1807915816,67748734119800},{48517,1813814679,67980168333719}},{{49204,1844192173,69319132801021},{49235,1844904692,69326412247380}},{{49606,2570606743,2180387982011229},{49615,2496350783,1952528976026395}},{{49796,3148124472,3935791842405812},{49814,3101222653,3791071615689991}},{{49896,3452377743,4861492528243121},{49909,3390271134,4670535163742492}},{{49951,3619847643,5371422861081671},{49952,3521192534,5069149426302110}}},"cpu17-v3-r5"->{{{50000,3637172531,5471971843136681},{50000,3733139157,5777676029996451}},{{44959,1646221374,60280745805998},{45044,1649271930,60390157977274}},{{5916,216044952,7889693343176},{5971,218052859,7962996829883}},{{28371,1036778825,37887651086217},{28704,1048948387,38332390667203}},{{37850,1383573894,50575364061078},{38147,1394423474,50971705182514}},{{43706,1598748756,58482104487748},{43812,1602587473,58621096737265}},{{46733,1714336965,62896162424597},{47073,1727188811,63382300607035}},{{48446,1790560749,66342624184573},{48463,1791325892,66381199507812}},{{49142,1828361657,68395672762729},{49298,1836679636,68844648178708}},{{49636,2526164750,2078057725205882},{49594,2494227832,1993322317195622}},{{49808,3048843691,3666390724993373},{49802,3126308559,3914120616512287}},{{49899,3325436940,4507092109021276},{49906,3442415204,4874922652384682}},{{49953,3489655800,5006496511887728},{49950,3576230225,5281887709891965}}},"cpu17-v3-r6"->{{{50000,3789510937,6098065333383513},{50000,3522607634,5255416326716184}},{{45036,1646707969,60210704479953},{45097,1648941045,60292452737493}},{{5551,202720336,7403267621616},{5574,203561544,7434034130392}},{{28714,1049345342,38348048267806},{28790,1052123482,38449601704938}},{{37621,1375166276,50266683577684},{37603,1374505674,50242439706218}},{{44165,1614777603,59040155338387},{44174,1615104216,59052007416552}},{{46836,1713628275,62698935375635},{46958,1718143902,62866101511422}},{{48391,1772798552,64950472423144},{48496,1776654195,65092026480819}},{{49176,1802986941,66111417745821},{49268,1806345463,66233962600151}},{{49583,2514011589,2186773806874851},{49637,2416159060,1879878139437058}},{{49794,3155235757,4135439372034693},{49819,2969254143,3560725234383653}},{{49897,3468291060,5086930856139986},{49910,3245836585,4401360919188609}},{{49944,3611161875,5521230214357655},{49959,3394789747,4854157746673201}}},"cpu2-aa-r1"->{{{50000,15181640461,449178690481488933},{50000,15691330460,576368946210268570}},{{44978,3580200804,285767805506180},{45030,3585924794,286355798784722}},{{6586,503306840,38463071645896},{6469,494366524,37779915630892}},{{25129,1921299673,146897725866217},{24923,1905550798,145693710574638}},{{38669,3038006012,239167838797686},{38551,3029086488,238494394305754}},{{43838,3480971852,277130617097636},{43870,3484948403,277565935645613}},{{46846,3743440046,300032999471482},{46913,3750460044,300732958751906}},{{48426,4009382160,373783623067166},{48450,4000575305,368195419146135}},{{49225,5220247756,2583777598445170},{49213,5132311983,2405189041859899}},{{49596,6992906473,11983179866110759},{49623,7033659904,12241259729313598}},{{49803,8485319625,22745738426491125},{49807,8360562790,21812370997987210}},{{49901,9634913568,37470471366023306},{49904,9465336385,35370968944206507}},{{49957,11572809456,107583865960416960},{49946,10909943688,86563896337070600}}},"cpu2-aa-r2"->{{{50000,30316045092,3831606647238557456},{50000,26716698879,2813455100940763913}},{{45340,3635441617,292488453848643},{45231,3627459352,291909804454548}},{{6337,484300097,37012244551073},{6204,474137373,36235695960493}},{{25263,1931516735,147676731830223},{25147,1922651409,146999197099121}},{{38297,3022061832,239068730162782},{38151,3010866889,238211127447031}},{{44234,3539046532,284086995883680},{44083,3527403364,283189246233888}},{{46915,3774294214,304730603113924},{46839,3769250081,304413559246559}},{{48455,4180985638,490960820030960},{48421,4210189601,513784743263885}},{{49222,4899931065,1189380797415561},{49216,4953436426,1230510360072188}},{{49632,6721468531,10670099053447117},{49587,6536937602,9229976125697650}},{{49807,7997142585,19971472973614311},{49803,8110501195,20695774205735337}},{{49892,10782341419,139815371343314707},{49913,12234414614,219305713001023438}},{{49941,18215575852,1349882759563411446},{49962,18870965900,1190726801480988616}}},"cpu2-aa-r3"->{{{50000,22406018494,2574834394659108668},{50000,25562864944,3417291013669819634}},{{45019,3547112387,280182108647459},{45205,3564439350,281773309363462}},{{5970,456240670,34866927738510},{5903,451117542,34475190017174}},{{25659,1961871245,150003477941037},{25402,1942216764,148500370658956}},{{38130,2952497298,228853920096658},{38060,2947796589,228549585372509}},{{44115,3468340577,273318172750657},{44330,3488194494,275129563001774}},{{46814,3703775736,293855383822824},{46947,3716485941,295044428861765}},{{48412,3976083495,368943991593255},{48464,3969019191,363966271748075}},{{49223,4594707168,850972265538486},{49215,4542585843,811671006816443}},{{49599,5369224975,3033807660255241},{49620,5404691907,3318545786471313}},{{49803,6812904699,13266581806358137},{49807,6724291070,12646729258812410}},{{49911,9068113389,81665698603663889},{49894,8481038217,65827382872021465}},{{49958,13354324886,528996908699406248},{49945,13470632285,628943082601461981}}},"cpu2-aa-r4"->{{{50000,29764106721,3829647475182879335},{50000,25313433648,2909189157449801390}},{{45024,3713051466,307201528486570},{45004,3710383056,306898649971056}},{{5581,426600734,32608527622574},{5699,435619686,33297862365894}},{{25406,2015239377,160253043385937},{25467,2019818517,160597891132949}},{{38472,3141378558,257321890556382},{38532,3145713615,257632126745807}},{{43780,3604087095,297657086951159},{43810,3605808931,297739692308995}},{{46870,3877338413,321823486711853},{46886,3877820893,321796347316045}},{{48450,4307121369,513969776676881},{48426,4309311629,514737800109863}},{{49221,4992989552,1130990072960146},{49217,5016602606,1154516671885662}},{{49600,6301340038,7353839230222854},{49619,6380330510,7502532974141480}},{{49786,7661153912,17304599196481548},{49824,7882403037,18517535417416487}},{{49890,11060256720,154699342972531142},{49915,10968506248,150948838126156730}},{{49946,17865726700,1055133163399948730},{49957,15872688914,775844497075243102}}},"cpu2-aa-r5"->{{{50000,31049878163,14726175179741168557},{50000,35004566343,95525556769540147405}},{{44967,3610704379,290780511885115},{45049,3615111958,290959709448502}},{{5787,442265803,33799731900523},{5831,445626934,34056486540454}},{{24851,1901858858,145553131247978},{25186,1927405043,147501026124579}},{{38562,3058884380,243235267121788},{38898,3085127990,245291807538582}},{{43781,3507597819,281816796019723},{43843,3510268396,281845134992636}},{{46850,3774780684,305077397611804},{46901,3776488279,305021436676823}},{{48426,3914429542,317453511074070},{48453,3914056734,317217219654414}},{{49201,3986149275,324091314460075},{49241,3986931701,323957500579701}},{{49579,4058326730,349318893655996},{49640,4062255370,351860849340426}},{{49790,5493542834,16470041337439340},{49820,5240820769,13581304800792339}},{{49891,9377966698,183291827569277094},{49914,8837555901,165175649323089195}},{{49939,12767560013,423830946840310781},{49964,12448281844,427600766236700694}}},"cpu2-aa-r6"->{{{50000,32730804055,24185390180403850337},{50000,50503730265,92927876084861782349}},{{44985,3614732117,291338774858965},{45067,3618375048,291391963468824}},{{5704,435923219,33315052714899},{5716,436839897,33385077633289}},{{24818,1898690660,145259941175156},{25194,1927457262,147460789396846}},{{38340,3042339304,242030005631256},{38599,3061245031,243399413700711}},{{44170,3543906535,285183850804439},{44256,3547897048,285267242725480}},{{46834,3775767247,305363831142463},{46949,3782284143,305667313494767}},{{48417,3914960906,317604034567290},{48468,3915840365,317410911732557}},{{49203,3986738404,324159677304884},{49237,3986056347,323823058562763}},{{49608,4025715879,327933510817531},{49611,4022436656,327402742002816}},{{49804,4246463933,780200124344393},{49806,4273093574,894301623950026}},{{49910,5775075540,31708415125639484},{49895,5701852162,31354174163588132}},{{49954,8982849275,289837446918108423},{49949,9479920176,326198746935681762}}},"cpu2-v3-r1"->{{{50000,15280903129,471453480799509527},{50000,15626032466,478150931098287528}},{{45013,3728394288,309882809044858},{44990,3724493718,309395154590842}},{{3865,295379314,22574112517666},{3949,301803209,23065379188457}},{{24891,1975258130,157135923695944},{25175,1998162585,158988772479499}},{{39227,3222035968,265567245064064},{39318,3228137446,265957181212896}},{{43743,3615985498,299933216687186},{43770,3616506016,299836483696284}},{{46922,3899799494,325273151303804},{46842,3890773715,324324656155521}},{{48472,4128276315,378624960551947},{48404,4112804506,373483691497618}},{{49253,5195758387,2315950833891321},{49185,5209362748,2385425419947194}},{{49631,7165401817,13397805134206875},{49588,7274986880,13855724940038710}},{{49806,8432672981,22575751161527327},{49804,8840809889,25207565672749597}},{{49899,9579742899,37898137976355629},{49906,10031073011,40086322066668187}},{{49951,11294448669,97638554672987877},{49952,11611783992,97169114207958514}}},"cpu2-v3-r2"->{{{50000,31415286181,4664839562272355179},{50000,33492622485,5688941225304660207}},{{45005,3708008318,306536873204304},{45012,3706826040,306301779524732}},{{3371,257625886,19688846007390},{3449,263588021,20144577453893}},{{26600,2111118651,167974248582863},{26625,2111197191,167822732753475}},{{38843,3169992178,259560918241166},{38694,3155191533,258136946234997}},{{43775,3599849092,297025841034190},{43752,3596025400,296558166005732}},{{46909,3880002931,322077552893119},{46845,3872381119,321257959556783}},{{48456,4680511434,835874814325676},{48420,4666291511,823561850808103}},{{49228,5458076299,1646486621782177},{49210,5474913427,1683033329330333}},{{49615,7173468774,10403788538164922},{49604,7157718580,10120278490395524}},{{49808,8644367071,21833013602890755},{49802,8692215529,22273316738375277}},{{49905,12719304402,222896775332086116},{49900,12597462509,210720429144380409}},{{49957,20784919438,1525050159284285366},{49946,19464035699,1305409966736025817}}},"cpu2-v3-r3"->{{{50000,24997056068,2987931372229282498},{50000,30576230860,4162258593646105814}},{{45118,3762867734,314618380661912},{44947,3748815939,313460861296197}},{{4387,335314560,25629327844384},{4318,330041928,25226419912120}},{{26810,2179927435,177742592087147},{26741,2174473943,177309620017975}},{{37716,3117643421,258374782812253},{37504,3100021273,256906347327961}},{{44088,3672856406,306752298193910},{43875,3655138287,305274731077631}},{{46913,3921752383,328682736109651},{46849,3917204660,328369422262514}},{{48480,4165172094,389686801458222},{48396,4163766611,391869519851891}},{{49241,4775529079,895121382761377},{49197,4811118675,932553019296041}},{{49632,6118207060,6901133385523204},{49587,6122192443,6876893011110625}},{{49807,7381347176,16025540918078700},{49803,7684462378,18183956706166244}},{{49916,10418569463,132604071777478221},{49889,10542894417,142189078869619053}},{{49962,16439734049,996436977474742515},{49941,17573794431,1146487619694346887}}},"cpu2-v3-r4"->{{{50000,73416352178,30507932945365287428},{50000,76604859057,23330537092232104731}},{{45015,3639784113,295242176443937},{44999,3638318075,295108493315611}},{{5384,411454555,31444067470347},{5366,410080834,31339228210098}},{{25309,1949920655,150318596215567},{25252,1945065487,149905261924623}},{{37750,3010409408,240716193393824},{37736,3009219039,240615201958879}},{{44096,3559683697,288260590572673},{44151,3564407423,288666529736495}},{{46919,3809891875,310444594587603},{46832,3802118594,309750395180946}},{{48489,4514277681,761031602240319},{48387,4498349507,746817329792073}},{{49248,5716181944,3328624548379524},{49190,5793430896,3571781292536148}},{{49619,10499784362,101293479540436564},{49600,11786615486,137243407754731890}},{{49806,23144315557,979345189085999165},{49804,25400698330,1072886928202346638}},{{49905,36085598905,2720825398166031339},{49900,37903773278,2752522503922731420}},{{49957,47439263527,5239758930384342773},{49946,48238516791,5116966082798633511}}},"cpu2-v3-r5"->{{{50000,44933990780,53230641558523969414},{50000,39421073102,22599121823953254970}},{{45334,3750479688,311130602328232},{45247,3745322217,310865469662281}},{{3619,276592026,21139307222026},{3523,269253670,20578354455862}},{{26162,2100444254,169107354878766},{25920,2081902964,167686503951988}},{{37670,3083771942,253132164925398},{37523,3073412751,252416072411439}},{{43837,3620027549,299762692709725},{43794,3618704083,299831641732643}},{{46926,3889772449,323318221421937},{46843,3884950217,323081130326793}},{{48467,4027175118,335570541563806},{48420,4025525357,335612985474317}},{{49228,4097445714,342060295239154},{49212,4098689456,342372817957632}},{{49622,4139086596,346844942867402},{49597,4139458562,347087805803812}},{{49816,4508844264,1438052573220500},{49794,4509221228,1453526508201994}},{{49907,7421821143,136591552393193287},{49898,7409076047,123447567118485779}},{{49953,12546060933,793541175469240519},{49950,13588039471,951413890887716363}}}|>;row[k_,v_]:=Module[{w=welch@@@v,ts,i},ts=w[[All,1]];i=First@Ordering[Abs[ts],-1];StringRiffle[{k,ToString@NumberForm[w[[1,3]],{8,1}],ToString@NumberForm[w[[1,4]],{8,1}],ToString@NumberForm[ts[[1]],{4,2}],ToString@Round[w[[1,2]]],ToString@NumberForm[ts[[2]],{4,2}],ToString@NumberForm[ts[[i]],{4,2}],nm[[i]],ToString@Round[w[[i,2]]]}," "]];StringRiffle[KeyValueMap[row,d],"\n"] \ No newline at end of file diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/cteq2/load.log b/evidence/om-tls-review-2026-10-26/timing-v3/cteq2/load.log new file mode 100644 index 000000000..8ba8cac81 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/cteq2/load.log @@ -0,0 +1,24 @@ +2026-10-26T21:54:59Z cpu17 v3 cteq N=100000 rep1 freq_kHz=3896419 uptime: 16:54:59 up 5 days 22:35, 6 users, load average: 22.08, 23.50, 24.21 +rc=0 freq_after_kHz=3896419 +2026-10-26T21:55:07Z cpu9 v3 cteq N=100000 rep1 freq_kHz=3896191 uptime: 16:55:07 up 5 days 22:35, 6 users, load average: 21.92, 23.42, 24.17 +rc=0 freq_after_kHz=3900000 +2026-10-26T21:55:11Z cpu17 v3 cteq N=100000 rep2 freq_kHz=3896419 uptime: 16:55:11 up 5 days 22:35, 6 users, load average: 21.77, 23.36, 24.15 +rc=0 freq_after_kHz=3896419 +2026-10-26T21:55:18Z cpu9 v3 cteq N=100000 rep2 freq_kHz=3880957 uptime: 16:55:18 up 5 days 22:35, 6 users, load average: 21.39, 23.25, 24.11 +rc=0 freq_after_kHz=3896191 +2026-10-26T21:55:22Z cpu17 v3 cteq N=100000 rep3 freq_kHz=3896419 uptime: 16:55:22 up 5 days 22:35, 6 users, load average: 21.04, 23.15, 24.07 +rc=0 freq_after_kHz=3896419 +2026-10-26T21:55:30Z cpu9 v3 cteq N=100000 rep3 freq_kHz=3888574 uptime: 16:55:30 up 5 days 22:35, 6 users, load average: 21.80, 23.24, 24.09 +rc=0 freq_after_kHz=3896191 +2026-10-26T21:55:34Z cpu17 v3 cteq N=100000 rep4 freq_kHz=3896419 uptime: 16:55:34 up 5 days 22:35, 6 users, load average: 21.80, 23.24, 24.09 +rc=0 freq_after_kHz=3896419 +2026-10-26T21:55:42Z cpu9 v3 cteq N=100000 rep4 freq_kHz=3896191 uptime: 16:55:42 up 5 days 22:36, 6 users, load average: 21.91, 23.22, 24.08 +rc=0 freq_after_kHz=3900000 +2026-10-26T21:55:45Z cpu17 v3 cteq N=100000 rep5 freq_kHz=3876996 uptime: 16:55:45 up 5 days 22:36, 6 users, load average: 21.84, 23.18, 24.06 +rc=0 freq_after_kHz=3896419 +2026-10-26T21:55:49Z cpu9 v3 cteq N=100000 rep5 freq_kHz=3880957 uptime: 16:55:49 up 5 days 22:36, 6 users, load average: 21.84, 23.18, 24.06 +rc=0 freq_after_kHz=3896191 +2026-10-26T21:55:53Z cpu17 v3 cteq N=100000 rep6 freq_kHz=3896419 uptime: 16:55:53 up 5 days 22:36, 6 users, load average: 21.69, 23.13, 24.04 +rc=0 freq_after_kHz=3896419 +2026-10-26T21:55:57Z cpu9 v3 cteq N=100000 rep6 freq_kHz=3896191 uptime: 16:55:57 up 5 days 22:36, 6 users, load average: 21.39, 23.04, 24.00 +rc=0 freq_after_kHz=3900000 diff --git a/evidence/om-tls-review-2026-10-26/timing-v3/cteq2/sums.json b/evidence/om-tls-review-2026-10-26/timing-v3/cteq2/sums.json new file mode 100644 index 000000000..4321dbbf8 --- /dev/null +++ b/evidence/om-tls-review-2026-10-26/timing-v3/cteq2/sums.json @@ -0,0 +1,2150 @@ +{ + "cpu17-v3-r1": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 4260, + 155626589, + 5685361222797 + ], + [ + 4332, + 158255905, + 5781379327809 + ] + ], + "d19": [ + [ + 37660, + 1408335738, + 52683258188378 + ], + [ + 38646, + 1445439677, + 54079759638269 + ] + ], + "d29": [ + [ + 43861, + 1644341950, + 61665510248510 + ], + [ + 43904, + 1645554077, + 61695922115261 + ] + ], + "d39": [ + [ + 46856, + 1759346561, + 66081634336017 + ], + [ + 46901, + 1760619673, + 66113781347769 + ] + ], + "d49": [ + [ + 48450, + 1821541382, + 68508450543238 + ], + [ + 48566, + 1825589550, + 68649062740782 + ] + ], + "d59": [ + [ + 49175, + 1850143013, + 69636825930357 + ], + [ + 49264, + 1853134943, + 69736119735871 + ] + ], + "d69": [ + [ + 49604, + 2622009853, + 2364127736573907 + ], + [ + 49617, + 2507566177, + 2023096945123389 + ] + ], + "d79": [ + [ + 49807, + 3239164737, + 4240384643808237 + ], + [ + 49805, + 3079118512, + 3760714353418906 + ] + ], + "d89": [ + [ + 49913, + 3561469567, + 5220388450770427 + ], + [ + 49896, + 3355814124, + 4602038109086716 + ] + ], + "d9": [ + [ + 25011, + 927735920, + 34422820698832 + ], + [ + 25921, + 961976432, + 35711445571232 + ] + ], + "d99": [ + [ + 49954, + 3686146915, + 5599521160921313 + ], + [ + 49949, + 3516982491, + 5092137024978547 + ] + ], + "full": [ + [ + 50000, + 3832323415, + 6072713360553127 + ], + [ + 50000, + 3675018924, + 5584166610992240 + ] + ], + "p90": [ + [ + 44978, + 1687018679, + 63296049989095 + ], + [ + 45051, + 1689374550, + 63370066307334 + ] + ] + }, + "thr": { + "d0": 36544, + "d19": 38032, + "d29": 38097, + "d39": 38561, + "d49": 39232, + "d59": 39888, + "d69": 3039822, + "d79": 3040461, + "d89": 3040781, + "d9": 37952, + "d99": 3041085, + "p90": 38384 + } + }, + "cpu17-v3-r2": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5858, + 213927295, + 7812374931727 + ], + [ + 5916, + 216045856, + 7889759418352 + ] + ], + "d19": [ + [ + 37577, + 1374742805, + 50295627574421 + ], + [ + 37592, + 1375359047, + 50320724428935 + ] + ], + "d29": [ + [ + 43832, + 1612531760, + 59335460098160 + ], + [ + 43864, + 1613788595, + 59384696769811 + ] + ], + "d39": [ + [ + 47073, + 1736346640, + 64065520859120 + ], + [ + 47054, + 1735655236, + 64040333290180 + ] + ], + "d49": [ + [ + 48446, + 1788924781, + 66078972563325 + ], + [ + 48481, + 1790300480, + 66132913273824 + ] + ], + "d59": [ + [ + 49194, + 1817945524, + 67204981436500 + ], + [ + 49250, + 1820140604, + 67290901847340 + ] + ], + "d69": [ + [ + 49589, + 2518399076, + 2140242075064458 + ], + [ + 49630, + 2483309736, + 2027160325726358 + ] + ], + "d79": [ + [ + 49791, + 3132332393, + 4006153554119397 + ], + [ + 49819, + 3057734224, + 3772998914686064 + ] + ], + "d89": [ + [ + 49888, + 3427202481, + 4902528493439335 + ], + [ + 49919, + 3361725494, + 4697105840454314 + ] + ], + "d9": [ + [ + 26927, + 984004056, + 35958858473352 + ], + [ + 26972, + 985644921, + 36018690126329 + ] + ], + "d99": [ + [ + 49943, + 3594431070, + 5410990330899964 + ], + [ + 49961, + 3489426419, + 5085380275684813 + ] + ], + "full": [ + [ + 50000, + 3771661721, + 5965036791899151 + ], + [ + 50000, + 3614116083, + 5497324523698031 + ] + ], + "p90": [ + [ + 45360, + 1670883975, + 61563850868647 + ], + [ + 45358, + 1670842467, + 61563508287027 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 37792, + "d29": 38176, + "d39": 38225, + "d49": 38448, + "d59": 39504, + "d69": 3039022, + "d79": 3039598, + "d89": 3040253, + "d9": 36561, + "d99": 3040813, + "p90": 38193 + } + }, + "cpu17-v3-r3": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5379, + 196435563, + 7173625986955 + ], + [ + 5294, + 193330534, + 7060200046374 + ] + ], + "d19": [ + [ + 37743, + 1384866208, + 50819013394224 + ], + [ + 37520, + 1376647652, + 50516059559572 + ] + ], + "d29": [ + [ + 44163, + 1628640662, + 60075406952358 + ], + [ + 43397, + 1599865593, + 58994250337097 + ] + ], + "d39": [ + [ + 46938, + 1738875235, + 64472260123731 + ], + [ + 46817, + 1734591489, + 64319270122657 + ] + ], + "d49": [ + [ + 48445, + 1809612338, + 67800244893154 + ], + [ + 48435, + 1810347473, + 67873754834321 + ] + ], + "d59": [ + [ + 49343, + 1858233704, + 70433569652184 + ], + [ + 49096, + 1846224783, + 69821587124543 + ] + ], + "d69": [ + [ + 49600, + 2534790766, + 2056359266361274 + ], + [ + 49620, + 2574435420, + 2163568779242100 + ] + ], + "d79": [ + [ + 49802, + 3148881798, + 3923229584299910 + ], + [ + 49808, + 3145978002, + 3901126915245790 + ] + ], + "d89": [ + [ + 49896, + 3434856593, + 4793246527917067 + ], + [ + 49909, + 3453249107, + 4835934284941867 + ] + ], + "d9": [ + [ + 26098, + 953777092, + 34856731311524 + ], + [ + 26077, + 953013113, + 34828938481433 + ] + ], + "d99": [ + [ + 49949, + 3596491369, + 5286186660507413 + ], + [ + 49955, + 3593578488, + 5264029141008894 + ] + ], + "full": [ + [ + 50000, + 3774594892, + 5923857310796560 + ], + [ + 50000, + 3803273142, + 7989247475364890 + ] + ], + "p90": [ + [ + 45298, + 1672005454, + 61732244230206 + ], + [ + 44713, + 1650084891, + 60910654807387 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 37904, + "d29": 38080, + "d39": 45280, + "d49": 52320, + "d59": 55600, + "d69": 3039294, + "d79": 3040974, + "d89": 3044718, + "d9": 36576, + "d99": 3056574, + "p90": 38385 + } + }, + "cpu17-v3-r4": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 3598, + 131392456, + 4798215508472 + ], + [ + 3482, + 127157863, + 4643631186503 + ] + ], + "d19": [ + [ + 37682, + 1394791659, + 51647172845435 + ], + [ + 37724, + 1396485175, + 51715274882055 + ] + ], + "d29": [ + [ + 43789, + 1629831403, + 60693136886891 + ], + [ + 43765, + 1628982647, + 60663312560711 + ] + ], + "d39": [ + [ + 47251, + 1763252153, + 65834990759769 + ], + [ + 47221, + 1762172550, + 65796284726710 + ] + ], + "d49": [ + [ + 48450, + 1809546055, + 67622423609959 + ], + [ + 48439, + 1809199816, + 67612024151192 + ] + ], + "d59": [ + [ + 49231, + 1840301977, + 68833699348713 + ], + [ + 49210, + 1839561405, + 68807744997725 + ] + ], + "d69": [ + [ + 49624, + 2498874365, + 1969552144382893 + ], + [ + 49602, + 2516346814, + 2029962409963078 + ] + ], + "d79": [ + [ + 49824, + 3106943802, + 3818294358366348 + ], + [ + 49788, + 3081848878, + 3749277393510058 + ] + ], + "d89": [ + [ + 49912, + 3374553906, + 4632103085928084 + ], + [ + 49895, + 3407236447, + 4738782723592147 + ] + ], + "d9": [ + [ + 25010, + 914329965, + 33426620123661 + ], + [ + 25087, + 917157288, + 33530432894408 + ] + ], + "d99": [ + [ + 49957, + 3511452349, + 5048573860498703 + ], + [ + 49946, + 3562386979, + 5210776627197693 + ] + ], + "full": [ + [ + 50000, + 3647442358, + 5482385073528462 + ], + [ + 50000, + 3730058258, + 5733586081652480 + ] + ], + "p90": [ + [ + 45526, + 1696755172, + 63271600247780 + ], + [ + 45464, + 1694442357, + 63185368849093 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 38432, + "d29": 38513, + "d39": 38560, + "d49": 38817, + "d59": 40016, + "d69": 3039773, + "d79": 3040765, + "d89": 3041373, + "d9": 36625, + "d99": 3043630, + "p90": 38529 + } + }, + "cpu17-v3-r5": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5447, + 198918855, + 7264313354727 + ], + [ + 5449, + 198990979, + 7266913901267 + ] + ], + "d19": [ + [ + 37506, + 1371551332, + 50156251980372 + ], + [ + 37501, + 1371355426, + 50148610140594 + ] + ], + "d29": [ + [ + 43782, + 1612539278, + 59410572057534 + ], + [ + 43824, + 1614067023, + 59466063925519 + ] + ], + "d39": [ + [ + 47494, + 1756076526, + 64960933994974 + ], + [ + 47547, + 1758029329, + 65032850783841 + ] + ], + "d49": [ + [ + 48551, + 1796980941, + 66543877447229 + ], + [ + 48599, + 1798740621, + 66608334962669 + ] + ], + "d59": [ + [ + 49217, + 1822773593, + 67542767760201 + ], + [ + 49243, + 1823681849, + 67574274260153 + ] + ], + "d69": [ + [ + 49600, + 1837728928, + 68126771608736 + ], + [ + 49621, + 1838435256, + 68150130053096 + ] + ], + "d79": [ + [ + 49800, + 1845711614, + 68445390036686 + ], + [ + 49811, + 1846018410, + 68452785751146 + ] + ], + "d89": [ + [ + 49896, + 1849569262, + 68600405476334 + ], + [ + 49910, + 1849996030, + 68612598908622 + ] + ], + "d9": [ + [ + 25524, + 932739228, + 34085670099180 + ], + [ + 25552, + 933761227, + 34122973091627 + ] + ], + "d99": [ + [ + 49942, + 1851428337, + 68675539583041 + ], + [ + 49962, + 1852097437, + 68697520485245 + ] + ], + "full": [ + [ + 50000, + 1854354992, + 68925080252904 + ], + [ + 50000, + 1853829592, + 68782064062024 + ] + ], + "p90": [ + [ + 45381, + 1674350800, + 61799980595712 + ], + [ + 45424, + 1675917218, + 61856968064354 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 37296, + "d29": 38641, + "d39": 38688, + "d49": 38705, + "d59": 38753, + "d69": 39728, + "d79": 40080, + "d89": 40304, + "d9": 36561, + "d99": 40529, + "p90": 38657 + } + }, + "cpu17-v3-r6": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 3438, + 125513476, + 4582208715412 + ], + [ + 3526, + 128726632, + 4699531113512 + ] + ], + "d19": [ + [ + 38597, + 1410630379, + 51555266582027 + ], + [ + 38789, + 1417634579, + 51810780373619 + ] + ], + "d29": [ + [ + 44047, + 1610094573, + 58855443928109 + ], + [ + 44051, + 1610218226, + 58859138947218 + ] + ], + "d39": [ + [ + 46937, + 1715979393, + 62734889498081 + ], + [ + 46860, + 1713133600, + 62629725060512 + ] + ], + "d49": [ + [ + 48450, + 1772331429, + 64833880924773 + ], + [ + 48427, + 1771479566, + 64802342226366 + ] + ], + "d59": [ + [ + 49238, + 1802156835, + 65962760616771 + ], + [ + 49245, + 1802441155, + 65974252707491 + ] + ], + "d69": [ + [ + 49606, + 1816159968, + 66495608668336 + ], + [ + 49626, + 1816939062, + 66525931741334 + ] + ], + "d79": [ + [ + 49795, + 1823385443, + 66771839208531 + ], + [ + 49831, + 1824776416, + 66825562093312 + ] + ], + "d89": [ + [ + 49894, + 1827185087, + 66917670658751 + ], + [ + 49912, + 1827886055, + 66944943179783 + ] + ], + "d9": [ + [ + 29237, + 1068335419, + 39037548134747 + ], + [ + 29646, + 1083276337, + 39583345307089 + ] + ], + "d99": [ + [ + 49949, + 1829306677, + 66999509927605 + ], + [ + 49955, + 1829544926, + 67008939987806 + ] + ], + "full": [ + [ + 50000, + 1832441873, + 67780975185833 + ], + [ + 50000, + 1836751620, + 83213467584600 + ] + ], + "p90": [ + [ + 45442, + 1661185574, + 60726619830358 + ], + [ + 45426, + 1660576712, + 60703485938232 + ] + ] + }, + "thr": { + "d0": 36513, + "d19": 36577, + "d29": 36609, + "d39": 36704, + "d49": 37744, + "d59": 37968, + "d69": 38145, + "d79": 38320, + "d89": 38465, + "d9": 36560, + "d99": 38721, + "p90": 36625 + } + }, + "cpu9-v3-r1": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 5647, + 206223190, + 7531079890726 + ], + [ + 5505, + 201038334, + 7341764859214 + ] + ], + "d19": [ + [ + 38992, + 1425341708, + 52102988074460 + ], + [ + 38796, + 1418178628, + 51841203469492 + ] + ], + "d29": [ + [ + 43916, + 1605573345, + 58699950768961 + ], + [ + 43712, + 1598117315, + 58427438704419 + ] + ], + "d39": [ + [ + 46895, + 1714725838, + 62699370235326 + ], + [ + 46876, + 1714051260, + 62675442498780 + ] + ], + "d49": [ + [ + 48427, + 1771818589, + 64827224956925 + ], + [ + 48476, + 1773670685, + 64897192412221 + ] + ], + "d59": [ + [ + 49224, + 1802104950, + 65978125730310 + ], + [ + 49222, + 1802013679, + 65974041195215 + ] + ], + "d69": [ + [ + 49632, + 1817721527, + 66575867030327 + ], + [ + 49599, + 1816442997, + 66526311823445 + ] + ], + "d79": [ + [ + 49811, + 1824616650, + 66841469607274 + ], + [ + 49808, + 1824494630, + 66836498313606 + ] + ], + "d89": [ + [ + 49899, + 1828025545, + 66973521856329 + ], + [ + 49908, + 1828368555, + 66986571702987 + ] + ], + "d9": [ + [ + 28171, + 1029495535, + 37622422610143 + ], + [ + 28027, + 1024236383, + 37430348379935 + ] + ], + "d99": [ + [ + 49949, + 1829973682, + 67049426884898 + ], + [ + 49954, + 1830160958, + 67056413417822 + ] + ], + "full": [ + [ + 50000, + 1833632391, + 68166261926609 + ], + [ + 50000, + 1833400551, + 68416125827411 + ] + ], + "p90": [ + [ + 45379, + 1659154794, + 60662337424762 + ], + [ + 45166, + 1651369123, + 60377751672611 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 36592, + "d29": 36609, + "d39": 36705, + "d49": 37856, + "d59": 38145, + "d69": 38416, + "d79": 38640, + "d89": 38864, + "d9": 36561, + "d99": 39136, + "p90": 36625 + } + }, + "cpu9-v3-r2": { + "bad": 0, + "n": [ + 50000, + 50000 + ], + "tests": { + "d0": [ + [ + 6371, + 232662450, + 8496597238754 + ], + [ + 6193, + 226161825, + 8259192025633 + ] + ], + "d19": [ + [ + 40284, + 1472515964, + 53825440348956 + ], + [ + 40067, + 1464590063, + 53535947812895 + ] + ], + "d29": [ + [ + 44498, + 1626757784, + 59471035992888 + ], + [ + 44325, + 1620442753, + 59240518503969 + ] + ], + "d39": [ + [ + 46921, + 1715534467, + 62723739679459 + ], + [ + 46873, + 1713799237, + 62661018847701 + ] + ], + "d49": [ + [ + 48476, + 1773315810, + 64871027085570 + ], + [ + 48421, + 1771348759, + 64800739809335 + ] + ], + "d59": [ + [ + 49258, + 1803010956, + 65998655889324 + ], + [ + 49198, + 1800851939, + 65920999232275 + ] + ], + "d69": [ + [ + 49628, + 1817153195, + 66539205927179 + ], + [ + 49614, + 1816753669, + 66528849817925 + ] + ], + "d79": [ + [ + 49801, + 1823806179, + 66795057493491 + ], + [ + 49816, + 1824520053, + 66827448286037 + ] + ], + "d89": [ + [ + 49908, + 1827944748, + 66955130424060 + ], + [ + 49899, + 1827729892, + 66951581858356 + ] + ], + "d9": [ + [ + 26123, + 954570682, + 34881344700122 + ], + [ + 25770, + 941669367, + 34409831991351 + ] + ], + "d99": [ + [ + 49954, + 1829736204, + 67024898547244 + ], + [ + 49949, + 1829679067, + 67027568137419 + ] + ], + "full": [ + [ + 50000, + 1831773121, + 67119399395713 + ], + [ + 50000, + 1832141635, + 67216778104521 + ] + ], + "p90": [ + [ + 45238, + 1653859544, + 60463610851128 + ], + [ + 45087, + 1648350241, + 60262602344481 + ] + ] + }, + "thr": { + "d0": 36528, + "d19": 36592, + "d29": 36609, + "d39": 36673, + "d49": 37825, + "d59": 38113, + "d69": 38352, + "d79": 38576, + "d89": 38801, + "d9": 36560, + "d99": 39169,