code wiki / _hdl_build / nx_e2e_gate.nx
nx_e2e_gate.nx
buildroot/runtime/_hdl_build/nx_e2e_gate.nx
about
nx_e2e_gate.nx -- proves the sovereign E2E session (nx_e2e): private calls the relay can't read. Native, no node.
1) ECDH agreement: Alice and Bob independently derive the SAME session key (the E2E core)
2) seal/open round-trip: Bob decrypts Alice's sealed message exactly
3) RELAY/EAVESDROPPER CAN'T READ (neg): a party without the shared key (the daemon, or Eve) fails to open
4) on-the-wire is ciphertext, not plaintext
5) tamper detection (neg): flipping one ciphertext byte -> open rejects (Poly1305)
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_e2e.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
| none |
functions
| 12 | func beq(a: *u8, b: *u8, n: i64) -> i64 { var i: i64=0; while i<n { if a[i]!=b[i] { return 0 } i=i+1 } return 1 } called by 1: main |
| 14 | func main() -> i64 |