code wiki / (root) / nx_ch_census_race_stage.nx

nx_ch_census_race_stage.nx

buildroot/runtime/nx_ch_census_race_stage.nx

3690 B87 linesdepth 11pulls 26 transitivereach 0 importersview sourcekind tooltopic ch
docsdependenciesstructsconstsfunctions

about

nx_ch_census_race_stage.nx -- NEUTRAL input stager for the CH-census autonomy race (operator: "have the team do an assignment and you do it and see where they can grow to match or exceed you"). Emits the browser's REAL ClientHello (nx_tls13_client_session_emit_ch, deterministic), locates the extension block, and stages THREE race inputs both lanes consume identically: /tmp/race_block.bin the real extension block (the assignment's live data) /tmp/race_trunc.bin the same block cut 3 bytes short (mid-entry truncation) /tmp/race_empty.bin zero bytes (empty extension list) This stager is RACE INFRASTRUCTURE, not a lane: both lanes get byte-identical inputs, so neither lane's author touches the other's data path. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_csprng.nx nx_tls13_client_session.nx nx_ch_census_race_stage.nx

imports: nx_syscalls.nxnx_csprng.nxnx_tls13_client_session.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nx_csprng_fill sys_mmap ↻ nx_csprng_urandom_path sys_openat_rd sys_read sys_close nx_tls13_client_session_ne sys_mmap ↻ x25519_keypair_public sys_mmap ↻ x25519_base_point x25519 nx_scratch_save nx_scratch_init sys_mmap ↻ nx_scratch nx_scratch_init ↻ nx_scratch_oom sys_write sys_exit sys_mmap ↻ fe_alloc nx_scratch ↻ fe_from_bytes fe_one fe_zero fe_zero ↻ fe_copy x25519_ladder_step fe_cswap nx_scratch_save ↻ fe_alloc ↻ fe_add fe_sq fe_mul fe_sub fe_mul ↻ fe_mul_a24

structs

none

consts

14const K_MAGIC_1024: i64 = 1024

functions

16func st_dec(label0: i64, label1: i64, v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
42func st_write_file(path: *u8, b: *u8, n: i64) -> i64
50func main() -> i64