code wiki / (root) / nx_entropy.nx

nx_entropy.nx

buildroot/runtime/nx_entropy.nx

1853 B42 linesdepth 0pulls 0 transitivereach 18 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_entropy.nx -- the team's CSPRNG organ (security ladder rung: random IV/salt + secret rotation both REQUIRE real randomness; the vault's path-derived IV was a flagged debt and becomes an AES-GCM nonce-reuse BREAK the moment a path is re-sealed with a new value). Source = the kernel CSPRNG via getrandom(2), x86_64 syscall 318 called DIRECT (the frozen kg syscall table lacks a row; runtime-computed numbers are the blessed escape hatch). Fails CLOSED: callers must treat a nonzero return as fatal -- never fall back to weak bits. license_tier: ORIGINAL

dependencies 0 imports · 3 importers

nx_entropy.nx nx_entropy_gate.nx nx_mse_wire.nx nx_pw_rotate.nx

imports: none

imported by: nx_entropy_gate.nxnx_mse_wire.nxnx_pw_rotate.nx

structs

none

consts

none

functions

10func ent_fill(buf: *u8, n: i64) -> i64
28func ent_pw(buf: *u8, len: i64) -> i64
called by 2: mainmain calls 1: ent_fill