code wiki / _hdl_build / nx_ed25519_extvec_gate.nx

nx_ed25519_extvec_gate.nx

buildroot/runtime/_hdl_build/nx_ed25519_extvec_gate.nx

8927 B201 linesdepth 9pulls 14 transitivereach 0 importersview sourcekind gate/prooftopic ed25519
docsdependenciesstructsconstsfunctions

about

nx_ed25519_extvec_gate.nx -- SECOND provably third-party-validated claim: Ed25519 vs RFC 8032 7.1. Same construction as nx_x25519_extvec_gate, applied to a different authority to prove the pattern GENERALISES rather than being a one-off: 1 no expected value appears in this source -- the public key, message and signature are read at run time out of knowledge/extvec/rfc8032.txt; 2 that file is PINNED to the sha256 nx_vecfetch computed IN-PROCESS at the socket, before the bytes touched disk (e3705131.., independently confirmed by GNU coreutils sha256sum); 3 only then does ed25519_verify_full() run against the document's own signature. ★The pin is the security property. Parsing from a file is necessary but not sufficient -- an edited file would let us grade ourselves against answers of our own choosing. Pinning to an ACQUISITION-time digest is what makes it evidence. SCOPE STATED HONESTLY: this proves our Ed25519 VERIFIER accepts the IETF's own signature over the IETF's own message under the IETF's own public key. It does NOT prove our SIGNER produces those bytes -- that is a separate claim needing the secret-key vector, and it is deliberately not asserted here. license_tier: ORIGINAL expect_exit: 0

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_sha256_wasm.nx nx_ed25519_signature.nx nx_gate_verdict.nx nx_ed25519_extvec_gate.nx

imports: nx_syscalls.nxnx_sha256_wasm.nxnx_ed25519_signature.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 w sys_write 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 ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close nx_sha256_one_shot _h_set _sha256_compress _blk_word_be _rotr32 _h_get _sha256_k _h_set ↻ _h_get ↻ hexnib wb sys_write ↻ findfrom starts parsehex

structs

none

consts

none

functions

23func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: nnmain calls 1: sys_write
24func wb(b: *u8, n: i64) -> i64 { sys_write(1, b, n); return 0 }
called by 1: main calls 1: sys_write
26func nn(v: i64) -> i64
40func hexnib(v: i64) -> i64 { if v < 10 { return 48 + v } return 87 + v }
called by 1: main
42func hexval(c: i64) -> i64
called by 1: parsehex
49func starts(b: *u8, n: i64, at: i64, s: *u8) -> i64
called by 1: findfrom
59func findfrom(b: *u8, n: i64, s: *u8, from: i64) -> i64
called by 1: main calls 1: starts
71func parsehex(b: *u8, n: i64, from: i64, out: *u8, want: i64) -> i64
called by 1: main calls 1: hexval
108func main() -> i64