code wiki / _hdl_build / nx_ed25519_extvec_gate.nx
nx_ed25519_extvec_gate.nx
buildroot/runtime/_hdl_build/nx_ed25519_extvec_gate.nx
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
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
structs
| none |
consts
| none |
functions
| 23 | func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 24 | func wb(b: *u8, n: i64) -> i64 { sys_write(1, b, n); return 0 } |
| 26 | func nn(v: i64) -> i64 |
| 40 | func hexnib(v: i64) -> i64 { if v < 10 { return 48 + v } return 87 + v } called by 1: main |
| 42 | func hexval(c: i64) -> i64 called by 1: parsehex |
| 49 | func starts(b: *u8, n: i64, at: i64, s: *u8) -> i64 called by 1: findfrom |
| 59 | func findfrom(b: *u8, n: i64, s: *u8, from: i64) -> i64 |
| 71 | func parsehex(b: *u8, n: i64, from: i64, out: *u8, want: i64) -> i64 |
| 108 | func main() -> i64 |