nx_mlkem_kat_gate.nx
buildroot/runtime/nx_mlkem_kat_gate.nx
about
nx_mlkem_kat_gate.nx -- FIPS-203 INTEROP KAT for the real ML-KEM-768 (nx_ml_kem_768_wasm.nx).
Unlike the round-trip gate (self-consistency only), this proves the impl matches the NIST ACVP
FIPS-203 ML-KEM-768 keyGen vector BYTE-EXACT: KeyGen(d||z) -> ek must equal NIST's expected ek.
Vector = NIST usnistgov/ACVP-Server ML-KEM-keyGen-FIPS203 tgId 2 (ML-KEM-768) tcId 26, fetched
sovereignly via nx_https_get_cli. This is F-sec-04.0 -- the interop gate that must pass before PQ
is wired into TLS. RED if the impl diverges from the standard (never a false-green). license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_ml_kem_768_wasm.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
| 10 | func kw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 11 | func kn(v: i64) -> i64 |
| 20 | func hexnib(c: u8) -> i64 called by 1: hexdec |
| 27 | func hexdec(hex: *u8, out: *u8, nbytes: i64) -> i64 |
| 33 | func main() -> i64 |