code wiki / _hdl_build / nx_library_gate_test.nx
nx_library_gate_test.nx
buildroot/runtime/_hdl_build/nx_library_gate_test.nx
about
nx_library_gate_test.nx -- prove the /library login-gate: a request WITH a valid OPAQUE session
header serves the library (200); WITHOUT (or forged) -> 302 /wiki/login. The security property the
operator required ("behind a login") proven before any live deploy. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_library_gate_handle.nxnx_ed25519_signature.nxnx_no_cookie_session.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 18 | const GT_NOW: i64 = 1000000 |
functions
| 9 | func gt_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 10 | func gt_hex(dst: *u8, off: i64, tok: *u8, n: i64) -> i64 called by 1: main |
| 16 | func gt_app(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){dst[off+i]=s[i];i=i+1} var n: i64=0; while s[n]!=(0 as u8){n=n+1} return off+n } called by 1: main |
| 20 | func main() -> i64 |