code wiki / (root) / nx_sign_envelope_gate.nx

nx_sign_envelope_gate.nx

buildroot/runtime/nx_sign_envelope_gate.nx

5874 B131 linesdepth 7pulls 14 transitivereach 0 importersview sourcekind gate/prooftopic sign
docsdependenciesstructsconstsfunctions

about

nx_sign_envelope_gate.nx -- INDEPENDENT gate for the Nishi Sign core lib (imports the SAME shipped code the organ runs -- validation edge in the atlas, not a copy). Stronger than the organ's self-test: tamper at EVERY chain position, truncation-tamper, cross-envelope separation, persist round-trip. SELF-PUBLISHES its receipt to knowledge/status/office_sign_gate.log (the ecomat live-derive evidence pointer; needle "VERDICT=") -- evidence generated by the gate itself on the hub, never hand-asserted. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_sign_envelope_lib.nx nx_gate_verdict.nx nx_sign_envelope_gate.nx

imports: nx_sign_envelope_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main se_event_encode se_catn nxi_buf canon_encode sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ cc_cmp cc_w32 cc_len sys_munmap se_genesis sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_seed_allocated sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_compress_ni blk_word blk_byte sha256_final blk_set_byte ↻

structs

none

consts

none

functions

13func sg_head3(g: *u8, e0: *u8, l0: i64, e1: *u8, l1: i64, e2: *u8, l2: i64, out: *u8) -> i64
called by 1: main calls 1: se_chain
22func main() -> i64