code wiki / _hdl_build / nx_gen_gateway_daemon.nx

nx_gen_gateway_daemon.nx

buildroot/runtime/_hdl_build/nx_gen_gateway_daemon.nx

5226 B96 linesdepth 17pulls 56 transitivereach 0 importersview sourcekind servicetopic gen
docsdependenciesstructsconstsfunctions

about

nx_gen_gateway_daemon.nx -- the deployable OPAQUE /gen gateway: argv config + auth-context setup + accept-fork loop over gw_serve_conn (nx_gen_gateway lib). Shares the family realm (nishi_site_admin) keys+store = SSO with the existing nishifamily login; reverse-proxies authenticated /gen/* to the gen orchestrator backend. argv: [1]=listen_port [2]=keys [3]=store [4]=budget [5]=backend_port [6]=allow_register(PROD=0) [7]=m_cost [8]=t [9]=p [10]=session_ttl license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_gen_gateway.nx nx_opaque_login.nx nx_hr_admin.nx nx_syscalls.nx nx_gen_gateway_daemon.nx

imports: nx_gen_gateway.nxnx_opaque_login.nxnx_hr_admin.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_write sys_exit gw_atoi sys_mmap olg_ctx_setup_ttl nx_uas_server_keys_load_or sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close _uas_hex_dec _uas_nib nx_csprng_fill sys_mmap ↻ nx_csprng_urandom_path sys_openat_rd ↻ sys_read ↻ sys_close ↻ nx_opq_derive_keypair sys_mmap ↻ _voprf_load_context_string u256_alloc nx_scratch nx_scratch_init nx_scratch_oom sys_mmap ↻ nx_opq_hash_to_scalar sys_mmap ↻ nx_h2c_expand_message_xmd_ sys_mmap ↻ _h2c_i2osp_1 _h2c_i2osp_2 u256_alloc ↻ _opq_reduce_48be_mod_n u256_alloc ↻ sys_mmap ↻

structs

none

consts

none

functions

13func main(argc: i64, argv: *i64) -> i64