nx_fec_xor_test.nx
buildroot/runtime/nx_fec_xor_test.nx
about
nx_fec_xor_test.nx -- 1:1 KAT for sovereign XOR FEC (nx_fec_xor.nx).
Encode a known LxD grid, then prove: row parity recovers random loss,
2-D peeling recovers a burst row-only can't, an over-budget loss is
HONESTLY unrecoverable (reported, never corrupted), and redundancy is
sized adaptively from the loss estimate.
expect_exit: 0
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_fec_xor.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
| 12 | const KL: i64 = 4 // columns |
| 13 | const KD: i64 = 3 // rows |
| 14 | const KS: i64 = 4 // bytes/packet |
functions
| 17 | func main() -> i64 |
| 74 | func fec_reset(golden: *u8, src: *u8, present: *i64, K: i64, S: i64) -> i64 called by 1: main |
| 81 | func fec_drop(src: *u8, present: *i64, idx: i64, S: i64) -> i64 |
| 86 | func fec_cmp(a: *u8, b: *u8, n: i64) -> i64 called by 1: main |