code wiki / (root) / nx_sign_envelope_gate.nx

nx_sign_envelope_gate.nx

buildroot/runtime/nx_sign_envelope_gate.nx

5210 B123 linesdepth 7pulls 12 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 1 imports · 0 importers

nx_sign_envelope_lib.nx nx_sign_envelope_gate.nx

imports: nx_sign_envelope_lib.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 canon_encode sys_mmap cc_cmp cc_w32 cc_len sys_munmap se_genesis sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ 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 ↻ sha256_compress ↻ sg_head3 se_chain sha256_digest ↻ se_eq32 se_chain ↻ se_hex canon_encode ↻ reg_put reg_put_x sts_lock sts_mm sys_mmap ↻ sts_werr sys_write sys_exit

structs

none

consts

none

functions

12func 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
21func main() -> i64